1.3.1 • Published 5 years ago

@erasure/testenv v1.3.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Erasure Testenv

Build Status

Instantiate a ganache instance with NMR and erasure protocol.

Deploy contracts to local ganache server

yarn
yarn deploy

Deploy graphQL subgraph to local graph-node

In a new terminal

git clone https://github.com/graphprotocol/graph-node/
cd graph-node/docker
docker-compose up

In a new terminal

yarn deploy_subgraph

See this graph protocol article for more info. A common troubleshooting step is to clear and resart the graph-node db by deleting the content of graph-node/docker/data.

To reset subgraph

yarn graph-remove-local