Batched trading for curve coins
Everyone in the tick
gets the same price.
On a normal bonding curve, the order of trades inside a block decides who gets which price. Tickfair collects orders for one coin into a short batch, then runs the whole batch against the curve at once: all sells, then all buys. Every buyer in the batch pays the same average price; every seller receives the same average price.
Pick a coin
Loading…
–
–- Batch
- –
- Buy side
- –
- Sell side
- –
- Curve price
- –
The batch is priced against the curve's time-weighted average price (TWAP) over the batch, not a single moment. The window runs from the batch's open to its execution (at least 30 s). Execution only goes through while the live price is inside the band around the TWAP (otherwise it is retried), and each side fills only as far as its average price stays within the fill cap. If it cannot execute before the execute window ends, everyone withdraws in full.
You can cancel until the batch closes. After it executes, claim your fill. Curve fee 1% per side applies; Tickfair's own fee is shown above. Orders are capped at a share of the curve's reserves. If the whole batch would move the price past the fill cap, only the part that fits inside the cap is filled and the rest comes back to everyone on that side pro-rata.
Your orders
Connect a wallet to see your orders.
Recent batches
| # | State | Buys | Sells | Avg buy | Avg sell |
|---|
How a batch works
- Collect. For about half a minute, buyers deposit SOL and sellers deposit tokens into the coin's current batch. Cancel any time before it closes.
- Release. When the batch closes, anyone can execute it. The program sells all deposited tokens to the curve in one trade, then buys with all deposited SOL in one trade.
- Claim. Each buyer gets tokens in proportion to the SOL they put in; each seller gets SOL in proportion to their tokens. Same average price for everyone on a side. Rounding is always down, so claims never exceed what the batch received.
What Tickfair can and cannot do
- It removes ordering games inside a batch. Nobody in the batch can get in front of anybody else in the batch: one price per side.
- It resists sandwiches. The reference price is the curve's own time-weighted average over the batch. A price pushed inside a single transaction has no weight in it, and if the live price is out of band at execution the execute transaction fails, which also unwinds the attacker's own trades in that transaction.
- It bounds, it does not eliminate. Someone can still trade the curve inside the band just before execution, and a price that really moves and stays moved becomes the new average. Each side's average fill is capped relative to the average (curve fee included; buys against the harmonic mean, sells against the arithmetic mean); beyond the cap a batch fills only partly. Pushing the live price out of band only delays execution, it cannot force a refund.
- It cannot stop outside traders from trading the curve directly before or after a batch.
- Your funds are always recoverable without us. If a batch cannot be executed within its short execute window, or the coin stops trading, every order can be withdrawn directly from the program.
- No profit promise. A same price is not a good price; curve coins are very risky. The program has not been audited yet.