Honeypot token: you can buy, but you can't sell
A honeypot is a token that lets you buy but blocks selling. The chart climbs, your balance looks profitable, but the moment you try to exit, the transaction reverts - or you receive pennies. The money goes in and the door is shut. The nasty part: the contract can be "verified" on the explorer and still hide the block in obfuscated logic. Here is how it works and how to check a token before you buy.
How the sell block works
A token is a smart contract, and its author writes the transfer rules. In a honeypot, the
transfer path carries a condition that triggers specifically on a sell (a transfer into
the liquidity pool) while staying quiet on a buy. Common shapes:
- Whitelist. A
modifierthat allows transfers only from whitelisted addresses; an ordinary buyer isn't on it, so theirsellreverts. - Post-buy blacklist. The contract adds your address to a blacklist at the moment you buy - the buy succeeds, but you can no longer sell.
- Prohibitive sell tax. A 99-100% sell tax technically allows the trade, but you receive almost nothing. The tax is often mutable: the author raises it once liquidity has gathered.
- Balance mismatch. Hooks like
_beforeTokenTransferor hand-edited internal accounting make your "balance" show up but not transfer. - Pause and min-hold. The owner can
pause()sells or impose a "hold for N" rule that never clears for outsiders.
Why "verified" doesn't save you
Many people check only the "Contract source code verified" badge on the explorer and relax. But
verification only means the published source matches the bytecode - not that the code is honest. The
sell block is disguised: an innocent function name that makes a hidden state change inside; a
modifier with a benign name (onlyHuman, antiBot) that actually filters
out everyone but insiders; a condition tucked into an inherited contract or a proxy implementation.
Concretely: a verified contract can still charge a sell tax of about 99%, filter
transfer by a blacklist/whitelist, set the max sell to zero, be pausable -
and the owner can raise the tax after listing. The source is open - and the trap is still in it. So
"verified" is not a green light; what matters is the contract's behavior on a sell, not the
presence of source. This is the same principle as
malicious calldata: the shown name is cosmetic, the truth
is in the real effect.
What actually happens
- The token is hyped: a rising chart, a "community", often via a fake airdrop or bait ads.
- You buy. The buy goes through - the
buypath isn't restricted. - Your balance and "profit" climb on screen, tempting you to buy more.
- You try to sell - and the
sellreverts, or hands you crumbs because of the tax. - The author pulls the real liquidity out of the pool. You're left holding a token nobody can, and nobody is allowed to, sell.
Look at the pair's history on the explorer: lots of buys and almost no successful sells from ordinary addresses is the classic honeypot profile. Only a handful of whitelisted insiders sell.
How to stay safe
- Simulate the sell before you buy. Honeypot detectors (honeypot.is, Token Sniffer and similar) run a
trial buy and sell on a forked network and show whether the
sellwould pass and what the real tax is. This catches a trap you can't see by eye in the source. - Don't trust the "verified" badge. Published source is not an audit. If you can't read the
transferpath and confirm that selling isn't restricted, assume it is. - Do a test-sell with a tiny amount. After a small buy, immediately try to sell a small part before committing more. If the test won't sell, neither will the rest.
- Check the owner's powers. The ability to
pause, change the tax, run a blacklist, or swap the proxy implementation are levers that can shut selling at any moment. - Check whether others are exiting. The absence of successful sells by regular holders matters more than any chart.
It has already happened
The most famous example is the SQUID token ("Squid Game", November 2021). The price spiked on the show's hype, but an anti-dump was baked into the contract: ordinary holders could not sell. When the authors pulled the liquidity, the price collapsed to near zero; the BBC estimated the operators took about $3.3M. An honest caveat: SQUID is usually classified as a hybrid - a honeypot (sell block) plus a rug-like liquidity pull. The "you can buy, you can't sell" mechanic has been mass-copied in cheap tokens ever since; honeypot detectors exist precisely as a response to this class.
Want to learn to read a contract and vet a token before buying? In our testnet trainer you break down transactions and learn to notice when what's shown diverges from the contract's real behavior.