#substreams #firehose #near #thegraph #streamingfast #api-bindings

substreams-near

Substreams development kit for near chains, contains Firehose Block model and helpers

5 releases

0.9.6 Jul 19, 2023
0.9.5 Jul 17, 2023
0.9.4 Jul 16, 2023
0.9.3 Jul 14, 2023
0.9.2 Jul 14, 2023

#9 in #thegraph

Download history 2/week @ 2024-02-14 9/week @ 2024-02-21 7/week @ 2024-02-28 2/week @ 2024-03-06 7/week @ 2024-03-13 6/week @ 2024-03-20 67/week @ 2024-03-27 8/week @ 2024-04-03

81 downloads per month

Apache-2.0

3KB

Substreams Near

Substreams development kit for NEAR chains, contains Rust Firehose Block model and helpers.

Usage

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

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

[dependencies]
substreams-near = "0.1.0"

Development

We manually keep in sync the rendered Rust Firehose Block models with the actual Protocol Buffer definitions file found in firehose-near 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

~3–5.5MB
~99K SLoC