Bags integration
rug / run is built on top of Bags. The integration is functional, not cosmetic.
Where markets come from
The oracle subscribes to the Bags SDK launch feed (PRE_GRAD and MIGRATED statuses). When a token's 24-hour volume crosses $10,000 USD, the oracle automatically calls create_market for that token. No human gatekeeping.
Token identity
The frontend hydrates token name, logo, and creators from Bags via a server-side proxy at /api/bags/metadata. If Bags returns partial metadata for a given field, the proxy falls back to DexScreener field-by-field — so a missing logo doesn't blank the whole card.
The BAGS_API_KEY is server-only — it is never exposed to the browser.
Creator-fee plumbing
create_market calls getTokenCreators once at market creation and caches the creator list on-chain in the market account. Every subsequent trade uses the cached list — no Bags API hit per trade. This means the creator-fee payout works even if Bags is offline.
Links back to Bags
Every market card and detail page links to its bags.fm/{mint} page so you can cross-check the token, see Bags-native activity, or trade on the source pool directly.
$ROR token
The protocol's own token, launched on Bags 2026-05-11. Mint: AswgLrwXBqexF3HN3A1KA5N4X35WWQvPBT7SvNYEBAGS (trade on Bags · Solscan).
Total supply 1,000,000,000 (1B), 9 decimals. 1% creator fee on every $ROR trade routes back into the protocol via the same Bags creator-share plumbing every market here uses.