Create and fund new account

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.

Running one-node local hid network

Create a new account

Type the following command to create a new account.

  • 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:

Check balance

Example:

List all accounts

Run the following command to list down all account stored in your hid node.

Example:

Delete an account

You can use the following command to delete an account from your hid-node.

Example:

Last updated