Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelonye/epns-subgraph
Subgraph for epns.io
https://github.com/kelonye/epns-subgraph
Last synced: 23 days ago
JSON representation
Subgraph for epns.io
- Host: GitHub
- URL: https://github.com/kelonye/epns-subgraph
- Owner: kelonye
- Created: 2020-12-14T15:17:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-08T16:00:34.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T14:54:17.668Z (7 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## 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](https://github.com/vbstreetz/epns-sdk) to power these dapp frontends:
- https://epns.surge.sh (production)
- https://epns-staging.surge.sh (staging)### Deployment
1. Create a new subgraph at https://thegraph.com/explorer/subgraph/create. You might want to create an additional one for staging.
2. Ran `yarn` to install node packages.
3. Create a symlink from `subgraph.production.yaml` to `subgraph.yaml` with `yarn link-production`.
4. Ran `yarn codegen` to generated required epns subgraph files.
5. Update `vbstreetz/epns` and `vbstreetz/epns-staging` in `package.json` to match your instance(s).
6. Deploy to the production subgraph with `yarn deploy-production`.
7. To deploy to staging:
- Change the symlink to originate from `subgraph.staging.yaml` with `yarn link-staging`.
- Deploy to the staging subgraph `yarn deploy-staging`
8. Visit the subgraphs and verify no errors in the indexing.