๐Ledger with SecretCLI
For a more advanced user, it is possible to interface with the CLI utility, SecretCLI with a Ledger device. You can get it here. These are some basic examples of commands you can use with your Ledger device. You may notice that most commands stay the same, you just need to add the --ledger
flag.
Import an account
Note: You can use any number you'd like for your account number. Be sure to remember the number you used, so you can recover if needed. The default for the account number is 0.
Display your account address
Add an account to secretcli
that already exists on your Ledger device
secretcli
that already exists on your Ledger deviceYou'll use this when you, say, using a different machine.
Warning: if you run the above command without the --ledger
flag, the CLI will prompt you to enter your BIP39 mnemonic, which is your Ledger device recovery phrase. YOU DO NOT WANT TO DO THIS. This will essentially save your private key locally, which defeats the purpose of using a Ledger device.
The commands below assume that you run them on the same machine where you have a Secret Network node running. If you wish to connect to a remote Secret Network node while you interact with your Ledger device locally, the following command will use a publicly available node or pick one from Connecting to the Network:
Send tokens
Delegate SCRT to a validator
Collect rewards and commission
Vote on proposals
Deposit snip-20 token
Transfer snip-20 token
Support
For support please contact the Secret Support here.
Last updated