Skip to content

Compiler Setup

Curtis edited this page Sep 29, 2018 · 3 revisions

This is currently only known to run on Linux. Anything else might be more difficult to setup. You may have to install some C++ compiler packages to get everything to work.

  1. Download both repositories into side by side directories.

git clone git@github.com:nextcashtech/bitcoin.git

git clone git@github.com:nextcashtech/nextcash.git

  1. Build the NextCash Base library.

cd nextcash make all cd ..

  1. Build the NextCash Bitcoin executable.

cd bitcoin make release

  1. Create the running directory and give the user write/execute access.

sudo mkdir /var/bitcoin/mainnet sudo chown [username] /var/bitcoin/mainnet

  1. Start the daemon from the bitcoin directory. I haven't created a service file to have it start and stop automatically with the system. So it must be manually done. The -v parameter is for verbose logging. There are more command line and configuration options that are not documented yet.

./bitcoin start -v

  1. Stop the daemon before shutting down or restarting.

./bitcoin stop

Clone this wiki locally