solana grpc client - wip
grpc client for solana
current scope:
- reconnecting subscribe stream
- live filter updates without reconnecting
- slots, accounts, transactions, blocks, and deshred transactions
- endpoint benchmark example
examples:
cargo run --example slot_subscriber -- <endpoint>cargo run --example account_streamer -- <endpoint> [owner]cargo run --example transaction_streamer -- <endpoint> [first_account] [second_account]cargo run --example shred_streamer -- <endpoint> [first_account] [second_account]cargo run --example live_filter_update -- <endpoint> <accounts|transactions> <first_filter> <second_filter> [switch_after_secs]cargo run --example endpoint_benchmark -- <endpoint> [endpoint ...]
status:
- work in progress
- not production ready
- api and behavior may change
plans:
- profiling
- geyser plugin
big thanks for the triton team.
upstream reference: https://github.com/rpcpool/yellowstone-grpc