@erasure/testenv

1.3.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @erasure/testenv

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

392 kB

Total Files

50

Last publish

Collaborators

  • jason_numerai
  • thegostep