Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tercel-graphprotocol/tercel-example-subgraph

 
 

Repository files navigation

Example Subgraph

An example to help you get started with The Graph. For more information see the docs on https://thegraph.com/docs/. Demo https://thegraph.com/explorer/subgraph/tercel/tercel-example-subgraph

Steps:

  1. Register an account in https://thegraph.com/explorer/
  2. Install Graph CLI globally on your machine yarn global add @graphprotocol/graph-cli
  3. Init Subgraph
yarn install
yarn codegen
  1. Deploy Subgraph
graph deploy --access-token <ACCESS_TOKEN> \
    --debug \
    --node https://api.thegraph.com/deploy/ \
    --ipfs https://api.thegraph.com/ipfs/ \
    <GITHUB_USERNAME>/<SUBGRAPH_NAME>

About

An example to help you get started with The Graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 54.5%
  • JavaScript 29.7%
  • TypeScript 15.8%