swarm xdai节点部署

https://<SYMBOL>.getblock.io/?api_key=df47a5d3-3431-4323-b2d6-5036544d780a
https://stake.getblock.io/mainnet/?api_key=df47a5d3-3431-4323-b2d6-5036544d780a

 

 

docker run --name xdai2 -it -p 8545:8545 -v /mnt/sdb1/xdai:/nethermind/data nethermind/nethermind --datadir /nethermind/data nethermind/nethermind --config xdai --JsonRpc.Enabled true --JsonRpc.Host 0.0.0.0


docker run -it
docker rm xdai

docker run -d --name xdai -it -v /mnt/sdb1/xdai:/nethermind/data nethermind/nethermind --config xdai --datadir data

 

./Nethermind.Runner --config ropsten --JsonRpc.Enabled true --Init.ProcessingEnabled false

curl --data ‘{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}‘ -H "Content-Type: application/json" -X POST http://xx:8545

curl --data ‘{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}‘ -H "Content-Type: application/json" -X POST https://rpc.xdaichain.com/

curl -X POST --data ‘{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params":["0xe8"],"id":1}‘ http://:8545

docker run --name xdai -p 8545:8545 -p 8546:8546 -v /mnt/sdb1/xdai:/nethermind/data -v /mnt/sdb1/logs:/nethermind/logs -it nethermind/nethermind:1.10.73 --config mainnet --JsonRpc.Enabled true --JsonRpc.Host 0.0.0.0 --datadir /nethermind/data --JsonRpc.WebSocketsPort 8546 --JsonRpc.Port 8545


curl -X POST --data ‘{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":[],"id":83}‘ http://:8545
curl --data ‘{"method":"eth_getBlockByNumber","id":1,"jsonrpc":"2.0"}‘ -H "Content-Type: application/json" -X POST http://:8545

curl -X POST -H “Content-Type: application/json” --data ‘{“jsonrpc”:“2.0”,“method”:“eth_chainId”,“params”:[],“id”:1}’ http://:8545

 

curl -X POST --data ‘{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":[],"id":83}‘ http://:8545

2021-06-21 08:46:10.6134|INFO|132|Executing JSON RPC call eth_blockNumber with params []
2021-06-21 08:46:10.6134|INFO|132|***** JSON RPC report *****
-----------------------------------------------------------------------------------------------------------------------------------------
method | successes | avg time | max time | errors | avg time | max time | avg size | total size |
-----------------------------------------------------------------------------------------------------------------------------------------
eth_accounts | 1 | 7810 | 7810 | 0 | 0 | 0 | 1610 | 1610 |
eth_blockNumber | 9 | 1454 | 5434 | 0 | 0 | 0 | 47 | 426 |
eth_chainId | 2 | 2205 | 3716 | 0 | 0 | 0 | 54 | 108 |
eth_getBalance | 6 | 2636 | 9873 | 0 | 0 | 0 | 49 | 294 |
eth_getBlockByNumber | 1 | 18830 | 18830 | 0 | 0 | 0 | 1519 | 1519 |
miner_setEtherbase | 0 | 0 | 0 | 3 | 2918 | 5488 | 103 | 309 |
net_version | 1 | 1338 | 1338 | 0 | 0 | 0 | 54 | 54 |
personal_importRawKey | 4 | 1705374 | 1802216 | 0 | 0 | 0 | 78 | 312 |
web3_clientVersion | 5 | 9193 | 39301 | 0 | 0 | 0 | 92 | 460 |
-----------------------------------------------------------------------------------------------------------------------------------------
TOTAL | 29 | 238922 | 1802216 | 3 | 2918 | 5488 | 159 | 5092 |
-----------------------------------------------------------------------------------------------------------------------------------------

df47a5d3-3431-4323-b2d6-5036544d780a
https://stake.getblock.io/mainnet/?api_key=df47a5d3-3431-4323-b2d6-5036544d780a
curl --data ‘{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}‘ -H "Content-Type: application/json" -X POST https://stake.getblock.io/mainnet/?api_key=df47a5d3-3431-4323-b2d6-5036544d780a
curl --location --request POST ‘https://stake.getblock.io/mainnet‘ --header ‘x-api-key:df47a5d3-3431-4323-b2d6-5036544d780a --header ‘Content-Type: application/json‘ --data-raw ‘{"id": "blockNumber", "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["latest", false]}

 

swarm xdai节点部署

上一篇:React Navigation 5.x 使用


下一篇:一步一步教你简单完成 Android USB开发