zenprotocol - @zen/zen-wallet 0.2.24

> npm install @zen/zen-wallet@0.2.24


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".

Tutorial videos:

Preparing Your Machine

  • Note that this a new network and no other versions will effect functionality.

Linux

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

OSX

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

Windows

  1. Install Git
  2. Install .NET Framework 4.7.
  3. Install Nodejs (LTS version recommended)
  4. Open the Command Prompt

Install/Update Wallet

Step 1: Installation

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

Step 2: Updating

Run the command:

npm install @zen/zen-wallet -g

Step 3: Running wallet and 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 delete any data/tokens from the wallet.

You can do this by running: zen-wallet wipe

Miner

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.

Headless

  1. Install the node (without GUI) by running the command npm install @zen/zen-node -g
  2. Type the command zen-node

Wallet Overview

  • 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

Access the Software

  1. Click on ACCESS SOFTWARE tab (left panel)
  2. Enter public address from sofware sale
  • The testnet will automatically verify how many tokens you are intitled to.
  1. Click Redeem tokens.
  2. Your testnet tokens will now be available in the total balance (top right) and portfolio tab (left panel).

Receive Tokens (From Others)

  1. Click the Receive tab (left panel).
  2. Click on address or copy button
  • Either one will copy your address to receive tokens to the clipboard for easy pasting
  1. Send your address to someone who wants to transfer you tokens.

Send Tokens (To Others)

  1. Click the Send tab (left panel).
  2. Enter other person's address.
  3. Choose Asset
  • Tokens in portfolio are already hardcoded options.
  1. Enter Amount you want to send
  2. Click Send (blue)

Run Contract

  1. Choose a .fst contract file from your computer
  2. 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.
  1. Choose how many blocks you would like to activate your contract for
  2. Click "Activate"

Example Contract

Activate/Name the contract

  1. Download the example contract f* file (.fst)
  2. Click on the Drag and Drop area or the Upload button (blue)
  3. Select .fst file downloaded above
  4. Click and insert a name for the contract
  • This will change the name of the generic contract already saved in Saved Contracts section
  1. Click the Enter Amount section and insert number of blocks you would like to activate contract for.
  2. Click the Activate button (blue).
  3. Click the Saved Contracts tab (left panel)
  • You can now see the given contract name on the generic contract

Saved Contracts

  1. Click on Saved Contracts tab (left panel).
  • Note there is already a contract that has been preloaded for your convenience.
  1. Click Run.
  2. New page will open under the Run Contract panel
  3. Type buy in the Enter Command box
  4. Choose asset ZENP
  • Tokens in portfolio are already hardcoded options.
  1. Enter amount of Tokens you would like to purchase (1 to 1 ratio)
  2. Click the Run button (blue)
  3. Click the Portfolio tab (left panel)
  • You can now see your Zen Protocol and generic contract tokens in the portfolio

Run Contract

  1. Click Run Contract (left panel).
  2. Under Contract Address enter the contract you would like to run.
  • The generic contract you created is a hardcoded option.
  1. Click Enter Command and type redeem.
  2. Choose asset (same as contract).
  3. Enter amount you like to redeem.
  • You will receive a 1 to 1 ratio of Zen Tokens for Generic Contract Tokens.
  1. 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

Please join us for updates and discussions:

