Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/streamingfast/substreams-sink-entity-changes
https://github.com/streamingfast/substreams-sink-entity-changes
Last synced: about 15 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamingfast/substreams-sink-entity-changes
- Owner: streamingfast
- Created: 2022-10-18T19:20:11.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-16T19:15:46.000Z (29 days ago)
- Last Synced: 2024-11-08T09:03:15.771Z (6 days ago)
- Language: Rust
- Size: 162 KB
- Stars: 0
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-substreams - EntityChanges - [`sf.substreams.entity.v1`](https://github.com/streamingfast/substreams-entity-change/blob/develop/proto/sf/substreams/entity/v1/entity.proto) (Protobuf / Sinks)
README
# Substreams Entity Change
`substreams-entity-change` crate contains all the definitions for the entity changes which can be emitted by a Substreams and can then be ingested by `graph-node`.
## Usage
We don't have proper documentation yet for this module. The best place to understand how to use it is to look at existing Substreams that emits EntityChanges to be consumed by `graph-node`.
Substreams:
- [substreams-eth-block-meta](https://github.com/streamingfast/substreams-eth-block-meta) (see [graph_out module](https://github.com/streamingfast/substreams-eth-block-meta/blob/master/src/lib.rs#L62) and its accompanying helper file [graph_out.rs](https://github.com/streamingfast/substreams-eth-block-meta/blob/master/src/graph_out.rs#L6))
- [substreams-uniswap-v3](https://github.com/streamingfast/substreams-uniswap-v3) (see [graph_out module](https://github.com/streamingfast/substreams-uniswap-v3/blob/bc2dc1d88d3e7297b15f67bb4cdb81702396f4f7/src/lib.rs#L1305) and its accompanying helper file [db.rs](https://github.com/streamingfast/substreams-uniswap-v3/blob/develop/src/db.rs))### Contributing
#### Re-generate Protobuf definitions
Install [buf CLI](https://buf.build/product/cli/) and run [./proto/generate.sh](./proto/generate.sh) file.
#### Release
See [RELEASE.md](./RELEASE.md) for release process.