Buy a little TOKEN with credits, then scale up and compare spot with execution price.
AMM Free Lab
Change swap size, inspect fees, become an LP, and withdraw liquidity. Every number is virtual.
Credits / TOKEN
The pool does not wait for another order. Its reserve ratio produces the next quote.
Swap fees stay in the pool and slowly grow k; adding or removing liquidity also changes the reserve scale.
Start with the two reserves, then drag the swap size. Small trades stay near the spot price; large trades travel farther along the curve.
- 01
Pool created: 120,000 credits + 1,000 TOKEN,initial price 120 credits / TOKEN。
Use the slider to return to an earlier step. Continuing from there replaces the later history with a new sequence.
Not sure where to start? Try these four experiments.
After a swap, inspect k: which side of the pool keeps the fee?
Deposit 12,000 credits and 100 TOKEN, become an LP, then withdraw half.
Trade repeatedly in one direction and watch reserves push the price back.