StreamingFast Substreams dependency installation
Instructions and links are provided below to assist with the installation of the required dependencies for Substreams.
The CLI is required and is the primary user interface for working with Substreams.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env # to configure your current shell
Buf simplifies the generation of typed structures in any language. Buf works with remote builder executed on Buf server, so an internet connection is required when generating Rust bindings from Protobuf definitions.
- 6.The Substreams Template includes a
Makefilesimplifying the installation process.
make buildrebuilds the Substreams implementation. This should be done after making changes to the code.
make streamruns the stream for a few blocks. Edit
Makefileto change the invocation as changes are made to the Substreams implementation.