Insert or Remove Key from Wallet
To import or remove key wallet must me unlocked.
You can unlock wallet in signle line providing --password
flag
cline wallet unlock --password <your_default_wallet_password>
Import Key to Inery Wallet
Importing key takes private key of the keypair you want to import. To import your key into the Inery wallet on your node you need to execute the following command:
After executing above command, you will be asked for private key to import.
private key: 5JtUvzvZ8...
(Paste private Key and press Enter)
- You can provide private key in single command by providing
--private-key
flag followed by private key. - If you want to use another wallet just provide
--name
flag followed by the name of the wallet.
After successful import of key you can use wallet to sign transactions for coresponding public key.
Remove Key from Inery Wallet
Removing a key from a wallet requires the public key of the keypair you wish to remove. To remove a keypair from default Inery wallet, execute the following command and providing public key of the keypair you wish to remove:
This will remove a public key from your wallet, granted your wallet has been unlocked beforehand.
If you wish to remove a key from a specific wallet, you may simply invoke the same command without the -n
option tag: