diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-04-17 19:36:25 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-04-17 19:36:52 +0800 |
commit | 023e79c084083cee092d44808399dc4cf47fd4fa (patch) | |
tree | c2b05ac260c09344efe1fa98f0b217b1c5a08d82 | |
parent | 3e346d960b32f83c4791ad52b8853f9dd9d06e19 (diff) | |
download | dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar.gz dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar.bz2 dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar.lz dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar.xz dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.tar.zst dexon-wiki-023e79c084083cee092d44808399dc4cf47fd4fa.zip |
Add DEXON access information
-rw-r--r-- | Access-to-DEXON.md | 29 | ||||
-rw-r--r-- | Access-to-Testnet.md | 32 | ||||
-rw-r--r-- | SUMMARY.md | 2 |
3 files changed, 30 insertions, 33 deletions
diff --git a/Access-to-DEXON.md b/Access-to-DEXON.md new file mode 100644 index 0000000..1123a53 --- /dev/null +++ b/Access-to-DEXON.md @@ -0,0 +1,29 @@ +# Access DEXON Network + +There are a few options on how to access DEXON networks. The first is to use the public DEXON RPC endpoint, the second one is to run a fullnode and sync the fullnode locally. + +## Public RPC Endpoints + +The public RPC endpoints are available at: + +|Network|RESTful|WebSocket|Chain ID| +|---|---|---|---| +|Mainnet|https://mainnet-rpc.dexon.org|wss://mainnet-rpc.dexon.org/ws|237| +|Testnet|https://testnet-rpc.dexon.org|wss://testnet-rpc.dexon.org/ws|238| +|Taipei Testnet|https://taipei-rpc.dexon.org|wss://taipei-rpc.dexon.org/ws|239| + +Point your DEXON/Ethereum client to this RPC endpoint and you should be able to read from and send transactions to DEXON networks. + +## Syncing Fullnode + +The testnet could be synchronized with the following command: + +``` +gdex --testnet +``` + +If you don't know how to build the `gdex` binary, please follow the wiki page [here](https://github.com/dexon-foundation/wiki/wiki/Building-DEXON). + +It may take a few hours before your fullnode is fully-synchronised. When it does, you can now point your DEXON/Ethereum client to http://localhost:8545 + +Note: DEXON's current testnet is still unstable, it might be reset at some point. If it does, you might have to remove the data directory (`$HOME/.dexon` on Linux, and `$HOME/Library/Dexon` on MacOS) and re-sync the node. diff --git a/Access-to-Testnet.md b/Access-to-Testnet.md deleted file mode 100644 index 8a3151f..0000000 --- a/Access-to-Testnet.md +++ /dev/null @@ -1,32 +0,0 @@ -# Access to Testnet - -There are a few options on how to access the current testnet. The first is to use the public DEXON RPC endpoint, the second one is to sync the fullnode locally. - -## Public RPC Endpoint - -The public testnet endpoints is available at: - - Testnet: - http: https://testnet-rpc.dexon.org - websocket: wss://testnet-rpc.dexon.org/ws - - Taipei testnet: - http: https://taipei-rpc.dexon.org - websocket: wss://taipei-rpc.dexon.org/ws - - -Just point your DEXON/Ethereum client to this endpoint, and you should be able to send transactions and query account info. - -## Syncing Fullnode - -The testnet could be synchronized with the following command: - -``` -gdex --testnet -``` - -If you don't know how to build the `gdex` binary, please follow the wiki page [here](https://github.com/dexon-foundation/wiki/wiki/Building-DEXON). - -It may take a few hours before your fullnode is fully-synchronised. When it does, you can now point your DEXON/Ethereum client to http://localhost:8545 - -Note: DEXON's current testnet is still unstable, it might be reset at some point. If it does, you might have to remove the data directory (`$HOME/.dexon` on Linux, and `$HOME/Library/Dexon` on MacOS) and re-sync the node. @@ -6,7 +6,7 @@ - [Network Access Guide](Network-Access-Guide.md) - [Create Wallet](Create-Wallet.md) - - [Access to Testnet](Access-to-Testnet.md) + - [Access DEXON Network](Access-to-DEXON.md) - [DApp Development Guide](DApp-Dev-Guide.md) - [Hello DEXON](Hello-DEXON.md) |