when import privatekey into a not defalut wallet, cleos create account failed.
1、
Private key: 5JgbL2ZnoEAhTudReWH1RnMuQS6DBeLZt4ucV6t8aymVEuYg7sr
Public key: EOS6hMjoWRF2L8x9YpeqtUEcsDKAyxSuM1APicxgRU1E3oyV5sDEg
2、when i creat an account ,it show:
3、but
4、In my block chain ,eosio is a initial producer , where can i find the eosio Key。Is it still necessary for me to import eosio's key into wallet2?
which version are you using?
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos$ git branch -vv
- master 7563516 [origin/master] Merge pull request #4712 from EOSIO/release/1.1
sec@ll-B85M-DS3H-A:~/rgh/eos_719$ cd eos
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos$ git rev-parse HEAD
75635168e743c3e65bb6345a1eaedd905581e6b0
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos$ git branch -a
- master remotes/origin/1771-QA
the error in 2 is because you cannot sign on behalf of eosio. You will need to import that key into your wallet.
If you modified the genesis.json that you launched the chain with the the initial_key in that file is the public key for which you need to have the private key.
If you did not modify it or the build process then the default testing key is EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV and the corresponding private key is 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3