1. Setup
Setting up your machine to develop indexing integrations.
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install Substreams
brew install streamingfast/tap/substreams# Use correct binary for your platform LINK=$(curl -s https://api.github.com/repos/streamingfast/substreams/releases/latest | awk '/download.url.*linux/ {print $2}' | sed 's/"//g') curl -L $LINK | tar zxf -git clone https://github.com/streamingfast/substreams cd substreams go install -v ./cmd/substreams
Create a new package
git clone https://github.com/propeller-heads/propeller-protocol-libcp -r ./substreams/ethereum-template ./substreams/[CHAIN]-[PROTOCOL_SYSTEM]substreams protogen substreams.yaml --exclude-paths="sf/substreams,google"
Last updated