Makefile
that makes building and running the substream easy:make build
will rebuild your substream. Run this whenever you have made changes.make stream
will run the stream for a few blocks. As you make changes to your substream, you'll want to change this command to use your own substream modules and a block range more suitable to the data your indexing. Simply edit Makefile
to do this.substreams
CLIbuf
protoc
and simplifies a good number of things. Substreams packages are compatible with buf Images.cmake
and build-essential
protoc-gen-prost
cmake
and build-essential
are properly installed, we can install protoc-gen-prost
crate to generate protobuf files.