aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEXON-RPC-Node-Operation-Guide.md24
1 files changed, 24 insertions, 0 deletions
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