Limit order trading
Market makers quote bids and asks on a WSOL or USDC pair.
Solana · OpenBook market
Create an OpenBook market for your SPL token with custom lot sizes and get its market ID for order book trading.
To create an OpenBook market on Solana, pick your SPL token as the base mint, choose WSOL, USDC or another SPL quote, set the base and quote lot sizes, and approve two transactions. The form deploys an OpenBook V1 market and returns its market ID. You need one for order book trading on OpenBook, not for the Raydium CPMM pools Slingzero's pool form opens. The second transaction carries 0.025 SOL.
Only for order book trading on OpenBook V1, or an SDK call that asks for a market ID.
| What you want | Market needed? | Why |
|---|---|---|
| Raydium CPMM pool (Slingzero's pool form) | No | CPMM is a standalone constant-product program |
| Raydium CLMM pool | No | Concentrated liquidity has no OpenBook link |
| Raydium AMM v4 pool via SDK | A market address | Initialize2 seeds the pool's PDAs from it |
| Limit orders on OpenBook V1 | Yes | Orders rest in this market's bids and asks |
Two transactions allocate seven accounts; InitializeMarket then links them.
Step 1: Create token vaults
Two 165-byte SPL Token accounts, one per mint, owned by the market's vault signer PDA.
Step 2: Allocate the market
Market 388 bytes, request queue 900, event queue 11,308, bids and asks 14,524 each.
Step 3: InitializeMarket
Instruction 0 of OpenBook V1 writes lot sizes, fee field, vault nonce and dust threshold.
Every account address is derived with createWithSeed from your wallet, so your signature is the only one needed. No open-orders, prune or crank authority is passed, which leaves the market permissionless. It works on mainnet-beta and Devnet.
Lots are raw integer units, so the right numbers depend on both mints' decimals.
The minimum order is the base lot divided by 10 to the base decimals. The price tick is the quote lot in quote units divided by that minimum order. The form previews both once it has read the two mints.
| Base token, quote | Minimum order | Price tick per token |
|---|---|---|
| 6 decimals, WSOL | 0.1 token | 0.00001 WSOL |
| 9 decimals, WSOL | 0.0001 token | 0.01 WSOL |
| 9 decimals, USDC | 0.0001 token | 10 USDC |
Both mints must exist on the selected cluster under the classic SPL Token program.
Mostly rent for the queues and order books, paid in SOL from your wallet.
Vault rent
Two 165-byte token accounts, first transaction.
Shown in your wallet
Paid in SOL
Market account rent
41,644 bytes across market, queues, bids and asks.
Shown in your wallet
Paid in SOL
Slingzero fee
Second transaction only, Devnet included.
0.025 SOL
Paid in SOL
Network fees
One signature on each of the two transactions.
Shown in your wallet
Paid in SOL
The review card reads rent from the network and shows the total before you sign. No tokens are deposited.
OpenBook V1 has no instruction that closes a market, so count this rent as spent.
Look up the market ID, then read the creation transaction's instructions.
Solscan checklist
The success panel links Solana Explorer; paste the market ID or signature into Solscan instead.
Every parameter is permanent, so mistakes cost a second market.
When something in your launch asks for an order book or a market ID.
Market makers quote bids and asks on a WSOL or USDC pair.
An Initialize2 call that expects a market address as its seed.
Test lot sizes against Devnet USDC before paying mainnet rent.
Same InitializeMarket call; the difference is keys, checks and recovery.
| Script or CLI | Slingzero form | |
|---|---|---|
| New accounts | Random keypairs that each co-sign | Seeded from your wallet, one signer |
| Interrupted run | Rebuild and track accounts by hand | Resume confirms known signatures first |
| Extra cost | Rent and network fees | Plus 0.025 SOL |
Quick answers on fees, wallet requirements, and what happens after you approve the transaction.
Still have questions?
Talk to the teamStep-by-step guides from the Slingzero blog for this tool.



