Missing "--private-key" keyword in cmd: cleos wallet import PRIVATE_KEY_1
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 you can also update the documentation on their site very easily and submit it. this was helpful to me, thanks!
I believe you may need to add -n walletname to that command.
example: cleos import wallet -n WALLET_NAME --private-key PRIVATE_KEY