Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ernestognw/access-manager-subgraph
https://github.com/ernestognw/access-manager-subgraph
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ernestognw/access-manager-subgraph
- Owner: ernestognw
- Created: 2023-10-15T08:01:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-03T21:54:14.000Z (4 months ago)
- Last Synced: 2024-10-07T21:20:12.919Z (3 months ago)
- Language: TypeScript
- Size: 200 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Access Manager Subgraphs
This repository contains the subgraphs for the Access Manager. The folder structure is the following:
- `src/datasources`: Event handler functions
- `src/models`: Data model abstractions to interact with entities## Developing
Install the dependencies with:
```bash
yarn install
```### Updating the schema
When making changes to the schema in `schema.graphql`, make sure of running the following command to update the generated types:
```bash
yarn codegen
```## Deploying
Deploy the subgraph with:
```bash
yarn deploy
```### Live deployments
| Network | Queries (HTTP) |
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Mainnet | [https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-mainnet](https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-mainnet) |
| Sepolia | [https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-sepolia](https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-sepolia) |
| Goerli | [https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-goerli](https://api.thegraph.com/subgraphs/name/ernestognw/access-manager-goerli) |