2 stable releases

new 2.0.0 Oct 17, 2024
1.0.0 Dec 5, 2023

#89 in Magic Beans

Download history 12/week @ 2024-09-16 16/week @ 2024-09-23 18/week @ 2024-09-30 15/week @ 2024-10-07

61 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

~4.5–7.5MB
~130K SLoC