Create Private/Public key pairs
Wallets are repositories of public-private key pairs. Private keys are needed to sign operations performed on the blockchain.
Create Default Wallet
# The first step is to create a wallet. Use cleos wallet create to create a new "default" wallet using the option --to-console for simplicity.
cleos wallet create --file walletpassword.txtOpen the Wallet
Wallets are closed by default. To begin, run the following:
cleos wallet openUnlock it
Unlock the wallet that was created in the previous point.
cleos wallet unlockCreate Key
Create a new account key and make sure to keep it safe.
cleos create key --to-consoleImport key
Import the key generated in last step
Last updated
Was this helpful?