* Initial work on bootstrap refactor. Still results in delayed bootstrapping and double bootstrapping. * Remove logging. * Fix invalid json in body on non-post requests. Reduce error verbosity. * Adjust error output. |
||
---|---|---|
.. | ||
.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