snrd keys add
Derive a new private key and encrypt to disk.Usage
Flags
Account number for HD derivation (less than equal 2147483647)
coin type number for HD derivation
action, but don’t add key to local keystore
Manual HD Path derivation (overrides BIP44 config)
for add
Address index number for HD derivation (less than equal 2147483647)
prompt user for BIP39 passphrase and mnemonic
Key signing algorithm to generate keys for
a local reference to a private key on a Ledger device
List of key names stored in keyring to construct a public legacy multisig key
K out of N required signatures. For use in conjunction with —multisig
print out seed phrase (if others are watching the terminal)
passed to —multisig are taken in the order they’re supplied
Parse a public key in JSON format and saves key info to <name> file.
Parse a public key in base64 format and saves key info.
seed phrase to recover existing key instead of creating
Import mnemonic from a file (only usable when recover or interactive is passed)
Global Flags
Transaction broadcasting mode (sync|async)
Specify Chain ID for sending Tx
Fees to pay along with transaction; eg: 10aatom
Name or address of private key with which to sign
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
Gas prices to determine the transaction fee (e.g. 10aatom)
The application home directory
Select keyring’s backend (os|file|test)
The client Keyring directory; if omitted, the default ‘home’ directory will be used
The logging format (json|plain)
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
colored logs
<host>:<port> to tendermint rpc interface for this chain
Output format (text|json)
out full stack trace on errors
Examples
Add new key
See Also
- snrd keys - Parent command