Removing a Key from a Wallet
If you wish to remove a particular key from a specific named wallet, you may do so by executing the following command:
cline wallet remove_key -n YOUR_WALLET_NAME 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 default wallet, you may simply invoke the same command without the -n
option tag:
cline wallet remove_key PUBLIC_KEY_TO_REMOVE