aboutsummaryrefslogblamecommitdiffstats
path: root/Exchange-Integration-Guide.md
blob: 22e67c70d8f22b6eaa5614a35ea6686a96077eb7 (plain) (tree)
1
2
3
4
5
6
7



                                                                                       


                                                                                                                          






                                                                                                                                




                                                                                                                                                                     

                                                                                                                   













                                                                                                                                                                                                                
# Exchange Integration Guide

This guide provides all the necessary details for integrating DEXON with your exchange.

## Wallet
DEXON TX signature algorithm is exactly the same as Ethereum (secp256k1), you can use existing Ethereum wallet with DEXON.

## RPC
DEXON RPC is compatible with Ethereum. In theory, you can use existing Ethereum module with DEXON by replacing the RPC endpoint:

|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|

Since DEXON produce around 1 block per second, it may incur a heavier load on your database infrastructure. Make sure you have enough DB instance to handle the load.

## Starting a RPC Node

Refer to [Running a RPC node](DEXON-RPC-Node-Operation-Guide.md) for instructions to launch a RPC node by yourself.

## Deposit Confirmation

DEXON consensus algorithm has explicit finality, meaning you only need to wait for **1 block confirmation** to credit the deposit. If you really want to make sure, you can wait for 2 confirmations to be sure.

## Explorer

Explorer link is as follows:

|Network|Explorer|
|---|---|
|Mainnet|https://dexscan.org|
|Testnet|https://testnet.dexscan.org|
|Taipei Testnet|https://taipei.dexscan.org|