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
.
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 (see graph_out module and its accompanying helper file graph_out.rs)
- substreams-uniswap-v3 (see graph_out module and its accompanying helper file db.rs)
Install buf CLI and run ./proto/generate.sh file.
See RELEASE.md for release process.