区块链|以太坊Geth通过私钥导入新地址到钱包步骤

  1. Open TextEdit
  2. Paste key into TextEdit without any extra characters or quotations
  3. Save the file as pk.txt to your Desktop
  4. Open Terminal, run command:
    geth account import ~/Desktop/pk.txt

  5. After successful import, delete the file from your desktop.
.\geth account import pk.txt,pk.txt放入没有0x前缀的私钥。按之前的命令重启geth进入控制台
(如:geth --testnet --rpcapi="db,eth,net,web3,personal,web3" --rpc --rpcaddr 0.0.0.0 --rpcport 8080 --rpccorsdomain "*" --verbosity 3 console --cache=4096)
,输入 personal.listAccounts 查看是否导入成功
【区块链|以太坊Geth通过私钥导入新地址到钱包步骤】转载于:https://www.cnblogs.com/x-poior/p/11010033.html

    推荐阅读