Comment on page
Dependency installation
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-unknown
target 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.
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.The Substreams Template includes a
Makefile
simplifying the installation process.- 1.Running
make build
rebuilds the Substreams module. Run the command after making changes to the code. - 2.
make stream
runs the stream for a few blocks. EditMakefile
to change the invocation as updates are made to the Substreams module.
Last modified 6mo ago