Skip to content

obvious-inc/camp-subgraph

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published