How to setup a liquidity pool for your token
How to set up a liquidity pool
One of the most exciting moments for any web3 project is when your token becomes liquid. Decentralized exchanges have opened the door for a diverse token economy, where any literally, any token can trade and gain liquidity. An un-liquid token is all but useless. So letâs explore how to setup a decentralized liquidity pool for your token.
In this article Iâll cover:
- Setting up initial liquidity and how to set a token price in an AMM DEX
- How much liquidity do you need?
- Where does the liquidity come from?
- How to incentivize liquidity providers (LPs)?
This article assumes you have working knowledge of how AMM DEXs work and key concepts like slippage, TVL and trading fees. If youâre looking for a primer on how liquidity pools work in general, this article covers that.
Why liquidity matters
If youâre building in web3, tokenomics probably matters to your token. Itâs a rare project that doesnât utilize a token, and part of a token having value and utility is its ability to be liquid and tradable with other web3 currencies like ETH or LUSD.
Liquidity is what lets people become part of your project and importantlyâââutilize your token for whatever it enables. Having a well distributed token, will help your project get into enough of the right hands. Having this kind of distribution requires a good amount of liquidity for your token.
Distribution matters when youâre launching a token. If your token is held disproportionately by insiders, then outsiders will be wary of purchasing your token and becoming part of the movement. Why will they be wary? Because most of the tokens are out of their control and can be âdumpedâ on the market, diluting them. There are ways around this with proper vesting and emissions schedule, but itâs definitely an issue to be aware of.
The only way you can have a well distributed token is you provide liquidity for trading in and out of it. Which is why liquidity matters! So letâs get into covering measuring how much liquidity youâll need and how to setup a liquidity pool for your token.
How to setup a liquidity pool for your token
Choosing your home base AMM
When coming to launch a token, the first part is making sure it can trade somewhere. Today, the easiest option is using a protocol like Uniswap, Sushiswap, Pancakeswap etc to setup an automated market maker (AMM) liquidity pool.
Youâll want to consider two things:
- Which chain to launch on, which will affect what protocol you use
- What other crypto token youâll want to pair with yours
Choose the chain based on the type of project youâre launching. Games make the most sense on blockchains with low fees, such as Polygon or ImmutableX. Lower value NFTs can also make sense for these chains, as well as Solana or Avalanche. Higher value projects like DeFi make more sense on Ethereum or an Ethereum based rollup like Arbitrum or Optimism (this is a good guide to current and future rollups in the Ethereum ecosystem). Youâll also want to consider the geography of your user base as some blockchains are more popular in specific regions in the world (for example Binance Chain is very popular in the east).
The chain youâve launched on will affect the protocol you use. For example Uniswap is the most popular on Ethereum Mainnet and has the most liquidity and user adoption. On Polygon Sushiswap has great user adoption, whereas on Solana and other chains different protocols make more sense.
AMMs are based on token pairs. Youâll need to choose the base token your token will trade with. Pair your token with a popular token to provide the best amount of liquidity. The two main options are the native token of the chain youâve launched on or a stable coin. Using the native token (Matic, ETH, SOL etc) is usually the most liquid and lowest fee optionâââsince anyone trading on that chain must have the native token. However native tokens are more volatile than stable coins, which appeals to a different base of investors.
Once youâve chosen your home base itâs time to set your price and liquidity metrics.
Choosing an initial price for your token
âPrice is what you pay, value is what you getâ is a saying attributed to Warren Buffet, the greatest value investor of the past decade. How do you juxtaposition the price and value of your token?
Technically, setting a price for your token when creating a liquidity pool is incredibly simple. The ratio of tokens in your pool sets the price. 100 USDC to and 10 âMYTOKENSâ will set an opening price of 10USDC per âMYTOKENâ. Uniswap for example has a very easy interface for this:
The more important question is how do you reach that initial price.
The basics of token valuation
Setting an initial token price is very similar to setting an initial stock price at an IPO. A process that token launches have a lot to learn from. Set your price too high and the market wonât accept it, leaving early token holders unhappy as they watch the price drop. Price your token too low, and youâll be leaving money on the table. So how can you know how to price? Pricing can be simplified into three categories.
- Judging the supply and demand flows: utility, emissions etc.
- Evaluating the future financial reward of holding the token: understanding the DCF of the token and project.
- The Keynesian beauty contest of the token: What does the rest of the market think the token is worth? What will investor demand be for the token?
Valuation is a subjective field. Beauty really is in the eye of the beholder, and financial modeling and valuation is too long a topic to get into in this article. There are however two good rules of thumb to use:
- Comparable companies in the market
- Earnings per share multiple
Comparable companies: This is a simple methodology. You look at similar companies that have launched a token or their private valuation and use that as your benchmark. If a direct competitor is worth $20 million, than itâs not unreasonable to set a token price that reflects a $20 million valuation. The benefits to this method is simplicity. Thereâs a valid argument that the market knows best when it comes to pricing, and using the indications from the market is a simple and often useful technique. The risk in using comparable companies as your only benchmark is that youâre giving up on your own intuition and judgement on what your project is worth and letting the market decide.
For example if your initial token launch is 50% of your total token supply and youâre valuing your project at $20 million, youâll price âMYTOKENâ at $10.
At times, markets can be irrational and prices can be completely untethered to reality. In web3 and crypto, this happens often. If you price your token based on these market dynamics, youâll set yourself up for wild price swings.
Price to Earnings multiple: Price to Earnings. (P/E) is a common tool for evaluating stocks and is very useful for tokens as well. Stocks, and some tokens, give their holders the right to a future cash flow, designated by the earnings per share (EPS). Markets usually value these future cash flows at a multiple which takes into account what the market things about a few factors: the sector the company operates in, how stable or risky the future cash flows are, how likely they are to grow and so on. For example the S&P 500 is valued at a 19.5 P/E, meaning that investors are willing to pay 19.5 times the estimated earnings of the S&P 500 companies. You can read more about P/E here.
At the core of using a P/E model to evaluate the price of your token is having a financial model that estimates future earnings for your token and a mechanism that distributes those earnings to token holders.
Valuation is hard, but important. I highly recommend this article to get an overview of how to model and think about future earnings.
In any event, using one of these two methods should give you a decent price range to launch your token. Taking a lesson from IPOs, itâs better to price on the lower end of whatever you think the market can accept, so that your token price is well received and rises, leaving everyone relatively happy. A second rule of thumb is that once you price your tokenâââthe market will do the rest! If youâve underpriced or overpriced, the market will quickly show you what it thinks.
Once you think you know what price to set your initial token at, itâs time to think about liquidity. Spoiler: your price will affect your liquidity needs.
How much liquidity do you need?
As I covered in âLiquidity Pools: Everything you need to knowâ, an AMMs liquidity has a direct affect on how volatile price movements are. The more liquid, the more TVL, the less your tokenâs price will move.
The relationship between price movement and liquidity amount is directly formulated in the constant product formula âX * Y = Kâ. A rough rule of thumb is that in any given trade, price will move by slightly less than the volume of the trade as a percentage of the asset being swapped. Put simply: a trade whose volume is 10% of the poolsâ toke A liquidity will move the price ~9%. So given a pool with 10 ETH and 15,000 USDC, a swap of 1 ETH (which is 10% of the ETH in the pool) should move price by of ETH by ~9%.
So how much liquidity is enough? Youâll want the average trade in the pool to not cause price swings and slippage. If you anticipate the average trade being worth $1000 in âMYTOKENâ, youâll need your poolsâ âMYTOKENâ supply to be at least 100x that ($100,000)âââwhich would me a 1% price swing per average trade.
The larger your project, you should aim for a higher ratioâââof 1000x the average trade for two reasons. First, thatâs your average trade. Youâll definitely have larger ones and you donât want those few trades to move the price of your token that dramatically. Second, even a 0.1% price swing per average trade is a LOT. That means that every 10 buyers move the price of your token by 1% (technically more using the constant product formula). Most currencies donât move that much when millions of people trade them.
As a liquidity provider for your token, youâll want to balance two things:
- Having too little liquidity in your pool. This will cause high slippage costs and volatility, which would make it more costly for people to buy your token.
- Bearing the cost of providing all that liquidity. Providing liquidity can be expensive in terms of opportunity cost of capital and Impermanent Loss (IL).
This balancing act is delicate, and has some best practices. Letâs dive into the cost of providing liquidity.
The cost of liquidity
Providing liquidity to an AMM pool has two costs:
- Opportunity cost
- Impermanent Loss (IL)
The Opportunity cost of being an LP
Providing liquidity requires, well, liquidity. As in capital. The capital you provide to a liquidity pool has to come from somewhere. Whether youâre bootstrapped or youâve raised capital from investors, depositing capital into a liquidity pool means not using that capital to grow your project. Itâs money you canât use to hire, market or develop.
Donât misunderstand. This isnât capital that is going to waste. Itâs being used wellâââliquidity is incredibly important for your project. But it is capital youâre tying up and canât use for other thingsâââhence there is a missed opportunity for this capital. Itâs being locked up in an activity that isnât necessarily bearing the highest ROI but is necessary nonetheless.
For example youâve raised $4 million to build your project and just launched a token. You value your company at $20 million and 50% of your tokens are being distributed in your airdrop. You run some numbers and anticipate the average trade size being $2000, meaning youâll need at least $600,000 in liquidity from each asset to keep the price from moving too much with each trade. This means that youâll need $1.2 million in capital in the liquidity pool. 30% of the capital you just raised is going to provide liquidity. Thatâs 30% less budget you have to hire.
The opportunity cost for providing the necessary liquidity to ensure a liquid token can be costly (pun intended).
Opportunity cost matters not only to the project owner, but also to any other liquidity provider. They are locking up capital in one trade instead of another. Thus it must provide them with enough reward to make it worthwhile.
Impermanent Loss
The second cost to providing liquidity is the risk of Impermanent Loss (IL). I cover IL here, but briefly, itâs the possibility of that the total capital youâve deposited in a liquidity pool will be worth less than the value of that capital had you simply held it in your wallet. In essence, by depositing 1000 âMYTOKENâ and 10 ETH into a liquidity pool, in six months when you withdraw the liquidity youâll find that you might have been better off simply holding those tokens in your wallet, and youâve âlostâ money by providing liquidity.
Itâs important to note that this is relative loss, not an absolute one. Thatâs why I put âlostâ in quotes. Youâve lost money relative to what you could have gained, but in absolute terms you could still have capital gains. For example if the price of ETH goes up by 50% from the day you provide liquidity and the day you withdraw, your capital will increase, but not to the same amount of simply holding ETH outside of the liquidity pool. This is because of the dynamics of the constant product formula, X * Y = K, which I explain here.
While regular liquidity providers treat IL as a justifiable risk (they could be executing a more profitable trade), for builders this is part of the cost of doing business. Your goal with the liquidity pool capital isnât to make capital gains, itâs to provide capital for your token. IL is just part of the cost of doing business. Itâs an operational expense. Where IL does come into play is that other liquidity providers will be taking IL into consideration and it will enter their risk/reward framework. Especially for tokens in their early days that have just launched and tend to be more volatile.
Solving the liquidity pool conundrum
The way to balance between the cost to provide enough liquidity and the need for deep liquidity is to incentivize other liquidity providers to join your pool. This helps spread out the cost of liquidity among other participants. It doesnât come for free though. Just like thereâs a cost for you as the liquidity provider, thereâs a cost for them. LPs need to get excited about the opportunity to help shoulder the cost.
There are a few ways to do this including providing LPs extra rewards to increase their ROI, providing LPs special project based rewards or lower the risk profile of holding your token. You can read more about these strategies and best practices for rewarding LPs here.
On a high level, youâre giving away future upside in some form (tokens, perks etc) for capital assistance now, and the thing to beware of is that dynamicsâââgive too much away now and youâll regret it. Give too little and your LP incentives wonât be enough.
How to setup a liquidity pool for your token
Setting up liquidity for your token is one of the most important parts of your tokenomics. A liquid token lets more users partake in your ecosystem and gives credibility to your project. There are several steps we covered in this article:
- Choosing your environment: blockchain ecosystem and AMM protocol
- Setting a price for your token
- Assessing the amount of liquidity youâll need to provide smooth trading
- Incentivizing LPs
I design tokenomics for crypto protocols (all still in launch phase) and am putting everything Iâm learning into a super in depth course on Tokenomics. If youâre interested in my free email course on tokenomics, sign up here!
Designing Tokenomics by Yosh Zlotogorski
Web3 Research
đ§Â Ethereum Audible podcast
đ Ethereum Research
đ Governance research
đ Tokenomics course primer
đ Blog