eos
eos copied to clipboard
the wallet import privatekey error
I pull the newest code,and run in local environment。the nodeos and cleos can work, but when I used the wallet command to import private key, it has an error.I have tested in Linux and Mac,the error is same.
wsilverkydeMacBook-Pro:cleos wsilverky$ ./cleos get info
{
"server_version": "75635168",
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
"head_block_num": 853,
"last_irreversible_block_num": 852,
"last_irreversible_block_id": "000003545cb3f1d7b18ae5dbfad9b35ba58fd99d0eb8de552c86ae44a2736b07",
"head_block_id": "0000035516e98be23af42bd9240295d0deec904191e68377f41dfba81d12d490",
"head_block_time": "2018-07-22T09:54:49.500",
"head_block_producer": "eosio",
"virtual_block_cpu_limit": 468392,
"virtual_block_net_limit": 2458591,
"block_cpu_limit": 199900,
"block_net_limit": 1048576
}
wsilverkydeMacBook-Pro:cleos wsilverky$ ./cleos wallet import 5JxS8UQQov16Vk7Xsuac5HJsVN9MYtS5NMeCLrG3GwSuizyNKBo -n sb1
ERROR: ExtrasError: [5JxS8UQQov16Vk7Xsuac5HJsVN9MYtS5NMeCLrG3GwSuizyNKBo]
Import private key into wallet
Usage: ./cleos wallet import [OPTIONS]
Options:
-n,--name TEXT The name of the wallet to import key into
--private-key TEXT Private key in WIF format to import
https://github.com/EOSIO/eos/issues/4753
what is the full form of wif private key in eosio contract Wif = '5Jx7MNDau4yUCJUvgRhZBZfaJ8LX6jRh74vMNNiBnwjY8skUWCX'
okay, friends wif= wallet import format is the fullform of this.