Compile and Run
Download
Pull source code from git
git clone https://github.com/DxChainNetwork/dxc.gitInstall Golang
Reference: https://go.dev/doc/install
// or in linux:
$ sudo snap install go --classicCompile
$ cd /path/to/dxc
$ make gethThe compiled geth executable file is under the /path/to/dxc/build/bin path.
Run ./build/bin/geth --help to get instruction, or refer to command-line-options.
Run
Run Configuration
Access the working directory
/directory/of/gethCreate
config.tomlin the working directory
Default to use
SyncMode = "snap"for the node snyc mode, for the full node sync isSyncMode = "full"
Create
start.shin the working directory
Run Node
Network
The node program starts as mainnet by default, add the --testnet command at runtime if you want to start the testnet.
Last updated
Was this helpful?