The distribution play. Every Solana app is built on some combination of Jupiter, Raydium, Pyth, Meteora, Jito, … — each with its own silent footguns. A pack per protocol means you opt into research + enforcement for the exact stack you build on, before a line is written:
brainblast --packs jupiter,pyth .
Three new protocol packs (opt-in, pure-data, proven RED → GREEN)
pyth-price-unchecked-staleness—getPriceUnchecked()(ignores staleness) →getPriceNoOlderThan(maxAge). Pairs with the livebrainblast oraclecheck.meteora-dlmm-zero-min-out— DLMMswap({ minOutAmount: new BN(0) })removes the slippage floor (sandwich exposure).jito-bundle-zero-tip— a Jito bundle sent with a0tip is deprioritized and never lands, while the send call still returns a bundle id.
Joins the existing Jupiter, Raydium, Metaplex, Solana-sendtx, and SPL packs — 8 bundled protocol packs.
Distribution UX
brainblast --packs <name>resolves a protocol name ("jupiter", "pyth") to its bundled pack, not just a path.brainblast packslists the library. Packs ship inside the npm package, sonpx brainblast --packs jupiter,pythworks with no checkout.object-arg-property-forbidden-literalis nowBN(0)-aware — flags the idiomaticnew BN(0)/BN("0")/anchor.BN(0), not just bare0.- A CI guard validates every bundled pack RED → GREEN. 439 tests green.
Also in this release
- Rename (corrects v0.7.5):
brainblast economics→brainblast fee-configs; checkereconomic-value-zero-or-missing→fee-configs-zero-or-missing; the feature is the Fee Config Validator. Themetaplex-seller-fee-zerorule id is unchanged.
npx brainblast@0.7.6 packs
The brainblast CLI publishes to npm automatically via the brainblast-v0.7.6 tag (publish-cli workflow).