2026-02-03 12:52:19 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2026-02-03 14:04:05 +01:00
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
file1="tmp_file1.json"
|
|
|
|
|
file2="tmp_file2.json"
|
|
|
|
|
file3="tmp_file3.json"
|
|
|
|
|
|
|
|
|
|
dune exec offline -- download --output $file1
|
|
|
|
|
dune exec offline -- sign --input $file1 --output $file2
|
|
|
|
|
dune exec offline -- upload --input $file2 --url "/management/keys"
|
|
|
|
|
dune exec offline -- global-fees --output $file3 --start_date "0.0" --end_date "99999999.9" --history_fee "EUR:0.0" --account_fee "EUR:0.0" --purse_fee "EUR:0.0" --history_expiration "9999999.0" --purse_account_limit 1 --purse_timeout "9999999.0"
|
|
|
|
|
dune exec offline -- upload --input $file3 --url "/management/global-fees"
|
|
|
|
|
|
|
|
|
|
rm $file1
|
|
|
|
|
rm $file2
|
|
|
|
|
rm $file3
|