EPNS Subgraph
Deployed instances
- https://thegraph.com/explorer/subgraph/vbstreetz/epns (production)
- https://thegraph.com/explorer/subgraph/vbstreetz/epns-staging (staging)
Example usage
This subgraph is being used by epns-sdk to power these dapp frontends:
- https://epns.surge.sh (production)
- https://epns-staging.surge.sh (staging)
Deployment
- Create a new subgraph at https://thegraph.com/explorer/subgraph/create. You might want to create an additional one for staging.
- Ran
yarn
to install node packages. - Create a symlink from
subgraph.production.yaml
tosubgraph.yaml
withyarn link-production
. - Ran
yarn codegen
to generated required epns subgraph files. - Update
vbstreetz/epns
andvbstreetz/epns-staging
inpackage.json
to match your instance(s). - Deploy to the production subgraph with
yarn deploy-production
. - To deploy to staging:
- Change the symlink to originate from
subgraph.staging.yaml
withyarn link-staging
. - Deploy to the staging subgraph
yarn deploy-staging
- Change the symlink to originate from
- Visit the subgraphs and verify no errors in the indexing.