#substreams #ethereum #streamingfast #firehose #thegraph

macro substreams-ethereum-derive

Substreams development kit for Ethereum chains, contains Firehose Block model and helpers as well as utilities for Ethereum ABI encoding/decoding

23 releases (8 breaking)

0.9.0 Jan 19, 2023
0.8.0 Nov 28, 2022
0.7.0 Nov 4, 2022
0.1.4 Jun 22, 2022

#13 in #substreams

Download history 64/week @ 2022-11-27 75/week @ 2022-12-04 37/week @ 2022-12-11 28/week @ 2022-12-18 19/week @ 2022-12-25 25/week @ 2023-01-01 47/week @ 2023-01-08 71/week @ 2023-01-15 63/week @ 2023-01-22 43/week @ 2023-01-29 71/week @ 2023-02-05 71/week @ 2023-02-12 134/week @ 2023-02-19 47/week @ 2023-02-26 35/week @ 2023-03-05 32/week @ 2023-03-12

250 downloads per month
Used in 2 crates (via substreams-ethereum)

Apache-2.0

71KB
1.5K SLoC

Substreams Ethereum

Substreams development kit for Ethereum chains, contains Rust Firehose Block model and helpers as well as utilities for Ethereum ABI encoding/decoding.

Usage

[package]
name = "substreams-acme"
version = 0.1.2

[lib]
crate-type = ["cdylib"]

[dependencies]
substreams-ethereum = "0.6.0"

Development

We manually keep in sync the rendered Rust Firehose Block models with the actual Protocol Buffer definitions file found in sf-ethereum and we commit them to Git.

This means changes to Protobuf files must be manually re-generated and commit, see below for how to do it.

Regenerate Rust Firehose Block from Protobuf

./gen.sh

Dependencies

~4.5–6MB
~106K SLoC