Step by Step Flow

Phase 1 — Arrive & Explore (No Login)

  1. Landing: User opens Soundbet.online and can browse markets, trending news, prices, order book (read‑only), comments (read‑only), and docs (T&C, Privacy, About, Docs).
  2. Decision: User can connect later (continue exploring) or connect now to trade.

Phase 2 — Signup & Smart (Proxy) Wallet

  1. Connect: User opens Login / Connect and picks either an EOA (MetaMask/Trust/Coinbase) or a Magic.link key.
  2. Proxy Wallet Setup: On signup, the system derives a counterfactual smart account address (via CREATE2). No deployment cost yet.
  3. Session & Owner Keys: User signs to establish the session and confirm wallet ownership (owner = EOA or Magic.link).
  4. Result: If signature succeeds, UI shows connected address. If not, show retry error.

Phase 3 — Deposit (Multi‑Chain)

  1. Choose Chain & Token: User selects source chain and supported token (prefer USDC).
  2. Bridge Logic:
    • USDC path (CCTP): Burn on source chain → mint native USDC on Polygon hub.
    • Other tokens: Route via CCIP/Axelar adapter to Polygon.
  3. Credit & Confirm: Polygon hub DepositRouter credits the user’s Proxy Wallet and emits a receipt. UI updates balance.

Phase 4 — Trade on a News Market

  1. Select Market & Outcome: User picks a market and chooses YES or NO (+ amount).
  2. Quote: Backend returns the best execution path (AMM or order book), with fees and slippage.
  3. One‑Click 4337: Build a UserOperation (approve → buy) and optionally sponsor gas via Paymaster (or pay gas in USDC).
  4. Execute:
    • AMM path: Swap collateral → mint position.
    • Order‑book path: Settle matched orders on‑chain → mint position.
  5. Positions & Funds: ERC‑1155 position tokens are minted to the Proxy Wallet; collateral is locked in the market/LP.

Phase 5 — Exit (Sell Early or Hold & Claim)

  1. Exit Decision:
    • Sell before resolution: Burn position tokens; receive USDC back to Proxy Wallet (minus fee).
    • Hold to resolution: Market locks; Oracle reports; optional dispute window; finalize.
  2. Claim Winnings (if held): Burn winning tokens; receive USDC to Proxy Wallet.

Phase 6 — Withdraw or Reuse

  1. Next Step:
    • Withdraw: Keep on Polygon or bridge out to another chain.
    • Reuse: Keep USDC in Proxy Wallet for new trades (fast UX, bundled ops).

Search