This page describes how to use it.
Creates a new account. If the default flag is given, it is used if user-address is omitted in commands that require it. A hex string with 0x-prefix of less than or equal to 32 bytes can be given as private key.
intmax account add [--default] [--private-key <private-key>]
Add default account (private key is selected randomly)
intmax account add --default
Add default account with private key
intmax account add --default --private-key 0x1234
You can check the account list.
intmax account list
You can change the account used as default.
intmax account set-default [user-address]
intmax account set-default 0x714bdc6f38947e6da5ee9596c50b2e06e4e01c8885f98cf29d9c2f656eb3b45d
You can export your private key to a specified file.
intmax account export -f <file-path>
intmax account export -f ~/Documents/my-account
You can issue amount of tokens determined by a token-id
with the same token address as your user address.
intmax deposit -i <token-id> --amount <amount>
Deposit your token (the token address is the same with your user address, the token id can be selected from 0x00 to 0xff and amount is an integer less than 2^56)
intmax deposit -i 0x00 --amount 10
The token determined by token-address
and token-id
is transferred to the receiver-address
in amount.
As in the case of issuing a token, if token-address
is omitted, it is treated as the same address as the receiver's own address.
intmax tx send --receiver-address <receiver-address> [-a <token-address>] -i <token-id> --amount <amount>
intmax tx send --receiver-address 0x714bdc6f38947e6da5ee9596c50b2e06e4e01c8885f98cf29d9c2f656eb3b45d -i 0x00 --amount 10
Displays all currently owned assets.
intmax assets
You can issue new token according to the contents of the file. Up to 16 tokens can be sent together. For more information, see Bulk-transfer File Format.
intmax tx bulk-mint -f <file-path>
intmax tx bulk-mint -f ./tests/airdrop/example2.csv
You can transfer owned tokens according to the contents of the file. Up to 8 tokens can be sent together. For more information, see Bulk-transfer File Format.
intmax tx bulk-transfer -f <file-path>
intmax tx bulk-transfer -f ./tests/airdrop/example3.csv