ETHMilan26 - PropAMM, the revolution behind onchain liquidity

ETH Milan · 4 Jul 2026 · 10:29

DavideFi, co-founder of LFJ, introduces proprietary AMMs, the market maker reserves that now supply much of onchain swap volume. The talk explains how they quote from external prices, apply virtual curves and spreads to rebalance inventory toward a 50/50 split, and why many operate opaquely. It then presents an open model with public documentation, verifiable simulations and vaults that anyone can access.

Speakers

Topics

From ETH Milan; community: ETH Milan.

Transcript

So, who of you has ever heard of a proper AMM? Do you know what proper AMM is? Two people, okay. That's that's going to be interesting. If you are trading on major chains like Solana base and a few other chains might have the same. What currently most of the volume is not coming from actually AMM, we don't chain liquidity, but it's coming from proper AMMs, which in the past were were called dark pools. A proper AMM is basically A proper AMM is a product that has been in the industry a bit in the shadow in the past months,

but articles are starting to come out, and I want to introduce to you what proper AMMs are, giving a bit of background. I am from LFJ. What we do is decentralized exchanges started on Avalanche in 2021 after they innovated in the sector creating liquidity book, a concentrated liquidity protocol. So, we know something about AMMs in general. And when proper AMM started to happen, we wanted to look deeper into what are proper AMMs doing. So, the difference between proper AMMs is that liquidity doesn't live directly on a liquidity pool like traditional protocols like Uniswap or PancakeSwap

that you might know, where you are How the normal DEXes work is that you deposit liquidity, and this liquidity is used across a curve to offer it to anyone that uses the front end, I also known as the router actually of these protocols, and liquidity comes directly from the liquidity pools, and liquidity providers get a fee. The difference with proper AMMs is that liquidity actually is owned by the reserve of the proper AMM. Mostly proper AMMs currently are run by market makers or companies that have created this specific way to operate. They have uh somehow often unknown reserve of

liquidity for major assets, and they check on off-chain. So, they index on centralized exchanges the prices of selected assets, and offer it in what in the past could have been called RFQ, uh but it's not really like that liquidity to anyone that wants to make a quote. Uh so, when you are making a swap on a aggregator uh protocols like you modify is the biggest known on Solana, uh check what the price is supposed to be on off-chain on various centralized exchanges, offer the quote to the user often at a very convenient price

compared to on-chain liquidity, and then the user when gets a swap gets directly the liquidity from the proper AMM uh received to their wallet. Uh basically, the system works in a way that uh you have a price, which is the standard price uh of the centralized exchanges, and then as a user you want to get a quote. Uh the thing is that to run a successful protocol, you need to have a reserve of these assets, and reserves can vary. So, what do proper AMMs do in order for you to uh in order for you to get the amount of assets you want, which could be unlimited at any time, but they also

need to maintain inventory. It's that besides what's called the central price, which is the price that the exchanges are saying, they are also calculating a possible spread. So, the bigger the size of your swap, the more they apply a virtual curve to your swap. So, even though the reserve is fixed and there's no real curve on the actual AMM on the actual reserve, what's happening is that simulating a potential curve based on their internal pricing and then they're offering you the amount of assets that you have requested with a simulated curve and add them possibly a spread on top. Why would there be a

spread in general? Here I am simulating a moment where just accelerated off this balance of the pool. So, basically what we are looking for is imagine you want to make a swap that will move the pool all to the left. What we know is that we are moving in this screenshot for example the the virtual price on the curve for by 53 bips and therefore we are calculating the amount of tokens that you can actively get and offering you the the quote for this assets. Why is this important?

Because the vaults are aiming always to keep the liquidity at 50 50%. Let me explain this concept of how vaults of proper AMMs are working because the thing is that proper AMMs are very obscure and we at LFJ are building an open proper AMM, which means all documentations are actively readable, anyone can do the same simulations, anyone can we are opening the retail vaults, so anyone can uh into these vaults and directly participate to the fee generations of this proper MM. So, why do we need to keep the liquidity reserve at 50/50?

Because let's say that the the reserve is under K and imagine someone wants to swap $20,000 of tokens. What the proper MM does is that we look at the active price uh and we personally from NFG do not only use centralized exchanges uh but on Monad we are actually on the first block generation reading all the actual prices of any decentralized exchange available on the chain and mix the centralized exchange price and uh on-chain price for to provide a real price for for what the true price should be, what we call the central price. Then uh uh as we mentioned there is we had a

pool perfectly 50/50, but as what uh from Andre Cronje moved the reserve to imbalance uh to 40/60. Our protocol, what it does is that it moves the spread of the pool that is in this balance, so of which we have less tokens, a bit to the side. So, let's imagine that uh now that now we have the 40 uh thousand the 40% pool, how can we incentivize the pool to go back to 50/50 as fast as possible? We apply a premium to the side that is uh getting emptied, so the 40% and we

apply a discount to the side that has too much liquidity, so that we are incentivizing uh swappers, um arbitrageurs, uh market maker of all sorts to try to rebalance the pool by getting the opportunity that is available from this. The purpose of the proper AMM is to always keep the reserve at 50/50 at all time while uh generating the highest amount of fees at any block, but never rejects a quote. Uh it just applies the virtual curve in case users want to swap a bigger amount from the pool that will automatically put the

pool in this balance. Uh the I mentioned public proper AMM versus closed because the majority of proper AMMs out there uh I mean 100% of the proper AMMs, if you research, you will not find what they are doing. And often uh they get uh they're getting a bad reputation right now because given that there is no active liquidity and users are just accepting a quote, uh but with a spread in front of an aggregator, uh there are some mispractices from uh some nasty proper AMMs that when they are offered on the aggregator, uh users accept the quote, and then actually they get a worse amount because the proper

AMM knows the spread that was applied and accepts that the virtual curve that they were simulating for you gets a bit nastier than the original simulation. Uh that's why proper AMMs, besides are capturing a very big portion of volume like on Solana they are achieving almost 70% of the volume uh up to 1 month ago uh with the leading with the leading uh projects capturing most of the volume. But what we are doing as a public proper AMM is indeed to make it real code that anyone can understand.

Uh anyone could technically operate, uh but we operate it for the users, for the pools that we are opening for this. What matters for us as a key differentiator is actually that we are building it in public so that we are not going to apply any possible deceiving practice. It's just pure math that everyone can reproduce. And I'm saying that this is very important because the because it is not very transparent what you're looking for from a proper MM generally.

So this is going to being an open protocol is very important. You can figure out very well what matters. If you're curious to know more, you can stop me today and tomorrow. I'm David I. Thank you very much for listening.

Related talks