Please note that the usage of the software is only permitted to anyone who purchased a license during the license sale period. Sale Terms
Parts of this software are available under the MIT licence. See the directory "third-party".
- Note that this a new network and no other versions will effect functionality.
- Install Git
- 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
- Install mono-devel. If you choose to install via a package manager, add Mono's own repository first.
- Steps 2-3 require [brew] (https://www.dyclassroom.com/howto-mac/how-to-install-nodejs-and-npm-on-mac-using-homebrew)
- 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
- Install Git
- Install .NET Framework 4.7.
- Install Nodejs (LTS version recommended)
- Open the Command Prompt
Run the following commands in the Terminal / Command Prompt:
npm config set @zen:registry https://www.myget.org/F/zenprotocol/npm/
npm install @zen/zen-wallet -g
Run the command:
npm install @zen/zen-wallet -g
Run zen-wallet
from anywhere in your command line (terminal) to start up the wallet
When we launch a new testnet sometimes you will need to wipe your local database in order to sync. Note that this will delete any data/tokens from the wallet.
You can do this by running: zen-wallet wipe
In order to run a node with a miner run the wallet with the miner
argument like this: zen-wallet miner
*Running with miner allows you to get the block reward of Zen Tokens every time a new block is mined.
- Install the node (without GUI) by running the command
npm install @zen/zen-node -g
- Type the command
zen-node
- Access Software - Use your key from the software sale to redeem your tokens.
- Portfolio – View list of assets, their hash name, and current balance.
- Receive – Address used to receive Zen Tokens (or other compatible tokens) to your wallet
- Send – Submit address you want to send your tokens to, select asset (token) you would like to send, and enter the amount.
- Active Contracts – This is a list of all contracts that are currently active on the blockchain.
- Activate Contract – Upload contracts from your computer, name the contract, and choose number of blocks you want the contract to be activated for.
- Run Contract – Enter the contract name/address, choose command you want to run, pick which asset you would like to send, enter the amount.
- Saved Contract – Easy access to previously used contracts and templates
- Click on ACCESS SOFTWARE tab (left panel)
- Enter public address from sofware sale
- The testnet will automatically verify how many tokens you are intitled to.
- Click Redeem tokens.
- Your testnet tokens will now be available in the total balance (top right) and portfolio tab (left panel).
- Click the Receive tab (left panel).
- Click on address or copy button
- Either one will copy your address to receive tokens to the clipboard for easy pasting
- Send your address to someone who wants to transfer you tokens.
- Click the Send tab (left panel).
- Enter other person's address.
- Choose Asset
- Tokens in portfolio are already hardcoded options.
- Enter Amount you want to send
- Click Send (blue)
- Choose a .fst contract file from your computer
- Give your contract a name
- The name will get saved as a comment in your code - which other nodes in the network will be able to read.
- Choose how many blocks you would like to activate your contract for
- Click "Activate"
- Download the example contract f* file (.fst)
- Click on the Drag and Drop area or the Upload button (blue)
- Select .fst file downloaded above
- Click and insert a name for the contract
- This will change the name of the generic contract already saved in Saved Contracts section
- Click the Enter Amount section and insert number of blocks you would like to activate contract for.
- Click the Activate button (blue).
- Click the Saved Contracts tab (left panel)
- You can now see the given contract name on the generic contract
- Click on Saved Contracts tab (left panel).
- Note there is already a contract that has been preloaded for your convenience.
- Click Run.
- New page will open under the Run Contract panel
- Type
buy
in the Enter Command box - Choose asset
ZENP
- Tokens in portfolio are already hardcoded options.
- Enter amount of Tokens you would like to purchase (1 to 1 ratio)
- Click the Run button (blue)
- Click the Portfolio tab (left panel)
- You can now see your Zen Protocol and generic contract tokens in the portfolio
- Click Run Contract (left panel).
- Under Contract Address enter the contract you would like to run.
- The generic contract you created is a hardcoded option.
- Click Enter Command and type
redeem
. - Choose asset (same as contract).
- Enter amount you like to redeem.
- You will receive a 1 to 1 ratio of Zen Tokens for Generic Contract Tokens.
- Click the Run button (blue).
- Your ZENP balance will be higher by the number of contracts redeemed and the number of contracts lower by that same amount
Telegram | Twitter | Blog | Facebook | Instagram | Reddit
See DEV_README