Docs
How BYLINE works
Calls with receipts, explained end to end.
Overview
BYLINE turns a prediction into a receipt. A call is a real YES or NO position on Panta, a prediction-market protocol on Solana, signed by your wallet and settled by the market. Your byline is a public page that scores every call you have made, using data read directly from Panta and the chain.
The app is organised around a few surfaces: the Sports slate, Markets, Fan desks, the Leaderboard, Create market, AI Brief, and My bets.
Getting started
- Install a Solana wallet such as Phantom, Solflare or Backpack.
- Fund it with USDC (for positions) and about 0.01 SOL (for network fees) on the Solana network.
- Press Connect in the top bar. There's no sign-up: your wallet address is your identity.
Making a call
Open any open market and use the Your bet panel:
- Choose YES or NO and an amount in USDC.
- BYLINE requests a live quote from Panta: shares, average price, fee and payout. Quotes expire in about 90 seconds and refresh automatically.
- Set your maximum slippage (0.5%, 1% or 3%). If the price moves past it before you sign, you get a fresh quote instead of a worse fill.
- Approve in your wallet. BYLINE broadcasts the transaction, waits for confirmation, and registers it with Panta for attribution.
Panta's API supports buying primary positions, not selling, so every call is held to resolution. That's what makes it a receipt: you can't quietly exit a bad call. Taking the other side of someone's pick is called Bet against.
How bylines are scored
Every number on a byline is derived from your Panta positions:
- Record: wins and losses on resolved markets.
- Hit rate: wins ÷ resolved calls.
- Edge vs market: hit rate minus the average entry price you paid. If you bought at 40¢ on average and won 60% of the time, your edge is +20 points. Winning heavy favourites doesn't inflate it.
- ROI: (payouts − cost) ÷ cost on resolved calls, using the actual claimed payout. On Panta a winning share doesn't always pay exactly $1, so BYLINE never assumes it does.
- Streak: consecutive wins or losses, most recent first.
Fair-play rules: markets where a wallet holds both YES and NO are marked hedged and excluded from scoring. Shares received at zero cost carry no price signal and are left out of edge. The leaderboard requires at least 3 resolved, unhedged calls.
Divisions rank bylines by skill and sample size:
- Diamond: 10+ resolved calls and at least +15 points of edge.
- Gold: 5+ resolved calls and at least +5 points of edge.
- Silver: 3+ resolved calls and non-negative edge.
- Bronze: 3+ resolved calls.
- Rookie: fewer than 3 resolved calls.
Creating markets
Use Create market, or Create this market on any game in the Sports slate. For real fixtures, BYLINE pre-fills the question, a precise resolution rule, the official ESPN match page as source of truth, times based on the sport's typical length, and the team logo as the image.
- Standard markets must open at least one hour in the future. Games starting sooner become breaking markets that open immediately.
- You pay Panta's creation fee, part of which seeds the market's liquidity. The exact amount is shown before you sign.
- Once it has enough betting, the market accrues creator fees you can claim from My bets.
Claims and payouts
When a market resolves, your My bets shows positions that are claimable. Press Claim winnings, approve in your wallet, and the payout lands in your wallet. Creator fees on markets you created are claimed the same way.
Sports data
Fixtures, live scores and results come from ESPN's public scoreboard for the Premier League, Champions League, LaLiga, NFL, NBA, MLB, NHL and UFC. Panta markets are matched to games by team names and aliases (“Spurs”, “Man Utd”) plus the market's trading window. The feed is cached for two minutes, and leagues that fail to load are reported, never hidden.
Panta integration
BYLINE uses the full Panta API, server-side, with the API key never sent to the browser:
| GET /markets/, /markets/{id}/, /categories/ | Catalog, live prices, phases, Forge categories |
| GET /markets/{id}/trades/ | Trade tape, Markets blotter, leaderboard discovery, AI Brief inputs |
| GET /wallets/{w}/trades/, /positions/ | Track records, My bets, leaderboard scoring, claim eligibility |
| POST /primaryorderquote/ → build → submit → verify | Placing bets with a live quote and slippage control |
| POST /markets/create/quote/ → build → /markets/register/ | Create a market (Forge) |
| POST /markets/create/image-upload/ | Market image upload |
| POST /claim/build/, /claim/creator-fees/build/ | Claim winnings, claim creator fees |
| POST /trades/, GET /trades/{sig}/ | Attribution for buys and win claims |
Resilience: market detail responses that arrive incomplete are retried and merged with the last complete copy. Positions requests have timeouts with a trade-history fallback. Every request is validated against a schema, so malformed data never reaches the screen. Source code: github.com/angelraph/byline.
Security model
- Non-custodial. Panta returns unsigned transactions; your wallet signs; BYLINE never sees private keys or holds funds.
- Server-side secrets. The Panta key and the Solana RPC key stay on the server. The browser reaches Solana through a relay that only forwards the specific requests the app needs.
- Validated inputs. Every API route validates its input, and every on-chain step shows exactly what you're signing first.
Fees and risks
BYLINE adds no fees of its own. Panta charges a protocol fee on trades (shown in every quote) and a creation fee for new markets. Solana network fees are paid in SOL.
Prediction markets are risky: you can lose your entire stake, outcomes depend on the market's resolution source, and on-chain transactions can't be reversed. Read the risk disclosure before trading.

