Key Management
Sagacli and Key Management
Keyring
Supported Functions
$ sagacli keys --help
Usage:
sagacli keys [command]
Available Commands:
add Add an encrypted private key (either newly generated or recovered), encrypt it, and save to <name> file
delete Delete the given keys
list List all keys
rename Rename an existing key
show Retrieve key information by name or address
Flags:
-h, --help help for keys
Global Flags:
--controller string controller grpc url (host:port) (default "https://controller.testnet-sp1.sagarpc.io")
--from string Name of private key used to sign (default "bogdan_local")
--keyring-backend string Select keyring's backend (os|file|test) (default "file")
--ledger Use the connected Ledger device for signing tx
-l, --loglevel string commands logging level (default "info")
--network-rpc string <host>:<port> to tendermint rpc interface for remote chain (default "https://spc.testnet-sp1.sagarpc.io")
-o, --output string output type <text|json> (default "text")
--platform-chain-id string The SPC network chain ID (default "spc-testnet-1")
Use "sagacli keys [command] --help" for more information about a command.
Last updated