StreamingFast Substreams dependency installation
Substreams requires a number of different applications and tools. Instructions and links are provided to assist in the installation of the required dependencies for 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 uses a remote builder executed on the Buf server, so an internet connection is required to generate Rust bindings from Protobuf definitions.
- 6.The Substreams Template includes a
Makefilesimplifying the installation process.
make buildrebuilds the Substreams module. Run the command after making changes to the code.
make streamruns the stream for a few blocks. Edit
Makefileto change the invocation as updates are made to the Substreams module.