3 unstable releases

0.11.1 Nov 1, 2023
0.11.0 Nov 1, 2023
0.10.2 Oct 30, 2023
0.10.1 Jul 7, 2023

#17 in #streamingfast

Download history 142/week @ 2024-01-29 117/week @ 2024-02-05 57/week @ 2024-02-12 74/week @ 2024-02-19 26/week @ 2024-02-26 44/week @ 2024-03-04 40/week @ 2024-03-11 5/week @ 2024-03-18 8/week @ 2024-03-25 21/week @ 2024-04-01 4/week @ 2024-04-08 26/week @ 2024-04-15

59 downloads per month
Used in substreams-solana

Apache-2.0

6KB
53 lines

Substreams Solana

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

Usage

[package]
name = "substreams-solana"
version = "0.1.0"

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

[dependencies]
substreams-solana = "0.1.0"

Development

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

Community

Need any help? Reach out!

License

Apache 2.0


lib.rs:

This crate provides the b58! macro for converting base58 string literals to a byte array at compile time.

Examples

// the macro can be used in const context
const DATA: [u8; 3] = b58!("reg");
assert_eq!(DATA, [0x02,0x8c,0x6d]);

Dependencies

~55KB