Sub topic 1
How Token Launches Work: Presales, Fair Launches, and DEX Listings
A token launch is the process that takes a token from a deployed contract to something the public can buy and sell. Each stage has its own ways to go wrong. This chapter explains the working model of the three most common launch styles so that later chapters can point to the exact place where a red flag matters. It is educational and is not financial advice.
Prerequisites
This chapter assumes you already have the following:
- You can create a wallet, copy an address, and send a transaction.
- You know what an ERC-20 token is and have swapped tokens on a decentralized exchange (DEX).
- You can open a contract or transaction page on a block explorer and find the "Transactions", "Holders", and "Contract" tabs.
- You can read short JavaScript and Solidity snippets. You do not need to write them.
The stages at a glance
Most launches follow the same arc. The order and the actors differ, but the same steps appear.
Presales
In a presale, the team sells tokens before the token trades on a DEX. Buyers send ETH, or a stablecoin, to a sale contract or a wallet. They receive tokens later, either by claiming them or by receiving them at listing.
Presales come in a few forms:
- Private rounds go to investors or insiders, usually at a lower price and with vesting.
- Public presales are open to anyone, often on a launchpad (a platform that hosts sales for many projects).
- Whitelisted sales limit participation to approved addresses.
Presales have two properties that matter for risk:
- You pay before you can verify the market. No pool exists yet, so no market price exists to check. The price is whatever the team announces.
- You depend on a later event. The team has to deliver the tokens, create the pool, and add liquidity. If they stop, your funds are stuck or gone.
A contract-based presale with a visible hard cap, a soft cap, and a refund path is safer than sending ETH to a plain wallet address. The soft cap is the minimum raise. If it is not reached, a well-built contract lets buyers withdraw their money. A sale that asks you to send funds to a personal wallet has no enforceable refund logic at all.
A private round matters to you as a public buyer even though you cannot join it. Early buyers who paid very little will often be the first sellers after listing. Later chapters cover how to read those allocations.
Fair launches
A fair launch has no private round and no pre-allocated insider purchases. In theory, everyone gets access at the same moment, at the same pool price. Common variants are:
- Direct DEX launches, where the deployer creates the pool and adds liquidity, and trading is open immediately.
- Liquidity bootstrapping or auction-style launches, where the price discovers itself over a set window.
- Bonding-curve launches, where a contract sells tokens along a fixed price formula and moves to a DEX pool once a threshold is reached.
"Fair launch" is a marketing label, not a guarantee. The label does not tell you who holds the supply. The deployer can mint or keep a large share of tokens in their own wallet and still call the launch fair. Bots also take part: they watch the mempool (the queue of pending transactions) and buy in the same block that liquidity is added. This is called sniping, and it means "everyone at the same time" often really means "bots first, people second."
DEX listings and liquidity
A listing on a DEX is not an approval process. On an automated market maker (AMM) such as Uniswap V2, anyone can create a trading pool for any token with a few transactions. No one checks the token's quality.
The usual sequence is:
- The deployer calls the factory contract's
createPairfunction, which creates a pool for the token and a base asset such as WETH. - The deployer calls the router's
addLiquidityoraddLiquidityETHfunction and deposits both assets in a ratio they choose. That ratio sets the opening price. - The pool mints LP tokens (liquidity provider tokens) to the deployer. These tokens are the claim on everything in the pool.
- Trading opens. Each swap changes the reserves, and the price moves with them.
The AMM's pricing rule is the constant product formula: x * y = k. Here x and y are the two reserves and k stays constant, ignoring fees.
A worked example
Say the total supply is 1,000,000,000 tokens. The deployer puts 500,000,000 tokens and 10 ETH into the pool.
- The opening price is 10 / 500,000,000 = 0.00000002 ETH per token.
- The fully diluted valuation (price times total supply) is 1,000,000,000 × 0.00000002 = 20 ETH.
- A buyer swaps 1 ETH. The pool now holds 11 ETH, so the token reserve must be 5,000,000,000 / 11 ≈ 454.55 million tokens. The buyer receives about 45.45 million tokens. This ignores the roughly 0.3% fee on Uniswap V2.
A single 1 ETH buy took about 9% of the pool's tokens. Pools this small move sharply on small trades, and the same thinking applies in reverse. The 20 ETH valuation is not the amount you could sell for. Only the 10 ETH in the pool could be paid out to sellers.
Who holds the LP tokens is the central question. Whoever holds them can withdraw the pool's ETH. If the deployer holds all the LP tokens and has not locked or burned them, they can pull the liquidity at any time. Chapter 5 covers locks in detail.
Checking a pool from code
This script reads a Uniswap V2 style factory and shows the pool's reserves. Set RPC_URL, FACTORY_ADDRESS, TOKEN_ADDRESS, and BASE_ADDRESS (for example WETH) in your environment.
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
const factory = new ethers.Contract(
process.env.FACTORY_ADDRESS,
["function getPair(address a, address b) view returns (address)"],
provider
);
const pairAddress = await factory.getPair(
process.env.TOKEN_ADDRESS,
process.env.BASE_ADDRESS
);
if (pairAddress === ethers.ZeroAddress) {
console.log("No pool exists for this pair.");
} else {
const pair = new ethers.Contract(
pairAddress,
[
"function token0() view returns (address)",
"function getReserves() view returns (uint112, uint112, uint32)",
],
provider
);
const [token0, reserves] = await Promise.all([
pair.token0(),
pair.getReserves(),
]);
console.log("pool:", pairAddress);
console.log("token0:", token0);
console.log("reserve0:", reserves[0].toString());
console.log("reserve1:", reserves[1].toString());
}The pool orders its two assets by address, so token0 tells you which reserve belongs to which asset. Reserves are raw integers. Divide by 10 to the power of each token's decimals before comparing them.
Where each stage can be abused
| Stage | What should happen | Red flag |
|---|---|---|
| Presale | Funds go to a contract with caps and refunds | Funds go to a personal wallet, no refund path, hard-to-verify caps |
| Presale | Buyers receive tokens at listing | Claim is delayed, "extended" repeatedly, or needs a new site |
| Fair launch | Everyone can buy at the pool price | Deployer wallet or a few linked wallets bought in the first blocks |
| Listing | Pool is created with meaningful liquidity | Tiny pool, or liquidity added only moments before promotion starts |
| Listing | LP tokens are locked or burned | Deployer holds unlocked LP tokens |
| Trading | Buys and sells both work | Sells fail or are taxed heavily (see the honeypot chapter) |
Common errors when judging a launch
- Treating "listed" as "vetted." A pool on a DEX or a price on an aggregator site only means someone created a pool.
- Reading market cap as money in the project. The valuation is a price multiplied by supply. The real exit liquidity is what sits in the pool.
- Trusting the contract name or ticker. Anyone can deploy a token with the name of a well-known project. Check the contract address against the project's official channels.
- Ignoring who bought first. On the explorer's transaction list for the pool, look at the earliest buyers. A handful of wallets taking a large share in the first block suggests snipers or insiders.
- Confusing renounced ownership with safety. Giving up the owner role closes some doors, but it does not say anything about allocation, liquidity, or hidden logic. Chapter 6 covers this.
Exercise
A new token has 1,000,000,000 supply. The pool holds 300,000,000 tokens and 3 ETH, and the deployer holds all the LP tokens, unlocked. A promoter says the token has a 10 ETH valuation. Is that number the amount holders could cash out, and what is the main risk in how the pool is held?
Show answer
The opening price is 3 / 300,000,000 = 0.00000001 ETH per token, so the full supply is valued at 1,000,000,000 × 0.00000001 = 10 ETH. That figure is only price times supply. Holders can only take out what is in the pool, which is 3 ETH, and large sells would push the price down well before then. The main risk is that the deployer holds all the LP tokens unlocked, so they can withdraw the 3 ETH at any time and leave holders with tokens that have no buyers.