Mainnet, Testnet, Stagenet#
Connecting Node to Blockchain Network#
You can launch your node in any blockchain network. Select the network in the node configuration file.
For more information about the configuration file, see the node configuration article.
For installing a node, see the install DecentralChain node article.
For starting your own blockchain network, see the custom blockchain article.
Chain ID#
Chain ID is a symbol that is passed over a network during a handshake and allows nodes not to connect to the nodes of other networks. The chain ID is used while building account addresses, therefore, an address on one blockchain network cannot be used on another network. The chain ID is also indicated in transactions so it is impossible to move transactions between different blockchain networks.
Blockchain Network |
Chain ID |
|---|---|
Mainnet |
? (ASCII code 63). |
Testnet |
! (ASCII code 33). |
Stagenet |
S (ASCII code 83); no public network yet. |
Network Parameters#
Parameter |
Mainnet |
Testnet |
|---|---|---|
Chain ID |
|
|
Address prefix (Base58) |
3D |
31 |
P2P port |
6868 |
6863 |
REST API port |
6869 |
6869 |
Minimum peer connections |
5 |
5 |
Stagenet has chain ID S (83) and a built-in profile in the node (dcc.defaults.blockchain.type = STAGENET, P2P port 6862 in network-defaults.conf), but there is no public Stagenet network yet.
Note
The public DecentralChain Testnet (testnet-node.decentralchain.io) is a custom chain (dcc.blockchain.type = CUSTOM, chain ID !) whose nodes use P2P port 6868, not the built-in Testnet profile shown above. A node started with the built-in testnet profile (DCC_NETWORK=testnet: port 6863 and its own known peers) will not join it.
The default known peers for each network are listed in network-defaults.conf in the node-scala repository.
Tools#
API of Pool of Public Nodes#
Chain ID is a symbol that is passed over a network during a handshake and allows nodes not to connect to the nodes of other networks. The chain ID is used while building account addresses, therefore, an address on one blockchain network cannot be used on another network. The chain ID is also indicated in transactions so it is impossible to move transactions between different blockchain networks.
Mainnet |
|
Testnet |
|
Stagenet |
TBA |
Data Service API#
Mainnet |
|
Testnet |
|
Stagenet |
TBA |
Decentral.Exchange#
Decentral.Exchange is a decentralized exchange.
Mainnet |
|
Testnet |
|
Stagenet |
TBA |
API of Decentral.Exchange Matcher#
The addresses for order sending and market data obtaining are as follows:
Mainnet |
https://mainnet-matcher.decentralchain.io/api-docs/index.html |
Testnet |
https://testnet-matcher.decentralchain.io/api-docs/index.html |
Stagenet |
TBA |
DecentralChain Explorer#
DecentralChain Explorer is a service for browsing blockchain data.
Mainnet |
|
Testnet |
|
Stagenet |
TBA |
Faucet: Obtaining Tokens#
Mainnet |
|
Testnet |
|
Stagenet |
TBA |