This commit is contained in:
swrup 2026-02-10 14:41:57 +01:00
parent 30d897d5ad
commit d0d6ea9da6
2 changed files with 13 additions and 21 deletions

View file

@ -6,13 +6,15 @@ a="tmp_a.json"
b="tmp_b.json"
auditor_pub=$(<"./test/auditor_public_key")
master_key="./default/master_offline_private_key"
zero_euro="EUR:0.0"
dune exec offline -- download --output $a
dune exec offline -- sign --input $a --output $b
dune exec offline -- sign --master_key $master_key --input $a --output $b
dune exec offline -- upload --input $b --url "/management/keys"
dune exec offline -- enable-auditor \
--master_key $master_key \
--output $b \
--auditor_url "auditor.example.com" \
--auditor_name "auditor example" \
@ -21,6 +23,7 @@ dune exec offline -- enable-auditor \
dune exec offline -- upload --input $b --url "/management/auditors"
dune exec offline -- wire-fee \
--master_key $master_key \
--output $b \
--wire_method "xxx" \
--fee_start 0 \
@ -30,6 +33,7 @@ dune exec offline -- wire-fee \
dune exec offline -- upload --input $b --url "/management/wire-fee"
dune exec offline -- global-fees \
--master_key $master_key \
--output $b \
--start_date 0 \
--end_date 99999999 \