Documentation icon indicating copy to clipboard operation
Documentation copied to clipboard

Missing "--private-key" keyword in cmd: cleos wallet import PRIVATE_KEY_1

Open kreenablen opened this issue 7 years ago • 2 comments

In the official documentation, at page : https://developers.eos.io/eosio-nodeos/docs/learn-about-wallets-keys-and-accounts-with-cleos, there is a missing keyword in the cmd: cleos wallet import PRIVATE_KEY_1. The corect cmd would be : cleos wallet import --private-key PRIVATE_KEY_1

Without it the cmd does not executes successfully. Also same keyword should be added at same page, in the end of the page. Instead of : cleos wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3, it should be: cleos wallet import --private-key 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

Please update the official documentation page. Thanks

kreenablen avatar Aug 15 '18 18:08 kreenablen

@kreenablen you can also update the documentation on their site very easily and submit it. this was helpful to me, thanks!

masterkrang avatar Feb 28 '19 02:02 masterkrang

I believe you may need to add -n walletname to that command.

example: cleos import wallet -n WALLET_NAME --private-key PRIVATE_KEY

masterkrang avatar Feb 28 '19 02:02 masterkrang