Create and fund new account
Switch to a new terminal and type
hid-nodedcommand to check if hid node is installed in your machine or not.
➜ ~ hid-noded
Hypersign Identity Network (hid-noded) CLI
add-genesis-account Add a genesis account to genesis.json
collect-gentxs Collect genesis txs and output a genesis.json file
configure Adjust node parameters
debug Tool for helping with debugging your application
gentx Generate a genesis tx carrying a self delegation
-h, --help help for hid-noded
--home string directory for config and data (default "/Users/hermit/.hid-node")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
--trace print out full stack trace on errors.
Use "hid-noded [command] --help" for more information about a command.
export Export state to JSON
Make sure you are running hid network in your local machine before proceeding with this document.
Type the following command to create a new account.
hid-noded keys add <account-name> --keyring-backend test
- account-name : Provide an alias for your new account
The command will spit out a new wallet address along with its mnemonics. This command also stores key material for this account locally in your computer which you can refer this using the
account-namealias that you provided.
➜ ~ hid-noded keys add my-account1 --keyring-backend test
- name: my-account1
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
know leisure elegant entry recycle crop already merry virus width slide bike model pupil sword cupboard flat spoon stool rebuild art float aisle gown
hid-noded q bank balances <address>
➜ ~ hid-noded q bank balances hid1qm40ngul9h0hrm4kjxdjktfekhvk4t0jjk7vft
- amount: "449999999999965859"
Run the following command to list down all account stored in your hid node.
hid-noded keys list --keyring-backend test
➜ ~ hid-noded keys list --keyring-backend test
- name: my-account1
- name: node1
You can use the following command to delete an account from your hid-node.
hid-noded keys delete <account-name> --keyring-backend test
➜ ~ hid-noded keys delete my-account1 --keyring-backend test
Key reference will be deleted. Continue? [y/N]: y
Key deleted forever (uh oh!)