https://github.com/standardweb3/standard-subgraph
https://github.com/standardweb3/standard-subgraph
graphql subgraph typescript
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/standardweb3/standard-subgraph
- Owner: standardweb3
- License: mit
- Created: 2021-10-08T10:25:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T01:44:54.000Z (over 2 years ago)
- Last Synced: 2025-01-16T04:25:56.861Z (over 1 year ago)
- Topics: graphql, subgraph, typescript
- Language: TypeScript
- Size: 656 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Standard Protocol Subgraph
Aims to deliver analytics & historical data for Standard Tech. Still a work in progress. Feel free to contribute!
The Graph exposes a GraphQL endpoint to query the events and entities within the SushiSwap ecosytem.
Current subgraph locations:
1. **Vault**: Includes all Standard's Vault, Exchange data, etc:
## To setup and deploy
For any of the subgraphs: `Standard`as `[subgraph]`
1. Run the `yarn run codegen:[subgraph]` command to prepare the TypeScript sources for the GraphQL (generated/schema) and the ABIs (generated/[ABI]/\*)
2. [Optional] run the `yarn run build:[subgraph]` command to build the subgraph. Can be used to check compile errors before deploying.
3. Run `graph auth https://api.thegraph.com/deploy/ `
4. Deploy via `yarn run deploy:[subgraph]`.