3 unstable releases
0.11.1 | Nov 1, 2023 |
---|---|
0.11.0 |
|
0.10.2 | Oct 30, 2023 |
0.10.1 | Jul 7, 2023 |
#17 in #streamingfast
59 downloads per month
Used in substreams-solana
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
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