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

Skip to content

rwtp/subgraph

Repository files navigation

Deploy

# Deploy a specific network
$ yarn deploy-hosted polygon

# Deploy on all the networks
$ yarn deploy-all

Note: Requires there being a file in /config/ for that network.

Making changes and updates

If the underlying contract changes you can update that by bumping the rwtp version in the package.json. This will update the links and you can run graph codegen to regenerate the bindings

Important notes

This implementation does not work on studio, since studio does not support ipfs, but hosted does.

Adding a new graph network

Create a hosted graph solution. (choose your network)

Change your network in the subgraph.yaml from rinkeby -> other network

run graph deploy --node https://api.thegraph.com/deploy/ <subgraph-name>

About

Is the subgraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •