* BE: proposal/<id>/stake end-point basics * BE: proposal staking tests * add STAKING to ProposalStatusEnum * BE: incremental staking related changes * admin: staking status * FE: proposal staking first pass * ZCash -> Zcash spelling * staking contribution confirmed email * FE: staking related minor style changes * FE proposal staking env var * notify user of partially staked proposal contributions |
||
---|---|---|
.. | ||
.zcash | ||
src | ||
types | ||
.env.example | ||
.gitignore | ||
Procfile | ||
README.md | ||
package.json | ||
tsconfig.json | ||
yarn.lock |
README.md
Blockchain Watcher
Creates a websocket server that reads and reports on the activity of the Zcash blockchain. Communicates with a node over RPC.
Development
First time setup (Only do once)
- Run
yarn
to fetch all dependencies - Copy
.env.example
to.env
- Run a zcashd regtest node with the following command
zcashd -daemon -datadir=./.zcash -wallet=offline.dat
- Mine at least 100 blocks with
zcash-cli generate 101
to activate Overwinter and Sapling - Run
yarn genkey
and copy the environment variables into.env
- Run
yarn genaddress
and copy the environment variables into.env
After all that...
- Run zcashd (without the offline wallet)
zcashd -daemon -datadir=./.zcash
- Run the websocket server with
yarn dev
See the Wiki page for more information on running a regtest node.
Deployment
TBD