Repository navigation
v0.1.10 — PumpSwap quote routing and creator fixes
PumpSwap swaps now validate creator vault identities against the actual quote mint/token program before building instructions. This prevents the reported 3007 failure caused by default creator accounts. Custom quote pools, including ordinary Token-2022 quote mints, use explicit endpoint pairs; SOL-funded trades can prepare a complete conversion route.
- Adds cached quote preparation, bounded route selection and complete offline signing for direct and multi-hop trades.
- Honors explicit protocol and buyback fee recipients, including mayhem mode, and keeps direct/cache account privileges consistent.
- Marks the global volume accumulator readonly for Buy instructions to avoid an unnecessary shared write lock.
- Adds native TTWO buy/sell and full SOL→USDC→TTWO→target route regressions, signed local-bank execution, rollback checks and repeatable hot-path examples.
- Honors explicit fee recipients in mayhem mode, rejects incomplete JavaScript account inputs and aligns direct/cache account privileges with the Pump AMM IDL.
- Updates English/Chinese README versions, installation commands and the four-language version table.
Validation: Rust library/official quote checks passed (437 tests, 10 ignored); Node passed 4,513 tests plus type checking; Python passed 4,640 tests; Go package/full-repository checks and 12 repeated local-bank scenarios passed. Four native builders produce identical data and all 26 account metas for the shared reported-failure Buy fixture, with named privileges checked against the Pump AMM IDL. Packaged artifacts are checked separately before upload.
The reported transaction was dev/null / WSOL; it does not establish a missing TTWO conversion. Local-bank tests use captured public programs/accounts and synthetic wallets. Current mainnet acceptance and transaction-landing latency are outside those offline checks.
Install npm version 0.1.10:
npm install sol-trade-sdk@0.1.10