Wallet commands

To check all available commands

ironfish wallet --help
Restart the animation
ironfish wallet List all the accounts on the node USAGE $ ironfish wallet:COMMAND COMMANDS wallet:accounts List all the accounts on the node wallet:address Display your account address wallet:balance Display the account balance wallet:balances Display the account's balances for all assets wallet:burn Burn tokens and decrease supply for a given asset wallet:create Create a new account for sending and receiving coins wallet:export Export an account wallet:import Import an account wallet:mint Mint tokens and increase supply for a given asset wallet:notes Display the account notes wallet:remove Permanently remove an account wallet:repair Repairs wallet database stores wallet:rescan Rescan the blockchain for transaction wallet:send Send coins to another account wallet:status Get status of an account wallet:transaction Display an account transaction wallet:transactions Display the account transactions wallet:use Change the default account used by all commands wallet:which Show the account currently used.

Account creation

To create a new account

ironfish wallet:create
Restart the animation
ironfish wallet:createMyNewAccount Creating account MyNewAccount Account MyNewAccount created with public address 6a085865ac5608c8ec64189db54d4b5c085da9da12dad0a0bf00f60e52c16b0303d8a8dd7d82601f577c8d Run "ironfish wallet:use MyNewAccount" to set the account as default

Default account

To change the default account used by the CLI

ironfish wallet:use MyAccount
Restart the animation
ironfish wallet:use MyAccount The default account is now: MyAccount

Import an Account

To import an account from a file:

ironfish wallet:import filename

To import an account via stdin:

echo {<account json>} | ironfish wallet:import

Enter the JSON of the account and press enter

To import an account interactively:

ironfish wallet:import
Restart the animation
ironfish wallet:importwallet9cfaf518a343aa5cb6d7ee704f7b0b29fac85ff96912ea7302a3e2a4ae52cff5 Account wallet imported. Run "ironfish wallet:use wallet" to set the account as default

Enter the details requested by the prompts as shown above

Export an Account

To export an account to a file:

ironfish wallet:export AccountName filename

To export an account to the terminal:

ironfish wallet:export AccountName
Restart the animation
ironfish wallet:export wallet { "id": "1dbff3e8-be5f-4753-aabc-2f7404012d06", "name": "wallet", "spendingKey": "9cfaf518a343aa5cb6d7ee704f7b0b29fac85ff96912ea7302a3e2a4ae52cff5", "incomingViewKey": "0092734294658f53417ed104deb10ac333a799ca13d210bbad3d62e95247f306", "outgoingViewKey": "687ddc73cc224fad52379f52cd545c1a6b79af38d7cf18a02e1f527fd4740a1c", "publicAddress": "c1ab489154850983e68f2e4b74f658d7dd1cfe84cb18902cf6632680909b2379590b3b7287fc78b8e947c7", }

See current default account

To display the current default account used by the CLI

ironfish wallet:which
Restart the animation
ironfish wallet:which MyAccount

Accounts list

To see the list of accounts on your node

ironfish wallet:accounts
Restart the animation
ironfish wallet:accounts default MyAccount

Account address

To see a specific account public key

ironfish wallet:address
Restart the animation
ironfish wallet:address Account: default, public key: 30b62713dc3b1c823b3e18089a30540ca1eb551a85884bb3e6ddd90d9966888e9997b74a83324cba643fc3

Account balance

To display the balance of the account

ironfish wallet:balance
Restart the animation
ironfish wallet:balance Account: default Balance: $IRON 0.00000000

Account balances

To display the balance of all assests on the account

ironfish wallet:balances
Restart the animation
ironfish wallet:balances Account: default Asset Name Asset Id Confirmed Balance ────────── ──────────────────────────────────────────────────────────────── ───────────────── $IRON d7c86706f5817aa718cd1cfad03233bcd64a7789fd9422d3b17af6823a7e6ac6 24900000.00045900

Account notes

To display the notes of the account

ironfish wallet:notes
Restart the animation
ironfish wallet:notes default (8454944) - Account notes Spender Amount ($IRON) Memo From Transaction ─────── ────────────── ───── ──────────────────────────────────────────────────────────────── ✔ 0.1 wd021 00104ad284dd573cf3c2b3e72f5dfa0bd9a10f825aaf180853820e30e98062b5 x 15.69999963 00104ad284dd573cf3c2b3e72f5dfa0bd9a10f825aaf180853820e30e98062b5 ✔ 0.1 wd021 00d3558f24c83cfa82928060692c7839194d91f5a81d9c031e0238850f4afd1b x 8.3999989 00d3558f24c83cfa82928060692c7839194d91f5a81d9c031e0238850f4afd1b

Account deletion

To delete an account

ironfish wallet:remove MyAccount
Restart the animation
ironfish wallet:remove wallet Account 'wallet' successfully removed.

Mint a new asset

To mint a new asset

ironfish wallet:mint
Restart the animation
ironfish wallet:mintyMyNewAsset-100.00000001 You are about to mint Name: MyNewAsset 10.00000000 plus a transaction fee of $IRON 0.00000001 with the account MyNewAccount * This action is NOT reversible * YCreating the transaction: Minted asset MyNewAsset from MyNewAccount Asset Identifier: 9d10d3fe1b86a5 Value: 10.00000000 Transaction Hash: e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166 Find the transaction on https://explorer.ironfish.network/transaction/e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166

Burn a new asset

To burn a new asset

ironfish wallet:burn
Restart the animation
ironfish wallet:burnMyNewAsset100.00000001 You are about to burn: 9d10d3fe1b86a5 10.00000000 plus a transaction fee of $IRON 0.00000001 with the account MyNewAccount * This action is NOT reversible * YCreating the transaction: Burned asset 9d10d3fe1b86a5 from MyNewAccount Value: 10.00000000 Transaction Hash: e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166 Find the transaction on https://explorer.ironfish.network/transaction/e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166

Send a transaction

To send a transaction from the current account

ironfish wallet:send
Restart the animation
ironfish wallet:send200.00000001ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 You are about to send: $IRON 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from the account IronFishGenesisAccount * This action is NOT reversible * YCreating the transaction: Sending 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from MyNewAccount Transaction Hash: e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166 Transaction Fee: 0.00000001 Find the transaction on https://explorer.ironfish.network/transaction/ee32e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166

View transactions

To view transactions from the current account

ironfish wallet:transactions
Restart the animation
ironfish wallet:transactions default (8454944) - Account transactions Status Creator Hash Miner Fee Fee ($ORE) Notes Spends ───────── ─────── ─────────────────────────── ───────── ─────────── ───── ────── pending ✔ 02ad86094df3bd5a1e090b..... x 1 2 1 completed ✔ 04090cc860d4a71b4be50a..... x 1 2 1 completed x 04718dcc81bea11fdb4b38..... ✔ -2000000006 1 0

Rescan transactions

To reset your wallet and attempt to rebuild it from scratch

ironfish wallet:rescan
Restart the animation
ironfish wallet:rescan Rescanning Transactions... ⡿ Scanning Block: 3660, 41 seconds Rescanning Transactions... Scanning Complete

Wait for scanning to get completed