Sub topic 5
What a Rug Pull Is and How It Differs from a Pump-and-Dump
This chapter assumes you understand wallets, blockchain transactions, tokens, and basic automated market makers. An automated market maker, or AMM, is a trading system that prices tokens from the assets held in a liquidity pool instead of matching buyers and sellers directly.
A rug pull is a crypto scam in which project insiders use their control over a token, contract, or liquidity to take value from other participants and leave them with a severely impaired asset. The “rug” is the support that buyers thought they could rely on: tradable liquidity, an honest token supply, or the ability to sell.
A pump-and-dump is a coordinated price manipulation scheme. Participants promote or buy an asset to push its price up, then early holders sell into the demand created by the promotion. The project may not need a special contract feature. The deception usually happens through marketing, timing, and undisclosed selling.
The Main Difference
The key difference is control.
In a rug pull, insiders often control a technical or economic mechanism that lets them extract funds:
- They control the liquidity-pool tokens and remove the pool's assets.
- They can mint a large amount of new tokens and sell them.
- They can prevent selected holders from transferring or selling.
- They can redirect fees or contract funds to an insider wallet.
In a pump-and-dump, the main mechanism is manufactured demand:
- Promoters create urgency and optimistic price targets.
- Coordinated buyers purchase at the same time.
- Insiders or early participants sell as later buyers arrive.
- The price falls when new demand stops.
These schemes can overlap. An insider might first pump a token and then remove liquidity. In that case, promotion creates the exit opportunity, while the liquidity removal creates the rug.
| Feature | Rug pull | Pump-and-dump |
|---|---|---|
| Main source of control | Contract, liquidity, or token supply | Promotion, timing, and coordinated trading |
| Typical insider action | Removes funds, mints tokens, or blocks selling | Sells into a manufactured price increase |
| Can the project look active? | Yes, until the controlled mechanism is used | Yes, while promotion attracts buyers |
| Common victim experience | Cannot sell or receives little value from a sale | Can sell, but only after the price collapses |
How Liquidity Removal Works
An AMM pool might contain ETH and a project token. Traders exchange one asset for the other, and the pool's reserves determine the price. Liquidity providers receive pool tokens that represent their share of those reserves.
If the creator controls most of the pool tokens, the creator can withdraw much of the ETH. The token may still appear on a decentralized exchange, but there is little valuable asset left for sellers to receive.
def amount_out(amount_in, reserve_in, reserve_out, fee=0.003):
amount_after_fee = amount_in * (1 - fee)
return reserve_out * amount_after_fee / (
reserve_in + amount_after_fee
)
token_sale = 100_000
print(amount_out(token_sale, 1_000_000, 100))
print(amount_out(token_sale, 100_000, 10))The second calculation represents a pool after both reserves have been reduced to 10 percent. The token amount sold is the same, but the pool contains far less ETH to pay sellers.
Other Forms of a Rug Pull
Liquidity removal is only one pattern.
Hidden minting
A privileged account creates new tokens after buyers enter. The new supply is then sold into the pool, diluting existing holders and draining the pool's valuable asset. Check whether minting exists, who can call it, and whether the privilege can be changed.
Honeypots and transfer restrictions
A honeypot lets buyers acquire tokens but prevents them from selling. The restriction may be an owner-controlled blacklist, a maximum-sell rule, or a fee that can be changed to nearly 100 percent. A contract can look like a normal token while treating buys and sells differently.
Privilege transfer
A deployer may transfer ownership to another wallet or hide control behind a proxy contract. Renouncing ownership does not automatically remove every privileged role. Administrative roles, upgrade keys, and separate liquidity wallets also need examination.
The practical test is to ask two questions: who creates the buyer demand, and who controls the mechanism that lets insiders exit? The answers help separate a market-manipulation scheme from a contract-enabled theft, even when both happen in the same project.
Exercise
A token's promoters create a large price spike, and the deployer then withdraws nearly all ETH from the liquidity pool. Is this only a pump-and-dump or only a rug pull?
Show answer
It combines both. The promotion and insider selling are pump-and-dump behavior, while withdrawing the liquidity is a rug-pull mechanism.