Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/streamingfast/substreams-solana
https://github.com/streamingfast/substreams-solana
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamingfast/substreams-solana
- Owner: streamingfast
- License: apache-2.0
- Created: 2022-06-04T02:00:34.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-04T19:02:29.000Z (8 months ago)
- Last Synced: 2024-05-06T16:47:48.533Z (about 2 months ago)
- Language: Rust
- Size: 54.7 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-substreams - Substreams Solana - Substreams development kit for Solana chains, contains Rust Firehose Block model and helpers. (SDK / Rust)
README
# Substreams Solana
Substreams development kit for Solana chains, contains Rust Firehose Block model and helpers
## Usage
```toml
[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](https://github.com/streamingfast/sf-solana/tree/develop/proto) 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!
* [StreamingFast Discord](https://discord.gg/jZwqxJAvRs)
* [The Graph Discord](https://discord.gg/vtvv7FP)## License
[Apache 2.0](LICENSE)