From 26922a3b1338d96eb6c460dd42ddb30623e90d5a Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Thu, 18 Apr 2019 16:13:19 +0800 Subject: Add RPC node for testnet --- DEXON-RPC-Node-Operation-Guide.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'DEXON-RPC-Node-Operation-Guide.md') diff --git a/DEXON-RPC-Node-Operation-Guide.md b/DEXON-RPC-Node-Operation-Guide.md index 9cba418..5e62a50 100644 --- a/DEXON-RPC-Node-Operation-Guide.md +++ b/DEXON-RPC-Node-Operation-Guide.md @@ -61,4 +61,28 @@ curl -X POST \ You should be able to see something similar in return (**0xd482e** is the hex form of **870062**): ``` {"jsonrpc":"2.0","id":1,"result":"0xd482e"} +``` + +### RPC Node for Testnet + +It simply to launch a RPC node for testnet by adding network flag `--testnet`: +``` +docker run -v $PWD:/mnt -it dexonfoundation/dexon \ + --testnet \ + --datadir=/mnt/datadir \ + --syncmode=fast \ + --rpc \ + --rpcapi=eth,net,web3 \ + --rpcaddr=0.0.0.0 \ + --rpcvhosts=* \ + --rpccorsdomain=* \ + --ws \ + --wsapi=eth,net,web3 \ + --wsaddr=0.0.0.0 \ + --wsorigins=* \ + --cache=1024 \ + --gcmode=archive \ + --metrics \ + --pprof \ + --pprofaddr=0.0.0.0 ``` \ No newline at end of file -- cgit v1.2.3