Comment on page
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.
Tip: Instructions are also provided for cloud-based Gitpod setups.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env # to configure your current shell
Ensure you have the
wasm32-unknown-unknowntarget installed on your Rust installation, if unsure, you can install it with:
rustup target add wasm32-unknown-unknown
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.