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 |
Public Testnet |
|---|---|---|
Chain ID |
|
|
Address prefix (Base58) |
3D |
31 |
P2P port |
6868 |
6868 |
REST API port |
6869 |
6869 |
Target block time |
60 seconds |
30 seconds |
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 !). The node’s built-in testnet profile (DCC_NETWORK=testnet without a config file) is a different network and will not join it. To run a node on the public Testnet, follow Join the Public Testnet, which gives the genesis, the configuration file and the peer to connect to.
Tools#
API of Pool of Public Nodes#
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. The Testnet matcher’s public key is BEtB5b2kX8Yge4sb5RRbTUqd5Va8Ah8PhphowcW31z6Y and its address is 31VMNVAvVh67dPZ41nMnYZvhoZFW7wwPrmq.
Mainnet |
No public Mainnet matcher yet |
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 |