Skip to content

brainblast v0.7.4 — Live On-Chain Intelligence

Choose a tag to compare

@DSB-117 DSB-117 released this 20 Jun 14:31
· 2 commits to main since this release
e4aa6ea

Answers, from live RPC, two questions Solana devs otherwise work out by hand on Solscan.

Is the upgrade authority a multisig? (extends trust-graph)

The RPC probe already resolved the authority address but could only mark it unknown. It now reads the authority account's owner program to classify it:

Owner program Verdict
System Program ⚠️ single-key (one key can replace the program)
Squads 🔐 multisig
SPL Governance (Realms) 🏛 dao
anything else unknown — owner recorded, never a false single-key

The renderer shows the classifying owner and an at-a-glance Trust line per program: authority · verified build · audited.

Is the oracle fresh? (brainblast oracle <account>)

A provider-agnostic freshness gate — instead of parsing each oracle's binary layout, it measures the universal signal: the slot of the most recent transaction touching the account vs. the current slot.

  • Reports FRESH / STALE / NO_HISTORY with slots/seconds behind.
  • --max-staleness-slots N / --max-staleness-seconds N (default 150 slots ≈ 60s).
  • Exit 1 on STALE or NO_HISTORY — drop it in front of any pricing path. --json for agents.

Works for Pyth, Switchboard, Chainlink, or any account whose freshness means "written recently."

Also

  • Classification fails safe: a wrong/missing owner id degrades to unknown, never a false single-key.
  • New /brainblast-oracle slash command; programmatic exports (classifyUpgradeAuthority, checkOracleFreshness, …). 20 new tests (407 total green).

npx brainblast@0.7.4 oracle <account>

The brainblast CLI publishes to npm automatically via the brainblast-v0.7.4 tag (publish-cli workflow).