#near #substreams #firehose #thegraph #streamingfast #helper

substreams-near-core

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

6 releases

0.10.1 Jul 14, 2023
0.10.0 Oct 16, 2024
0.9.6 Jul 19, 2023

#15 in #streamingfast

Download history 405/week @ 2024-06-25 262/week @ 2024-07-02 350/week @ 2024-07-09 530/week @ 2024-07-16 374/week @ 2024-07-23 360/week @ 2024-07-30 378/week @ 2024-08-06 504/week @ 2024-08-13 493/week @ 2024-08-20 437/week @ 2024-08-27 494/week @ 2024-09-03 415/week @ 2024-09-10 423/week @ 2024-09-17 405/week @ 2024-09-24 540/week @ 2024-10-01 314/week @ 2024-10-08

1,838 downloads per month
Used in substreams-near

Apache-2.0

52KB
1K SLoC

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

~2.2–4MB
~77K SLoC