Python parser SDK for Solana DEX events from Yellowstone gRPC, Jito ShredStream, RPC transactions, and account data.
Repo 0xfnzero/sol-parser-sdk-python, read from GitHub 31 min ago. 0xfnzero has not joined Take My Repo.
Released November 3, 2026.
Remove TradeParseStatus and related parse_status fields. Preserve third_program provenance without inferring executed amounts from third-party wrapper inputs. Carry transaction_version and ordered ALT addresses into Pump.fun creation events. Expand Shred ALT resolver context with receive time, transaction index and event filters; support x-token authentication. Parsing performs no RPC.
Synchronize V1 transaction decoding and real-transaction replay coverage. Node.js, Go and Python retain CLMM instruction limits separately from execution data and preserve token balances through public RPC/gRPC conversions. Go Shred preserves HTTPS/TLS; Python shares one conversion implementation and rejects invalid CLMM boolean bytes.
Remove references to TradeParseStatus / PumpFunParseStatus / parse_status. Use third_program to inspect wrapper provenance and distinguish instruction inputs from execution fields. Update custom ALT resolver signatures to accept the expanded context; see the language-specific Shred example. Rust event/config struct literals must initialize new fields or use Default. Node.js consumers must use @solana/web3.js 1.99+ for V1 decoding.
Native-language regression suites, captured-mainnet transaction replay, package builds and cross-language review passed. Live provider subscriptions were not exercised during this release.
Released 2026-10-26.
Fix ShredStream create_v2 callbacks with partially resolved ALT accounts and official PumpSwap multi_hop_swap callbacks through Pump.fun curves. Preserve instruction names, input/limit semantics, unknown quotes and create-before-trade ordering; never infer SOL paid from a non-SOL quote. Synchronize native replay examples and validation across languages.
修复 ALT 账户未完全解析时 create_v2 回调和官方多跳内盘回调,保留正确指令名、输入/下限语义、未知报价及创建先于交易的顺序;同步各语言回放示例。
Native-language regression suites and replay/build checks passed for the synchronized changes. Four trade implementations completed curve buy/sell and pool buy/sell unsigned mainnet simulations (16 successful simulations); these small-amount interface checks do not replace fresh production quotes. No transaction was broadcast.
Released 2026-10-22. The Rust, Node.js, Python and Go parser packages use the same family version, 0.9.0. Streamer 5.0.0 and Shred 6.0.1 are separately versioned integrations.
Remove five pools from the default catalog: two have captured single-transaction withdrawals reducing both vault balances by at least 50%; four have less than $500 in USDC/WSOL-side reserves at the 2026-10-22 04:25 UTC+8 snapshot (one meets both criteria). Defaults now contain 58 stock pools across 33 mints; trading adds the SOL/USDC conversion pool for 59 pools total. COPX.US is no longer a default mint. See the synchronized catalog notes for addresses and evidence.
This is a static catalog refresh, not continuous liquidity monitoring, certified executable depth, or an LP-lock guarantee. Explicit custom catalogs remain supported. No RPC or history scanning was added to parsing or trading hot paths.
中文:默认目录剔除 5 个池子,涵盖整池双边储备单笔下降至少 50% 的历史记录,以及快照中 USDC/WSOL 一侧储备不足 500 美元的池子。保留 58 个股票池、33 个 mint;交易侧加 SOL/USDC 共 59 个池子。该目录为静态快照,不保证实时深度或流动性锁定。
Subscribe to PumpFunTrade and inspect third_program and parse_status. Remove matches/filters for the retired PumpRouteIntent and RawInstruction events. Unresolved is only a possible interaction; defaults are not a proven direction or zero fill. ExecutionConfirmed does not guarantee all amounts are available. Unresolved ALT addresses remain unknown.
中文:独立的路由意图和原始指令回调已删除。第三方包装信息保留在交易事件的 third_program 中;Shred 候选与实际成交必须按 parse_status 区分。SDK 不猜测第三方合约参数,热路径不调用 RPC。
Version alignment does not imply identical APIs across languages. Offline fixtures validate captured cases, not current chain state or production latency. See README and docs/wrapped-pumpfun.md for the supported surface.
Uniform trade provenance, opt-in stock prices, and native-language examples.
third_program now contains RawInstructionPayload rather than a rule identifier. It does not contain duplicated metadata/dexes; metadata remains on the event. Check parse_status: Unresolved is only a possible DEX interaction, InstructionDecoded establishes input decoding, and ExecutionConfirmed reflects supplied execution evidence, not necessarily known fill amounts. Do not treat zero defaults as proven zero fills. Rust callers constructing trade structs must initialize the new fields or use ..Default::default().
No RPC is performed by the parsing hot path. Explicit analysis/discovery tools can fetch RPC data outside that path. Wrapper reconstruction remains opt-in and is not proof of future third-party program behavior.
Released 2026-10-19.
RawInstruction and PumpRouteIntent retain the tx_index and receive timestamp supplied to the parser. Parser SDKs expose metadata.tx_index and metadata.grpc_recv_us; streamer exposes metadata.tx_index and metadata.recv_us. Regression assertions use nonzero values and cover the final streamer callback and JSON round trips.
The default Entries clients enumerate transactions within each received Entries message and reset to zero for the next message. This is a local position, not the final transaction index across a slot. Yellowstone supplies a node transaction index. Receive timestamps are local microsecond timestamps, not execution-order guarantees. Use signatures to deduplicate across Shred messages, and instruction_index to order outer instructions within a transaction.
No metadata fields were removed or renamed. Existing values and numbering behavior are unchanged. Low-level/replay callers should provide upstream metadata when available rather than relying on zero defaults. This release adds documentation and regression protection; it does not synthesize a global chain ordering or add execution information to Shred data.
Nonzero metadata propagation tests pass for Rust parser, sol-shred-sdk, streamer, TypeScript, Python and Go. Existing PumpRouteIntent metadata assertions continue to pass.
Released 2026-10-19.
RawInstruction callbacks now match the subscribed DEX using only the outer instruction's program and referenced accounts. Unrelated instructions in the same transaction no longer inherit a DEX association. Streamer protocol restrictions apply even when RawInstruction is explicitly selected; legacy sol-shred-sdk PumpFun callbacks only forward PumpFun-associated wrappers.
The dexes array preserves all detected DEX associations for multi-DEX wrappers. Each entry contains dex_type, program_id and a nullable pool. RawInstructionDexType is a public enum in Rust, TypeScript and Python, and a named string type with constants in Go. JSON identifiers remain pumpfun, raydium_cpmm, etc. Unknown router layouts leave pool null and do not imply CPI execution, trade direction, amounts or buy-method versions. Unresolved ALT references cannot match a DEX subscription.
Regression coverage includes instruction-local DEX scope, multi-DEX references, duplicate accounts, unresolved ALT addresses, raw exclusions, streamer protocol gates, enum exports and JSON round trips. Signed replay examples compare PumpFun, Raydium CPMM and all-raw subscriptions across language implementations.