Deriving Keys using CLI Wallet
Last updated
Was this helpful?
Last updated
Was this helpful?
There are three types of keys on chain and it can be generated using the CLI wallet. The types of keys are:
Active
Owner
Memo
Follow the below steps to generate keys in the wallet
In a new command line window, we can access the cli_wallet program after all the blocks have been downloaded from the chain. Note that "your-password-here" is a password that you're creating for the cli_wallet and doesn't necessarily have to be the password you used while creating Peerplays account.
The CLI wallet will show unlocked >>>
when successfully unlocked.
A list of CLI wallet commands is available here:
The below command will return an array with your owner key in the form of ["PPYxxx", "xxxx"] ["TESTxxx", "xxx"].
Note that the "created-username" and "created-password" used here are the username and password from the Peerplays-DEX account created.
The second value in the returned array is the private key of your owner key. Now we'll import that into the cli_wallet.
The below command will return an array with your active key in the form of ["PPYxxx", "xxxx"] / ["TESTxxx", "xxx"].
Note that the "created-username" and "created-password" used here are the username and password from the Peerplays-DEX account
The second value in the returned array is the private key of your active key. Now we'll import that into the cli_wallet.
The keys that begin with "PPY"/"TEST" are the public keys.