FREE PLAYGROUND · AMM

AMM Free Lab

Change swap size, inspect fees, become an LP, and withdraw liquidity. Every number is virtual.

SIMULATION ACTIVE0.30% fee
POOL 001 · CONSTANT PRODUCT

Credits / TOKEN

The pool does not wait for another order. Its reserve ratio produces the next quote.

Spot price120.00credits / TOKEN
Credits reserve120,000X
TOKEN reserve1,000Y
Fees collected0in pool
k growth0.00%vs. initial pool
Reserves in motionx · y = 120,000,000
Credits
120,000
TOKEN
1,000

Swap fees stay in the pool and slowly grow k; adding or removing liquidity also changes the reserve scale.

Coach

Start with the two reserves, then drag the swap size. Small trades stay near the spot price; large trades travel farther along the curve.

Pool events1 EVENTS
  1. 01

    Pool created: 120,000 credits + 1,000 TOKEN,initial price 120 credits / TOKEN。

ACTION HISTORYExperiment timeline
1 state snapshots

Use the slider to return to an earlier step. Continuing from there replaces the later history with a new sequence.

Initial state
View experiment records →

Not sure where to start? Try these four experiments.

01

Buy a little TOKEN with credits, then scale up and compare spot with execution price.

02

After a swap, inspect k: which side of the pool keeps the fee?

03

Deposit 12,000 credits and 100 TOKEN, become an LP, then withdraw half.

04

Trade repeatedly in one direction and watch reserves push the price back.