create-v3-pools
Creates Pool<YES, DUSDC> + Pool<NO, DUSDC> on DeepBook V3 via create_permissionless_pool (500 DEEP fee each). Writes pool ids back into registry.json. Skips legs whose pool already exists.
The script auto-buys DEEP with SUI when the book can fill, else exits with the exact ask.
Testnet DEEP had been blocked until 2026-06-11. The DeepBook team granted 1000 DEEP + 200 DUSDC and pool creation worked exactly as designed. The full 1000 DEEP was consumed as the 2×500 creation fees (tx
3Bq5VDoacnmgdHU6WfHaMVxkwC7LD5U86MUYFxetYm6W).seed-v3-liquidity
Bootstraps a two-sided book on both pools in one PTB:
- Mint YES + NO pairs from wallet DUSDC (5% fee headroom).
- Deposit tokens + bid funds into a BalanceManager (created + shared in-PTB, or reused via
--bm). - POST_ONLY bid/ask per pool with
pay_with_deep=false(input-token fees).
Exits 3 with DEEP guidance until
create-v3-pools has run.
The seeder BalanceManager id (printed at first run) gets reused via --bm to top up or re-quote without re-creating.
