Getting Started
Deposit Pool Inventory
Before the Maker SDK can fill swaps, your maker_pool needs token inventory. Your pool is the counterparty in every swap you win — it sends token_out to the taker and receives token_in from the taker.
Why does the pool hold inventory?
Atomic on-chain settlement requires the pool to already have the output tokens at the time the transaction executes. There is no flash-loan or JIT liquidity — the pool holds a real pre-funded balance. This guarantees that any accepted quote can always be settled.
How to deposit
Deposits are done from the dashboard, not a script. Go to /maker → Inventory, enter a USDC or EURC amount, and click Deposit. Each token is a 2-transaction flow that Freighter walks you through:
TX 1 — approve (token.approve → your pool)
TX 2 — deposit (pool.deposit moves tokens into the pool)Frontend-driven: The old standalone deposit-vault-inventory.ts script has been removed. Deposits and withdrawals both run through the /maker Inventory tab, signed in Freighter.
Check your balance
curl https://hyperdex.onrender.com/api/makers/YOUR_ADDRESS/inventory
# → { "usdc": "1000.0000000", "eurc": "500.0000000" }EURC Inventory: EURC inventory is required for USDC → EURC swaps. Fund your maker wallet with mainnet EURC (buy on an exchange or acquire via the Stellar DEX) and deposit it before going live.