Skip to main content

Insert or Remove Key from Wallet

To import or remove key wallet must me unlocked.

Wallet Must be 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:

Import Key to default wallet
cline wallet import

After executing above command, you will be asked for private key to import.

Insert Private Key

private key: 5JtUvzvZ8... (Paste private Key and press Enter)

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

Remove Key from default wallet
cline wallet remove_key <public_key_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:

Remove Key from specific wallet
cline wallet -n <name_of_wallet> remove_key <public_key_to_remove>