Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinax-network/graph-networks-libs
https://github.com/pinax-network/graph-networks-libs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pinax-network/graph-networks-libs
- Owner: pinax-network
- License: mit
- Created: 2024-11-14T23:59:32.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T21:44:13.000Z (about 2 months ago)
- Last Synced: 2024-11-20T10:47:28.171Z (about 2 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# The Graph Networks Registry Libraries
Libraries to work with [The Graph Networks Registry](https://github.com/graphprotocol/networks-registry).
- [TypeScript](./packages/typescript)
- [Rust](./packages/rust)
- [Go](./packages/golang)## Updating the schema
To update the types to match new schema version, run [./generate.sh](./generate.sh).
This will:
- pull the latest schema from [registry.thegraph.com](https://registry.thegraph.com),
- inject new version into libraries
- generate the types for all libraries using [quicktype](https://quicktype.io)
- run tests and examples with the new schemaIf there are errors when running the script, find and fix them manually.
## Versioning
- Libraries are using semantic versioning `Major.Minor.Patch`
- Major and minor versions should match the schema version
- Patch version can be incremented independently with bug fixes
- Patch version is reset to 0 when schema version is changed## Publishing new versions
- `npm publish` for TypeScript
- `cargo publish` for Rust
- `./release.sh` for Go