MCPcopy Index your code
hub / github.com/ChainBuff/yellowstone-grpc-rust

github.com/ChainBuff/yellowstone-grpc-rust @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
15 symbols 19 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

yellowstone-grpc-rust

Yellowstone gRPC 是获取 Solana 链上数据最快的方式。数据以流的方式推送,客户端需要配置订阅来获取和解析数据。

本教程旨在提供一些简单的订阅配置例子,帮助你快速熟悉此工具。


subscribe-tx 订阅账户交易

# cargo run --bin transactions

subscribe-logs 订阅 token 交易,解析Logs会包含池子的最新数据

# cargo run --bin parse-log

subscribe-account 订阅账户变化

# cargo run --bin accounts

Extension points exported contracts — how you extend this code

EventTrait (Interface)
(no doc) [1 implementers]
examples/parse-log/src/main.rs

Core symbols most depended-on inside this repo

build_client
called by 3
grpc-client/src/lib.rs
from
called by 0
grpc-client/src/lib.rs
new
called by 0
grpc-client/src/lib.rs
parse_logs
called by 0
examples/parse-log/src/main.rs
discriminator
called by 0
examples/parse-log/src/main.rs
from_bytes
called by 0
examples/parse-log/src/main.rs
valid_discrminator
called by 0
examples/parse-log/src/main.rs
main
called by 0
examples/parse-log/src/main.rs

Shape

Method 7
Class 4
Function 3
Interface 1

Languages

Rust100%

Modules by API surface

examples/parse-log/src/main.rs7 symbols
grpc-client/src/lib.rs6 symbols
examples/transactions/src/main.rs1 symbols
examples/accounts/src/main.rs1 symbols

For agents

$ claude mcp add yellowstone-grpc-rust \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact