Build from Source

If you would like to build Zen Protocol from source you can clone the master brach of https://github.com/zenprotocol/zenprotocol and build it.

Linux

  1. Install mono-devel from http://www.mono-project.com/download. If you choose to install via a package manager, add Mono's own repository first.

  2. Install lmdb. The package name is liblmdb0 on Ubuntu and lmdb on Fedora.

  3. Run the following:

./paket restore
msbuild src //append /property:Configuration=Release to build in Release mode

OSX

  1. Install mono-devel from http://www.mono-project.com/download. If you choose to install via a package manager, add Mono's own repository first.

  2. Install lmdb. You can get it via brew with brew install lmdb.

  3. Run the following:

./paket restore
msbuild src //append /property:Configuration=Release to build in Release mode

Windows

Windows is not yet supported

Run

Linux and OSX

cd src/Node/bin/Debug
./zen-node

Windows

cd src\Node\bin\Debug
zen-node.exe

CLI

You can communicate with the node with zen-cli. Enter the bin directory of the node (src/Node/bin/Debug | Release) and run:

Linux and OSX

./zen-cli --help

License

This software is available under the Zen Protocol Software License, which may be viewed at LICENSE.md.