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.

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.

Chain ID#

Blockchain Network

Chain ID

Mainnet

? (ASCII code 63).

Testnet

! (ASCII code 33).

Stagenet

S (ASCII code 83); no public network yet.

Network Parameters#

Network parameters#

Parameter

Mainnet

Public Testnet

Chain ID

? (63)

! (33)

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#

API of Pool of Public Nodes#

Mainnet

https://mainnet-node.decentralchain.io

Testnet

https://testnet-node.decentralchain.io

Stagenet

TBA

Data Service API#

Decentral.Exchange#

Decentral.Exchange is a decentralized exchange.

Decentral.Exchange#

Mainnet

https://decentral.exchange/

Testnet

https://testnet.decentral.exchange/

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.

API of Decentral.Exchange Matcher#

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.

DecentralChain Explorer#

Mainnet

https://decentralscan.com/

Testnet

https://testnet.decentralscan.com/

Stagenet

TBA

Faucet: Obtaining Tokens#

Faucet: Obtaining Tokens#

Mainnet

Testnet

https://testnet.decentralscan.com/faucet

Stagenet

TBA