Skip to main content
The v0.3 build plan after the DeepBook V3 pivot. Each phase ships with: typecheck clean, Move tests green, frontend builds, one git commit.
[x] P0  Cleanup: drop internal AMM, Seal intent, dead env
[x] P1  Binary market template (Move) + create-binary-market scaffolder
[x] P2  V3 trading surface (server + frontend + mint/burn/redeem)
[x] P3  DarkPool vault on V3 (BalanceManager + TradeCap)
        Republished 2026-06-10; vault live on-chain, /dark-pool un-gated,
        deposit smoke-tested (scripts/vault-deposit.ts)
[x] P4  Real TradeCap agents (TradeCap id field + registration)
[x] P5  Resolution + redeem wiring (resolve-binary-market script)
[x] P6  Polish + tests + SETUP.md walkthrough

Resolved blocker (2026-06-11): testnet DEEP

DeepBook team granted 1000 DEEP + 200 DUSDC. Recovery executed exactly as designed:
  1. create-v3-pools.ts --execute → tx 3Bq5VDoa…: both pools created, full 1000 DEEP consumed as 2×500 creation fees.
  2. seed-v3-liquidity.ts --execute → tx AWPQu8g2…: 50 × bid/ask on both books at 0.45/0.45/0.55; seeder BalanceManager 0x2df7895f… (reuse via --bm).
  3. keeper-tick.ts --execute → tx 4wFHsCEU…: vault rests 1.9 YES + 1.9 NO asks @ $0.55 via TradeCap.
Mid 0.50onbothbooks.0.50 on both books. 10 market buy quotes ≈18.1 tokens. Running api server served new pool ids with no restart. Swap path proven both directions:
  • Buy tx CVTtziK1… (11.8YES@1 → 1.8 YES @ 0.55 ask)
  • Sell tx 7up4SZRj… (1.8 YES → 0.765@0.765 @ 0.45 bid)

Still open

  • Binary-market MarketCreated / PairMinted / MarketResolved indexing.
  • Optimistic Oracle bridge to settlement::mark_resolved (v0.4 republish).
  • Frontend mint attribution (currently only resolver redeem path + supply-plp script emit attribution events).
  • Per-agent activity stream from indexed binary::<slug>::Redeemed (today the data is read from chain at request time).