NPM Package¶
Preparing your machine to install the Zen Protocol desktop wallet and the Zen Full Node via npm packages
Please note that the usage of the software is only permitted to anyone who purchased a license during the license sale period. Sale Terms
Learn how to install and use the wallet with video tutorials:¶
Video Tutorials
OSX¶
- Install mono-devel. If you choose to install via a package manager, add Mono’s own repository first.
- Install brew (https://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities)
xcode-select --installruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"- Run this to check if brew is installed properly:
brew doctor
- Open the Terminal (can be found from search bar)
- Install lmdb. Enter the command (in terminal)
brew install lmdb. - Install Nodejs (Version >= 6)
- Recommended to install using NVM
- Recommended to install Node LTS (8.9.4)
nvm install 8.9.4
Windows¶
- Install .NET Framework 4.7.
- Install Nodejs (LTS version recommended)
- Open the Command Prompt
Linux¶
- Install mono-devel. If you choose to install via a package manager, add Mono’s own repository first.
- Install lmdb. The package name is liblmdb0 on Ubuntu and lmdb on Fedora.
sudo apt install liblmdb0 - Install Nodejs (Version >= 6)
- Recommended to install using NVM
- Recommended to install Node LTS (8.9.4)
nvm install 8.9.4
Point your npm directory to our repository¶
Run the following commands in the Terminal / Command Prompt:
npm config set @zen:registry https://www.myget.org/F/zenprotocol/npm/
Installing / Updating¶
Run the following commands in the Terminal / Command Prompt:
npm install @zen/zen-wallet -g
Running the wallet + full node¶
Run zen-wallet from anywhere in your command line (terminal) to start up the wallet
Running with arguments¶
Wipe (Clear Data)¶
When we launch a new testnet sometimes you will need to wipe your local database in order to sync.
Note that this will NOT delete any data/tokens from the wallet.
You can do this by running: zen-wallet wipe
Full Wipe (Clear Data and wallet)¶
To completely wipe the blockchain + the wallet from your computer run: zen-wallet wipefull
Running without full node
If you would like to run the node independently in a separate tab you can run zen-wallet uionly to launch the wallet without the full node running in the background.
To learn how to run the Zen Node in headless mode click here.