Skip to content

sol-parser-sdk v0.6.6

Choose a tag to compare

@0xfnzero 0xfnzero released this 30 Aug 00:25
· 16 commits to main since this release

Highlights

  • Add pre_token_balance and post_token_balance to PumpFun trade events using raw mint units.
  • Add pre_sol_balance and post_sol_balance using lamports.
  • Fill balances directly from Yellowstone transaction metadata without additional RPC calls.
  • Preserve balance snapshots across PumpFun buy, sell, and exact-input variants.

Performance

  • Reduce end-to-end PumpFun Yellowstone parsing from 6.7349 us to 4.4293 us on the captured fixture (34.23%).
  • Avoid repeated base58 decoding for known program invoke/success logs.
  • Encode recent blockhash once after log/instruction deduplication.
  • Add fast rejection paths, lazy invoke tracking, and single-event deduplication.

Validation

  • Add a captured Yellowstone transaction fixture and reproducible Criterion benchmarks.
  • Validate token balance deltas against parsed trade amounts with fixture and live gRPC tests.
  • Pass all targets with the perf-stats feature enabled.