Skip to content

brainblast v0.7.6 — Protocol Pack Library

Latest

Choose a tag to compare

@DSB-117 DSB-117 released this 20 Jun 19:29
e3dda27

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-stalenessgetPriceUnchecked() (ignores staleness) → getPriceNoOlderThan(maxAge). Pairs with the live brainblast oracle check.
  • meteora-dlmm-zero-min-out — DLMM swap({ minOutAmount: new BN(0) }) removes the slippage floor (sandwich exposure).
  • jito-bundle-zero-tip — a Jito bundle sent with a 0 tip 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 packs lists the library. Packs ship inside the npm package, so npx brainblast --packs jupiter,pyth works with no checkout.
  • object-arg-property-forbidden-literal is now BN(0)-aware — flags the idiomatic new BN(0) / BN("0") / anchor.BN(0), not just bare 0.
  • A CI guard validates every bundled pack RED → GREEN. 439 tests green.

Also in this release

  • Rename (corrects v0.7.5): brainblast economicsbrainblast fee-configs; checker economic-value-zero-or-missingfee-configs-zero-or-missing; the feature is the Fee Config Validator. The metaplex-seller-fee-zero rule 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).