NextChain is implemented in Andrew Stone’s fork of the Bitcoin Unlimited full node, on the “NextChain” branch:
git clone git@github.com:gandrewstone/BitcoinUnlimited.git
git checkout NextChain
Build proceeds as Bitcoin Unlimited is normally built (described here), including its prerequisites, with the following changes:
On debian/ubuntu:
sudo apt-get install libgmp-dev
./configure --enable-shared
make -j20
make electrscash
Similar to Bitcoin Unlimited’s release branch, if you did an out-of-source build, you will need to symlink the electrscash binary to your out-of-source location.
Blockchain data is stored in the “~/.xnex” directory on Linux,
In .xnex/bitcoin.conf set:
# Access the NextChain blockchain (this is the default)
nextchain=1
# (optional) Enable transaction indexing
txindex=1
# Enable light client support (if you built electrscash)
electrum=1
electrum.host=0.0.0.0
# Ensure connectivity to the rest of the network
addnode=n1.nextchain.cash
Run ./bitcoind to start the full node.
Run ./bitcoin-miner -cpus=XX to start mining.