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 TOPICS wallet:transaction Display an account transaction COMMANDS wallet:accounts List all the accounts on the node wallet:address Display your account address wallet:assets Display the wallet's assets 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:delete Permanently delete an account 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:post Post a raw transaction wallet:prune Removes expired transactions from the wallet wallet:repair Repair 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 --path filename

To import an account via stdin:

ironfish wallet:import {<exported account or spending key>}

To import an account interactively:

ironfish wallet:import
Restart the animation
ironfish wallet:import9cfaf518a343aa5cb6d7ee704f7b0b29fac85ff96912ea7302a3e2a4ae52cff5wallet 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 --path filename

To export an account to the terminal:

ironfish wallet:export AccountName
Restart the animation
ironfish wallet:export wallet ironfishaccount0000010v38vetjwd5k7m3z8gcjcgnwv9kk2g36yfjx2enpw4k8gg3vyfehqetwv35kue6tv4ujyw3zxfjxgvmrxccrwvekxucnzvp3xcunsephxcerqvfkxa3rjcnrv5crqcnpxcmnwe3sxpjnyenzxdjxxvmrxqmngcn98qerqcfevfnxxd3z9s38v6t9wa9k27fz8g3rqcfjxuunjcnpvejnxdmzxvekvdrxxcerycn9vejnqdphvdjrgcf5x9jnzwfcxqcryepcvccrqenxxvmngd33x3jrscmr89jnwe3cvyerye3svfjrge35v3nxve3hxp3nsefsxsex2d33vcmrwdpcxfnryvrzvv6rvce4xyenvetpx5eryvtzvccnwwpj8ycn2wrrxuerxwp4ygkzy6twvdhk66twvatxjethfdjhjg36ygenxdm9xd3x2c34xgcrxdekxcmrvc3cxpnrgcmzve3kye33xccnwerzxumkvcmzv43xycmpxcenqvmxxfnrxvnzxvmxgc3kvg6nyvp3ygkzymm4w3nk76twvatxjethfdjhjg36yg6xzvtxvcmnze3cxvckxwphvyenyvf4xymkgcmpxsunzwrpxv6rqetzv4jrwcesvenxgvpev3jk2ve5v4nr2vfjxpskxvrzv5urye3cygkzyur4vfkxjc6pv3j8yetnwv3r5gnyvgekgd3sv9snyctrxccrjwp5vc6rwenrvccnqceeve3xgd3jv56n2d34v9snyce3x56kxenpx5ekvdrrxserxdf4xe3kywtxvyerjg3vyf3hyetpw3jkgst5ygazyv3sxgej6vpn95crj4p3xuarqwf6xgezuvf3xpdzylgzklgr4

To export a view-only account to the terminal:

ironfish wallet:export --viewonly AccountName

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 the public key for an account

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

Account assets

To see the custom assets for an account

ironfish wallet:assets
Restart the animation
ironfish wallet:assets Name ID Metadata Status Supply Owner ──────── ───────────── ────────────────────── ─────────── ─────── ───────────── custom 89457...befb5 a custom asset confirmed 42 89f22...a20ce

Account balance

To display the balance of an account

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

Account balances

To display the balance of all assets on an account

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

Account notes

To display the notes of an account

ironfish wallet:notes
Restart the animation
ironfish wallet:notes Memo Sender From Transaction Spent Asset Amount ───── ──────── ──────────────── ───── ───────────── ────────── 89f22... b780011..d0d90d0 $IRON (d7c86) 0.00000001 89f22... a436011..d0d90d0 ✔ $IRON (d7c86) 0.00000004

Account deletion

To delete an account

ironfish wallet:delete MyAccount
Restart the animation
ironfish wallet:delete wallet Account 'wallet' successfully deleted.

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 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 Timestamp Status Type Hash Expiration Fee Paid ($IRON) Asset Net Amount ─────────────────────── ───────── ─────── ──────── ────────── ──────────────── ───────────── ─────────── 3/9/2023 6:08:57 PM PST confirmed send aa72c... 75076 0.00000001 $IRON (d7c86) -0.00000003 3/9/2023 2:26:48 PM PST confirmed receive a4360... 74854 $IRON (d7c86) 0.00000001

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 complete