Skip to content

Instantly share code, notes, and snippets.

@johnX9
Last active August 1, 2018 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnX9/e2b683d663ff72af89c8a3159987f7c2 to your computer and use it in GitHub Desktop.
Save johnX9/e2b683d663ff72af89c8a3159987f7c2 to your computer and use it in GitHub Desktop.
# 1. Create new wallet with the name "oasis"
cleos wallet create -n oasis
# 2. Generate two pair of keys (use the command twice)
cleos create key
# 3. Import the generated private keys in the wallet(you need to specify the wallet at the end)
# {private_key_1} - This will be the OwnerKey
# {private_key_2} - This will be the ActiveKey
cleos wallet import --private-key={private_key_1} -n oasis
cleos wallet import --private-key={private_key_2} -n oasis
# 4. Add the private key of the "eosio" account into your wallet
# Note: If you're receiving an Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
# you probably should add the private key of the "eosio" account to your wallet.
cleos wallet import --private-key=5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 -n oasis
@Falci
Copy link

Falci commented Jun 18, 2018

where's this key from?

@johnX9
Copy link
Author

johnX9 commented Jul 29, 2018

Hi Falci, the key can be found in your config.ini file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment