Linux服务器测试:
curl -X POST –user “*:*” -H “Content-Type:application/json” -d ‘{“jsonrpc”:”1.0″,”id”:”curltext”,”method”:”getinfo”,”params”:[]}’ http://127.0.0.1:6666
cd /coin/omni/omnicore-0.4.0/bin
./omnicore-cli –rpcconnect=127.0.0.1 –rpcport=6666 –rpcuser=* –rpcpassword=*

Eth查看命令
curl -X POST -H “Content-Type:application/json” -d ‘{“jsonrpc”:”2.0″,”id”:1,”method”:”eth_blockNumber”,”params”:[]}’ http://127.0.0.1:8545

curl -X POST –user “*:*” -H “Content-Type:application/json” -d ‘{“jsonrpc”:”1.0″,”id”:”curltext”,”method”:”dumpprivkey”,”params”:[“13yBFhKSZf7rx1WxxLNScJBTE3BoPVjxY”]}’ http://127.0.0.1:6666

2019-04-13
暂无评论

发表评论