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.
There are multiple ways of running your dnode. We've sorted them from easiest to more complicated.
After that you need to:
First of all init your local dnode with moniker (name) of your node:
dnode init <moniker>
After that download
# remove default genesis created on init
# this solution requires 'jq' util to be installed
curl https://rpc.dfinance.co/genesis | jq '.result.genesis' > ~/.dnode/config/genesis.json
Now replace seeds in (~/.dnode/config.toml) with current seed nodes:
Important: if you set up full-node, you must open
26656port 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):