What Pegana does
Pegana watches 22 active pegged assets on Solana mainnet in real time (plus one frozen entry). For every asset, we compare market price to intrinsic value, smooth the spread with an EWMA, and publish a peg state through a 5-state FSM: PEGGED · DRIFT · DEPEG · CRITICAL · UNKNOWN. When the state changes, we emit an alert. That’s the whole product.Who reads from Pegana
Lending & perps
Adjust collateral risk before a depeg cascades into liquidations.
Insurance protocols
Trigger payouts on confirmed depeg with credible third-party events.
AI agents
Pre-flight peg check before a swap, via MCP. Free reads, paid streams.
Six ways to consume
REST API
GET /v1/assets/:asset/state · JSON over HTTPS · no key · soft rate limit.WebSocket
Sub-second peg-state stream. Subscribe per asset over WSS.
MCP
Native Model Context Protocol for Claude, Cursor, Cline. Free + paid.
Webhooks
Ed25519-signed POST on every state transition, with delivery history and replay.
Embed widget
320 × 86 iframe. ~3 KB HTML.
<iframe> and you’re done.Telegram bot
Human-readable alerts via
@PeganaWatchBot. No wallet, no API key.Coverage
22 active assets across 6 classes — mainnet only, no devnet feeds. Source of truth:assets.toml.
Class (assets.toml key) | Count | Examples |
|---|---|---|
SOL-pegged LSTs (lst) | 8 | jitoSOL, mSOL, bSOL, INF, bbSOL, JupSOL, hyloSOL, hyloSOL+ |
Fiat stables (stable_fiat) | 3 | USDC, USDT, PYUSD |
Yield-bearing (stable_yield) | 7 | USDY, sUSDe, sUSD, syrupUSDC, sHYUSD, ONyc, pbUSDC |
CDP-collateralized (stable_cdp) | 2 | USDS, hyUSD |
Delta-neutral (stable_dn) | 1 | USDe |
Leveraged synthetic (synth_lev) | 1 | xSOL |
assets.toml but not actively polled, so not in the 22):
dSOL — soft-deactivated after the Drift exploit on 2026-04-01, no live
counterparty for redemption. BRZ (FX-pegged), EURC, JupUSD, JLP, dzSOL,
vSOL — Phase 0 additions deferred per ADR-0002 (pending a market source).
What we promise
- Methodology is public. Every threshold, every source, every smoothing parameter lives in /methodology. No black box.
- MIT licensed. All code in
github.com/lrafasouza/pegana. - No API key for reads. REST, WebSocket and Embed are public. Only the MCP paid tools require x402 settlement.
- One source per asset class. We do not “blend” prices. Sanctum for LST intrinsic. Pyth for FX. Jupiter for routed market. Hylo for CDP collateral.
Next step
Quickstart — 5 minutes
Pick a channel, copy the snippet, get a real response.