Full Node NPM Package
Run the Zen Node in headless mode
Please note that the usage of the software is only permitted to anyone who purchased a license during the license sale period. Sale Terms

Install/Update Wallet

OSX

  1. 1.
    Install mono-devel. If you choose to install via a package manager, add Mono's own repository first.
  2. 2.
    Install brew
  3. 3.
    Open the Terminal (can be found from search bar)
  4. 4.
    Install lmdb. Enter the command (in terminal) brew install lmdb.
  5. 5.
    1. 1.
      Recommended to install using NVM
    2. 2.
      Recommended to install Node LTS nvm install 8.9.4

Windows

  1. 2.
    Install Nodejs (LTS version recommended)
  2. 3.
    Open the Command Prompt

Linux

  1. 1.
    Install mono-devel. If you choose to install via a package manager, add Mono's own repository first.
  2. 2.
    Install lmdb. The package name is liblmdb0 on Ubuntu and lmdb on Fedora. sudo apt install liblmdb0
  3. 3.
    Install Nodejs (Version >= 6)
    1. 1.
      Recommended to install using NVM
    2. 2.
      Recommended to install Node LTS (8.9.4) nvm install --lts

Point your npm directory to our repository

Run the following commands in the Terminal / Command Prompt:
1
npm config set @zen:registry https://www.myget.org/F/zenprotocol/npm/
Copied!

Installing / Updating

Run the following commands in the Terminal / Command Prompt:
1
npm install @zen/zen-node -g
Copied!

Running the node

Run zen-node from anywhere in your command line (terminal) to start up the node
Full Wipe (Clear Data)
To completely wipe the blockchain + the wallet from your node run: zen-node --wipe full
Running with a miner (CPU Only)
Run the node with a miner. You can also choose the amount of threads you want to utilize.
zen-node --miner 4

Running with options / arguments

1
USAGE: zen-node.exe [--help] [--test] [--api <string>]
2
[--bind <string>] [--ip <string>]
3
[--wipe [<full>]] [--miner [<threads>]]
4
[--addressdb][--data-path <string>]
5
[--service-bus <string>]
6
[--publisher <string>]
7
[--connectwallet]
8
[--origin [<string>]]
9
[--remote]
10
11
OPTIONS:
12
13
--test use testnet
14
--api <string> enable api and set bind address
15
--bind <string> set the address the node should listen on
16
--ip <string> specify the IP the node should relay to other peers
17
--wipe [<full>] wipe database, specify full to wipe the wallet's private key
18
--miner [<threads>] enable miner and optionally specify number of threads
19
--addressdb enable the AddressDB module
20
--data-path <string> set the data folder path
21
--service-bus <string> expose the service bus over zeromq address
22
--publisher <string> expose the publisher over zeromq address
23
--connectwallet connect the new desktop wallet
24
--origin [<string>] add CORS origin
25
--remote automatically configure for remote usages
26
--help display this list of options.
27
Copied!