EOSIO Tutorial: Development Public Key vs eosio development key

EOS.IO Asked by gofly on September 19, 2020

Many questions, thanks in advance for any help.

In the eosio tutorial (1.4 Create dev wallet) I have created a wallet and the message returned is:

Created new private key with a public key of: "EOS7yPf8nD...

This is called the "development public key" by the step #4 & #5 in the docs.
Step #6 introduces the eosio development key, and then we issue the command:

cleos wallet import

and it asks for the "eosio development key", which is "5KQwrPb…". The definition of this command is: Imports private key into wallet

Question #1: Have I imported the private key of: "EOS7yPf8nD…" into wallet?

Question #2: Is the eosio dev key used to allow us to import keys into wallet?

Question #3: How do I verify or even identify these keys? (aka Is it for "default"?)

Moving to 1.6 Create Test Accounts we now create accounts. We issue the command:

cleos create account eosio bob EOS7yPf8nD...

We place "bob" in the "default wallet", using the wallet key "EOS7yPf8nD…"

Last question: Did I do this correct? I have the account and the wallet with the same keys! That does not feel correct to me. I got lost somewhere?

One Answer

The wallet itself comes with its own secret key when it generates the wallet keys.

Creating wallet: default
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.

This key will be used to unlock your wallet to import additional keys into your wallet. You may use this secret key to check which private keys are imported in your wallet by performing the following:

cleos wallet private_keys

Inside you will see an array of arrays. The first element in the array is the public key. While the second is the private. All corresponding Public Keys generally begin with EOS.

You may also view all public keys by performing.

cleos wallet keys

Anyway, the first Public Key you generated should be used for your development purposes and should be the one you submit into the documentation so the rest of your documentation syncs up.

Hope this answers some if not all of your questions.

Correct answer by Stuyk on September 19, 2020

Add your own answers!

Related Questions

Secure access to my private Blockchain

1  Asked on August 20, 2021 by user3819


MacOS RPC Interface not working

1  Asked on August 20, 2021 by andrew-elkins


What’s the max speed of EOSIO contract?

1  Asked on August 20, 2021 by lihao


How to read tables from other smart contracts?

1  Asked on August 20, 2021 by leo-ribeiro


How does nodeos’ abi_json_to_bin exactly work?

0  Asked on August 20, 2021 by kamziro


No head block in fork db, perhaps we need to replay error at startup

1  Asked on August 20, 2021 by said-a-sryheni


Problem with keosd

2  Asked on August 20, 2021 by muhzin


validate the identity of the chain

1  Asked on August 20, 2021 by mar233


nodeos allow connection from any ip?

1  Asked on August 20, 2021 by kriskoin


Errors while building on eosstudio

2  Asked on August 20, 2021 by saliya-perera


How to optimize RAM usage for airdrop

1  Asked on August 20, 2021 by dmitry-vulf


Exchange keys for tokens

1  Asked on August 20, 2021 by martin-savage


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir