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 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamingfast/substreams-sink-entity-changes
- Owner: streamingfast
- Created: 2022-10-18T19:20:11.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-03-11T05:20:31.000Z (4 months ago)
- Last Synced: 2024-04-29T19:07:21.956Z (2 months ago)
- Language: Rust
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Lists
- 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.