Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IOTA Stardust CLI Wallet

Command line interface application for the IOTA sdk wallet.

Usage

After downloading the CLI, initialize the signer for the wallet. On Mac and Linux you will first need to chmod +x ./wallet.

./wallet init --node http://node.url:port --mnemonic MNEMONIC
// Example:
./wallet init --node "http://localhost:14265" --mnemonic "giant dynamic museum toddler six deny defense ostrich bomb access mercy
blood explain muscle shoot shallow glad autumn author calm heavy hawk abuse rally"

Then create a new account

./wallet new-account ALIAS
// Example:
./wallet new-account Alice

If you already created an account, you can just run the CLI without args to get to the account selector:

./wallet

Alternatively, you can select an existing account by its alias:

./wallet Alice

Commands

To see the full list of available commands look at the documentation here.

Caveats

Database path

By default the database path is ./wallet-cli-database but you can change this with the WALLET_DATABASE_PATH environment variable:

export WALLET_DATABASE_PATH=/path/to/database # or add it to your .bashrc, .zshrc
./wallet [COMMAND] [OPTIONS]