1 stable release

1.0.0 Dec 5, 2023

#10 in #thegraph

41 downloads per month

Apache-2.0

13KB
142 lines

Substreams Bitcoin

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

Usage

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

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

[dependencies]
substreams-bitoin = "1.0.0"

Development

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

If you struggle with something, reach out to us on Discord and we are going to help you out.

Dependencies

~3–5MB
~95K SLoC