Dnode

dnode is a blockchain node of dfinance platform. dnode implements core functional of dfinance: reach consensus, securing chain with PoS, processing transactions, p2p connections, etc.

You can find dnode source code in dnode Github repositoryarrow-up-right.

Run your dnode

There are multiple ways of running your dnode. We've sorted them from easiest to more complicated.

Join mainnet with bootstrap

For fastest and simplest launch we recommend using bootstrap reposarrow-up-right. We've created it to make node launch as easy as it can be. See 4-step launch guide in its READMEarrow-up-right.

Docker Image

Pre-built docker image is available on Docker Hub: here's the linkarrow-up-right. It already includes binary file for dnode so if you feel like it - go on - try it yourself.

Build from source

You can build dnode from source, to do so fetch and build dnode from Github repositoryarrow-up-right, use latest stable tag from releasesarrow-up-right page.

After that you need to:

Mainnet configuration (for docker or manual run)

First of all init your local dnode with moniker (name) of your node:

After that download genesis.json:

Now replace seeds in (~/.dnode/config.toml) with current seed nodes:

Important: if you set up full-node, you must open 26656 port on your machine, otherwise your node will not be able to broadcast and receive data from other nodes by P2P.

Once you opened port, configure your external address in (~/.dnode/config.toml):

More detailed instruction on how to build dnode from sources can be found in dnode repositoryarrow-up-right. If want some more space for experiments you can also use dnode to launch your own local testnet.

If you'd like to contribute - see contributors sectionarrow-up-right. If you have any questions feel free to open new issuearrow-up-right.

Last updated