Telegram | Twitter | Blog | Facebook | Instagram | [Reddit] (https://www.reddit.com/r/zenprotocol/)

Owners

Adam Goldman Elan Doron Somech

Project URL

https://gitlab.com/zenprotocol/zenwallet#README

License

ISC

Keywords

electron, boilerplate, react, redux, flow, sass, webpack, hot, reload

Info

235 total downloads
6 downloads for version 0.2.24
Package size 6.95 MB
Download

Dependencies

@zen/zen-node@0.1.47, axios@^0.18.0, bech32@^1.1.3, bip39@^2.5.0, bs58@^4.0.1, bs58check@^2.1.1, classnames@^2.2.5, cross-env@^5.1.3, devtron@^1.4.0, electron@^1.7.11, electron-builder@^19.55.3, electron-context-menu@^0.9.1, electron-debug@^1.5.0, electron-devtools-installer@^2.2.3, electron-rebuild@^1.7.3, flexbox-react@^4.4.0, history@^4.7.2, js-base64@^2.4.3, lodash@^4.17.5, lowdb@^1.0.0, mobx@^4.1.1, mobx-react@^5.0.0, moment@^2.22.0, normalize.css@^8.0.0, prop-types@^15.6.1, rc-checkbox@^2.1.5, react@^16.3.1, react-autosuggest@^9.3.4, react-dom@^16.3.1, react-dropzone@^4.2.9, react-highlight@^0.12.0, react-hot-loader@^4.0.0-beta.13, react-numeric-input@^2.2.3, react-redux@^5.0.6, react-router@^4.2.0, react-router-dom@^4.2.2, react-router-redux@^5.0.0-alpha.6, redux@^3.7.2, redux-thunk@^2.2.0, source-map-support@^0.5.3, sweetalert@^2.1.0

Dependencies (dev)

babel-core@^6.26.0, babel-eslint@^8.2.1, babel-jest@^22.1.0, babel-loader@^7.1.2, babel-plugin-add-module-exports@^0.2.1, babel-plugin-dev-expression@^0.2.1, babel-plugin-flow-runtime@^0.15.0, babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-decorators-legacy@^1.3.4, babel-plugin-transform-es2015-classes@^6.24.1, babel-preset-env@^1.6.1, babel-preset-react@^6.24.1, babel-preset-react-hmre@^1.1.1, babel-preset-react-optimize@^1.0.1, babel-preset-stage-0@^6.24.1, babel-register@^6.26.0, chalk@^2.3.0, concurrently@^3.5.1, cross-spawn@^6.0.4, css-loader@^0.28.9, detect-port@^1.2.2, enzyme@^3.3.0, enzyme-adapter-react-16@^1.1.1, enzyme-to-json@^3.3.3, eslint@^4.16.0, eslint-config-airbnb@^16.1.0, eslint-formatter-pretty@^1.3.0, eslint-import-resolver-webpack@^0.8.4, eslint-plugin-compat@^2.2.0, eslint-plugin-flowtype@^2.42.0, eslint-plugin-import@^2.8.0, eslint-plugin-jest@^21.7.0, eslint-plugin-jsx-a11y@6.0.3, eslint-plugin-promise@^3.6.0, eslint-plugin-react@^7.6.1, express@^4.16.2, extract-text-webpack-plugin@^3.0.2, fbjs-scripts@^0.8.1, file-loader@^1.1.6, flow-bin@^0.64.0, flow-runtime@^0.16.0, flow-typed@^2.3.0, identity-obj-proxy@^3.0.0, jest@^22.1.4, minimist@^1.2.0, mobx-react-devtools@^5.0.1, node-sass@^4.7.2, npm-logical-tree@^1.2.1, react-test-renderer@^16.2.0, redux-logger@^3.0.6, rimraf@^2.6.2, sass-loader@^6.0.6, sinon@^4.2.2, spectron@^3.8.0, style-loader@^0.20.1, stylefmt@^6.0.0, stylelint@^8.4.0, stylelint-config-standard@^18.0.0, uglifyjs-webpack-plugin@1.1.8, url-loader@^0.6.2, webpack@^3.10.0, webpack-bundle-analyzer@^2.9.2, webpack-dev-server@^2.11.1, webpack-merge@^4.1.1

Package history

Version Size Last updated Downloads Mirrored?
0.2.24 6.95 MB Fri, 20 Apr 2018 11:52:17 GMT 6
0.2.23 6.95 MB Fri, 20 Apr 2018 09:51:20 GMT 2
0.2.22 6.95 MB Wed, 18 Apr 2018 22:19:26 GMT 3
0.2.21 6.95 MB Wed, 18 Apr 2018 10:30:59 GMT 19
0.2.20 6.95 MB Wed, 18 Apr 2018 09:08:13 GMT 0
0.2.19 6.95 MB Mon, 16 Apr 2018 17:01:46 GMT 13
0.2.18 6.95 MB Mon, 16 Apr 2018 15:49:46 GMT 1
0.2.17 6.94 MB Sun, 15 Apr 2018 15:18:09 GMT 6
0.2.16 6.94 MB Sun, 15 Apr 2018 11:52:10 GMT 6
0.2.15 6.94 MB Sun, 15 Apr 2018 10:23:29 GMT 2
0.2.14 6.87 MB Sun, 15 Apr 2018 10:16:08 GMT 1
0.2.13 6.86 MB Sun, 15 Apr 2018 10:01:59 GMT 1
0.2.12 6.86 MB Sun, 15 Apr 2018 09:30:43 GMT 3
0.2.11 6.86 MB Sun, 15 Apr 2018 08:31:59 GMT 4
0.2.1 6.86 MB Sat, 14 Apr 2018 22:32:30 GMT 1
0.2.0 6.86 MB Sat, 14 Apr 2018 19:30:51 GMT 3
0.1.99 6.86 MB Sat, 14 Apr 2018 18:33:36 GMT 2
0.1.98 6.86 MB Sat, 14 Apr 2018 17:45:50 GMT 1
0.1.97 6.86 MB Sat, 14 Apr 2018 07:48:42 GMT 8
0.1.96 6.86 MB Fri, 13 Apr 2018 14:51:02 GMT 8
0.1.95 6.86 MB Fri, 13 Apr 2018 11:23:44 GMT 5
0.1.94 6.86 MB Thu, 12 Apr 2018 11:39:38 GMT 6
0.1.93 3.05 MB Wed, 11 Apr 2018 16:12:11 GMT 6
0.1.92 65.65 KB Wed, 11 Apr 2018 15:51:04 GMT 1
0.1.91 6.86 MB Thu, 12 Apr 2018 11:35:29 GMT 0
0.1.90 65.65 KB Wed, 11 Apr 2018 15:36:55 GMT 1
0.1.89 65.63 KB Wed, 11 Apr 2018 12:35:55 GMT 2
0.1.88 65.7 KB Wed, 11 Apr 2018 12:34:30 GMT 0
0.1.87 65.71 KB Wed, 11 Apr 2018 12:06:42 GMT 2
0.1.86 65.71 KB Wed, 11 Apr 2018 12:05:10 GMT 0
0.1.85 3.64 MB Mon, 09 Apr 2018 19:59:26 GMT 4
0.1.84 3.64 MB Sun, 08 Apr 2018 08:54:46 GMT 11
0.1.83 3.64 MB Thu, 05 Apr 2018 08:46:44 GMT 11
0.1.82 3.64 MB Wed, 04 Apr 2018 09:33:24 GMT 11
0.1.81 3.64 MB Wed, 04 Apr 2018 08:59:39 GMT 1
0.1.80 3.64 MB Tue, 03 Apr 2018 19:05:51 GMT 6
0.1.79 3.62 MB Sun, 01 Apr 2018 11:36:04 GMT 14
0.1.78 3.43 MB Wed, 28 Mar 2018 14:23:11 GMT 19
0.1.77 3.43 MB Wed, 28 Mar 2018 13:43:17 GMT 1
0.1.76 3.43 MB Wed, 28 Mar 2018 08:45:02 GMT 3
0.1.75 3.43 MB Wed, 28 Mar 2018 08:02:41 GMT 2
0.1.74 3.43 MB Tue, 27 Mar 2018 19:05:04 GMT 2
0.1.73 3.43 MB Tue, 27 Mar 2018 15:11:32 GMT 6
0.1.72 3.43 MB Tue, 27 Mar 2018 13:02:55 GMT 0
0.1.71 3.43 MB Tue, 27 Mar 2018 12:45:14 GMT 1
0.1.70 3.43 MB Tue, 27 Mar 2018 12:14:02 GMT 2
0.1.69 3.43 MB Tue, 27 Mar 2018 09:22:41 GMT 2
0.1.68 3.43 MB Tue, 27 Mar 2018 09:17:57 GMT 1
0.1.67 3.43 MB Tue, 27 Mar 2018 08:56:53 GMT 2
0.1.66 3.43 MB Tue, 27 Mar 2018 08:28:55 GMT 1
0.1.65 3.43 MB Mon, 26 Mar 2018 19:42:12 GMT 4
0.1.64 3.43 MB Mon, 26 Mar 2018 17:11:04 GMT 4
0.1.63 3.43 MB Mon, 26 Mar 2018 15:07:55 GMT 1
0.1.62 3.43 MB Mon, 26 Mar 2018 12:04:01 GMT 0
0.1.61 3.43 MB Mon, 26 Mar 2018 12:03:14 GMT 0
0.1.60 2.79 MB Sun, 25 Mar 2018 14:52:28 GMT 5
0.1.59 2.8 MB Sun, 25 Mar 2018 14:46:59 GMT 0
0.1.58 2.79 MB Sat, 24 Mar 2018 13:59:39 GMT 8