Integrations
Siren is a thin, opinionated layer that sits on top of several battle‑tested protocols and services. This page is the high‑level map.Kalshi + DFlow
DFlow is how Siren connects to Kalshi prediction markets. Used for:- Fetching live markets and probabilities
- Getting quotes for YES/NO trades
- Submitting orders & transactions
DFLOW_API_KEYDFLOW_METADATA_API_URLDFLOW_QUOTE_API_URL
Polymarket
Polymarket is Siren’s second live signal source. Used for:- Fetching active markets from the Gamma API
- Reading order book snapshots from the CLOB
- Detecting fast probability moves in parallel with Kalshi
- Feeding the same Siren signal feed and token-matching flow
POLYMARKET_API_KEYPOLYMARKET_SECRETPOLYMARKET_PASSPHRASEPOLYMARKET_HOST
Bags (token launch + routing)
Bags powers meme token launches and fee routing. Used for:- Creating and configuring new tokens
- Setting partner/fee share
- Surfacing on‑chain token stats
BAGS_API_KEYBAGS_PARTNER_CONFIG_KEYBAGS_REF_URL
Jupiter (swaps)
Jupiter is used for token swaps inside Siren. Used for:- Swapping SOL ↔ tokens
- Routing through the best venues
JUPITER_API_KEY
Supabase (database + admin)
Supabase backs Siren’s basic data layer. Used for:- Waitlist (
waitlist_signups) - Users (
userstable with wallet, auth user id, signup source, country) - Admin queries for investor‑ready dashboards
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEY
Privy (auth + embedded wallets)
Privy is used for social auth + embedded wallets. Used for:- Social login via Google, GitHub, X
- Creating embedded Solana wallets for execution
- Creating embedded EVM wallets for Base / Ethereum / Polygon accounts
- Managing sessions and wallet export flows
NEXT_PUBLIC_PRIVY_APP_ID
Resend (emails)
Resend sends welcome + access‑code emails to early users. Used for:- Access code emails when admins generate codes for waitlist signups
RESEND_API_KEYSIREN_EMAIL_FROMSIREN_APP_URL
Putting it together
At a high level:- Supabase stores waitlists and users.
- Kalshi / DFlow power the current in-app prediction market trade flow.
- Polymarket powers the second live signal source.
- Bags creates tokens and routes fees.
- Jupiter trades tokens.
- Privy authenticates users and provisions embedded wallets.
- Resend handles email.