Add shared tycho-substreams lib.

This commit is contained in:
kayibal
2024-03-11 20:08:10 +00:00
parent fdd43ad38e
commit 92f20d0521
8 changed files with 1607 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Tycho Substreams SDK
Some shared functionality that is used to create tycho substream packages.
## Protobuf Models
Protobuf models are manually synced from the `tycho-indexer` repository whenever they
changed.
To generate the rust structs run the following command from within the `./proto`
directory:
```bash
buf generate \
--path tycho \
--template ../crates/tycho-substreams/buf.gen.yaml \
--output ../crates/tycho-substreams/
```