A Rug Pull is a type of exit scam where project creators suddenly abandon a cryptocurrency or NFT project and disappear with investors' funds. It's named after the phrase "pulling the rug out from under someone."
Think of it as the crypto version of a pump-and-dump scheme - creators build hype, attract investment, then vanish with the money.
How Rug Pulls Work
The Pattern
Phase 1: Setup
- Create token/NFT project
- Build hype on social media
- Promise high returns/utility
Phase 2: Growth
- Initial investors enter
- Price increases
- Community grows
- More hype generated
Phase 3: Peak
- Maximum investment reached
- Creators hold large token supply
- Liquidity locked (or not)
Phase 4: The Rug
- Creators sell all tokens
- Remove liquidity
- Delete social media
- Disappear with funds
How It Works:
1. Creators create token
2. Add liquidity to DEX (Uniswap)
3. Investors buy tokens
4. Creators remove ALL liquidity
5. No one can sell tokens
6. Creators keep investors' ETH/USDC
How It Works:
1. Creators hold 30-50% of supply
2. Build community and hype
3. Wait for price increase
4. Dump all tokens at once
5. Price crashes 90-99%
// DANGEROUS - Unlimited minting
function mint(address to, uint256 amount) public {
_mint(to, amount); // No access control!
}
Copy link
2. Pause Function
// Can pause transfers indefinitely
function pause() public onlyOwner {
_pause(); // Owner can trap funds
}
Copy link
3. Blacklist Function
// Can prevent specific addresses from selling
mapping(address => bool) public isBlacklisted;
function transfer(address to, uint amount) public {
require(!isBlacklisted[msg.sender], "Blacklisted");
// ...
}
Copy link
4. Hidden Owner Functions
// Check for dangerous functions
function setFee(uint256) public onlyOwner { }
function withdrawAll() public onlyOwner { }
function setPair(address) public onlyOwner { }