Instant market orders
USDC → YES / NO in one signed transaction
Quote and route through DFlow, decode the payload against a strict program whitelist, simulate on a Solana RPC, and sign — all in under three seconds.
PredictFlow is a conditional trading terminal for Solana prediction markets. Set limit orders, stop-loss, take-profit, and DCA strategies on Kalshi-style event markets — routed through DFlow, signed by your own wallet.
What it is
Most prediction-market venues ship only market orders. PredictFlow layers on the order types professional traders rely on — entirely client-side, entirely non-custodial — and routes fills through DFlow so you interact with real on-chain liquidity.
USDC → YES / NO in one signed transaction
Quote and route through DFlow, decode the payload against a strict program whitelist, simulate on a Solana RPC, and sign — all in under three seconds.
Fire when the market crosses your threshold
Set a price target on either side of YES or NO. A client-side monitor polls the live feed every 5 seconds and triggers your buy when the threshold is crossed.
Automated downside protection on open positions
Once you hold a YES or NO position on a market, the stop-loss tab unlocks. Set a floor price and PredictFlow closes out automatically if the market moves against you.
Lock in gains without watching the tape
Twin of stop-loss — set a ceiling and let the terminal exit when the market prints it. Ideal for binary outcomes that resolve sharply.
Dollar-cost-average into conviction plays
Split a budget across N purchases at a fixed frequency. Every tick runs through the same quote/decode/simulate/sign pipeline as a manual trade.
Four defenses before any signing prompt
Payload size check → @solana/web3.js decode → program-whitelist assertion → RPC preflight. A compromised or malformed DFlow response never reaches your wallet.
How it works
PredictFlow runs entirely in your browser. There is no backend server relaying trades, no custody of funds, no hidden order book. Every signed transaction goes through four independent safety gates before your wallet ever sees a prompt.
DFlow responds with a pre-built Solana transaction for the swap.
Every instruction is parsed and checked against a strict program allowlist.
Local RPC preflight catches any on-chain failure before you see a signing prompt.
Your wallet signs. Transaction lands on Solana in ~400ms.
Built for operators
Clone the repo, set your DFlow upstream, run npm run build,
and drop the output on Cloudflare Pages, Vercel, Netlify, or any static host. Ships with deploy configs for all four.
React + Vite. No backend to operate. All state lives in the browser — orders, positions, DCA strategies.
Strict connect-src allowlist. Only DFlow, Solana RPC, and wallet icons can make network calls.
Cloudflare Pages Functions proxy DFlow from the edge. Sub-100ms cold start globally.
Connect a Solana wallet, pick a market, and place your first conditional order in under a minute.