Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.14 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.14 KB

camp-subgraph

A subgraph that indexes camp specific nouns data. This is meant to augment nouns-subgraph, not replace.

Initial setup

Install dependencies:

yarn install

Generate AssemblyScript types from the schema and abis:

yarn codegen

Running a local deployment

Configure contract addresses and start blocks in networks.json, and an Ethereum RPC endpoint in .env (copy .env.template).

Start your local graph node with Docker by running:

docker-compose up

Then in a new terminal run:

yarn deploy-local --network mainnet

Make sure the specified network is configured in networks.json and matches the NETWORK in .env.

Running tests

yarn test

Deploying to a hosted service

The deployment procedure differs between providers. See the relevant docs for up-to-date instructions.