Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set decimals in dfx-token-deploy (#286)
# Motivation cketh needs 18 decimals # Change 1. Update `dfx-token-deploy` to take `--decimals`, defaults to 8. 2. Pass `--decimals 18` to create cketh in stock deploy. # Tested Manually created a snapshot and ran ``` $ dfx canister call cketh_ledger icrc1_metadata ( vec { record { "icrc1:decimals"; variant { 3_900_609 = 18 : nat } }; record { "icrc1:name"; variant { 936_573_133 = "ckETH" } }; record { "icrc1:symbol"; variant { 936_573_133 = "ckETH" } }; record { "icrc1:fee"; variant { 3_900_609 = 10 : nat } }; record { "icrc1:max_memo_length"; variant { 3_900_609 = 64 : nat } }; }, ) ```
- Loading branch information