Check if hid-node binary is installed in your machine
Switch to a new terminal and type hid-noded command to check if hid node is installed in your machine or not.
➜ ~ hid-noded
Hypersign Identity Network (hid-noded) CLI
Usage:
hid-noded [command]
Available Commands:
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
...
...
Flags:
-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.
Create a new account
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-name alias that you provided.
Example:
➜ ~ hid-noded keys add my-account1 --keyring-backend test
- name: my-account1
type: local
address: hid1ysq78a7qypxmf5wdcnvn2sz7sswg9guh8vfxcr
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Az3UboQVFxJtR8kGmrr7woZDiouB4uDcU7jIQpSiMJRB"}'
mnemonic: ""
**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