Get ready!
AMM Coin Launches for Dummies π
What is an AMM?
An Automated Market Maker (AMM) is a system that sets token prices and fills buy orders automatically. Instead of using traditional buyers and sellers like a stock market, an AMM uses a pricing formula and a pool of available tokens to handle trades.
When a new coin launches on focus, the AMM starts with a set amount of tokens at different price levels. Buyers place bids, and the AMM fills the highest bids first, giving buyers tokens from the cheapest available price levels.
How AMM Pricing Works on FOCUS
When a new coin launches, the AMM is configured with four key settings:
- Start Price: The lowest price at which tokens will be sold. (Example: $0.001)
- Price Increase %: How much the price increases per level. (Example: 10%)
- Final Price: The highest price at which tokens will be sold. (Example: $10.00)
- Total Tokens in AMM: The total supply of tokens available in the AMM. (Example: 97,000 tokens)
Example Scenario
AMM Price Levels Before Any Orders
We're Launching Dummies coin The AMM Settings are as follows:
Start Price: $0.60
Price Increase: 10% (to simplify well say this is just a flat 10c Increase)
Final Price: $1.00
Total Tokens in AMM: 5000
The AMM will create levels from the start price to the end price each one going up by the amount set in price increase. In this example there are 5 levels, so we distribute the total tokens in the AMM evenly between the 5 levels which gives us:
π° $1.00 β 1,000 tokens
π° $0.90 β 1,000 tokens
π° $0.80 β 1,000 tokens
π° $0.70 β 1,000 tokens
π° $0.60 β 1,000 tokens
Total: 5,000 tokens in the AMM
How Bids Are Filled
Buyers place bids, and the AMM fills the highest bids first, pulling from the lowest available price upwards.
Letβs look at the order book for 4 buyers placing bids for this new token launch.
Username | Tokens bid on | price per token |
---|---|---|
Bob | 500 | $1.00 |
Alice | 1200 | $0.90 |
Charlie | 1500 | $0.85 |
Susan | 2000 | $0.75 |
Now let's see how the tokens in the AMM are distributed at launch
Bob's Order (500 tokens at $1.00)
β
Bob places an order for 500 tokens at $1.00.
β The AMM fills his order at the cheapest available level ($0.60).
β Bob pays $1.00 per token, but the AMM only βsellsβ the tokens from the $0.60 price level.
π Bob pays: $500
π The AMM keeps: $200 profit (the use for this is still undecided by Nader)
π Remaining at $0.60: 500 tokens left
Aliceβs Order (1,200 tokens at $0.90)
β Alice places an order for 1,200 tokens at $0.90.
β The AMM fills her order starting at $0.60 (500 tokens).
β Then, the AMM fills the rest (700 tokens) at $0.70.
π Alice pays: $1,080
π The AMM keeps: $360 profit
π Remaining at $0.70: 300 tokens left
Charlieβs Order (1,500 tokens at $0.85)
β Charlie places an order for 1,500 tokens at $0.85.
β The AMM fills his order starting at $0.70 (300 tokens).
β Then, the AMM fills 1,000 tokens at $0.80.
β Charlie still needs 200 more tokens, but there are no tokens left below $0.85.
π Charlieβs order is only partially filled with 1,300 tokens.
π Remaining at $0.80: 0 tokens left
Susanβs Order (2,000 tokens at $0.75)
β Susan places an order for 2,000 tokens at $0.75, but there are NO tokens left at $0.75 or lower.
β Her order is completely unfilled.
Key Takeaways
- The Highest Bids are filled from the cheapest price levels first.
- You must bid high enough to guarantee tokens but youβll still get the lowest possible price.
- The AMM keeps the difference when buyers overpay (e.g., Bob paid $1.00 but got tokens at $0.60).
- If your bid is too low and tokens run out before reaching your price, your order wonβt be filled.
Hi, thanks for the detailed explanation. I though I did understand the token sales auction but I miss totally a step. I hope that you can tell me what I do wrong so that I can learn this for the next time
Example of a launch:
The amm was
0.001 - 1k
0.0011 - 1k
0.00121 - 1k
0.001331 - 1k
0.001464 - 1k
0.001611 - 1 k
0.001772 - 1k
0.001949 - 1k
0.002144 - 1k
initial bids were
person a , 0.001 for 3K coins
person b, 0.011 for 1K
person c, 0.001256 for 6K
person d, 0.001946 for 3K
According to your description, my thoughts
I will bid with 0.002144 for 8k
There were no other bids so, With my highest bit , 0.002144, I can fill every previous level / sell from the AMM
But this was not happening
Results:
I got only 2k for a price of 0.002144.
What am I doing wrong because I do not get the picture at all. If you look at the recent sell trades of the AMM for user btcabi, most of them are for the price 0.0022
I do not get it at all
Thank you so much already !!
Thank you for such a clear explanation. This is such valuable and important information for new users and users who haven't been exposed to this type of system.
Thanks @imoliver, very helpfull. Does it work like that on openfund as well when you place a marketorder for focus or deso?
Good explanation
Thanks @imoliver , great explanation.
Please tell me if I am wrong. Unless your bid is right on spot and the pool is large enough, you always pay more than the real price of the coin at that moment or you can't buy all the coins you ordered. AMM always wins!