Skip to content

sol-parser-sdk v0.3.1

Choose a tag to compare

@0xfnzero 0xfnzero released this 11 Apr 17:05
· 120 commits to main since this release

Summary

Release v0.3.1 builds on v0.3.0 with Pump.fun create_v2 parsing aligned to the on-chain IDL, correct Mayhem detection from instruction data, fee recipient enrichment for CreateV2 when a buy is present in the same transaction, ShredStream/gRPC improvements, and a crates.io–safe dependency pin (solana-signature 3.3.0) so published builds verify without a local solana-keypair patch.

Pump.fun create_v2

  • Instruction data: name, symbol, uri, creator, is_mayhem_mode, is_cashback_enabled.
  • Mint, bonding curve, and user come from accounts only (not from extra pubkey fields in data).
  • Mayhem is determined by is_mayhem_mode in ix data, not by whether the Mayhem program account is non-default (matches Explorer / tradeEvent semantics).

Fee enrichment

  • New field observed_fee_recipient on PumpFunCreateV2TokenEvent, filled by pumpfun_fee_enrich from buy-like events in the same transaction (gRPC + ShredStream), so downstream can mirror on-chain fee recipient without RPC.

Other fixes and features

  • More accurate is_created_buy detection (mint matching), CREATE / creator offset fixes, ShredStream client and example, geyser subscribe helpers and related utilities.

crates.io packaging

  • Direct dependency solana-signature = 3.3.0; removed [patch.crates-io] solana-keypair so cargo publish verification succeeds.

Install

sol-parser-sdk = "0.3.1"

Zero-copy parser:

sol-parser-sdk = { version = "0.3.1", default-features = false, features = ["parse-zero-copy"] }

Full commit range: v0.3.0...v0.3.1