一个大进展,Mark一下
geth --rpcapi eth,web3,personal --rpc --datadir testNet --dev --cache 256 console 2>> test.log
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"personal_newAccount","params":["22"],"id":1}'http://localhost:8545
网友评论