Sub topic 2
How airdrops work: eligibility, snapshots, and claims
An airdrop is a free distribution of tokens to a set of wallets, chosen by rules the project publishes or implies. Projects use airdrops to reward early users, spread ownership, and attract attention. Each stage of the process can be abused, and knowing the legitimate mechanics makes the fake ones easier to spot.
This chapter assumes you already know what a wallet, an address, and a transaction are. It also assumes you have used a decentralized exchange (DEX) and can read a basic block explorer page. Later chapters cover fake airdrops and approvals in detail. This one covers how a genuine airdrop is built.
The airdrop lifecycle
Most airdrops follow the same four steps.
- The project defines eligibility rules, such as past usage, token holdings, or community activity.
- The project takes a snapshot, which is a record of wallet state at a specific block or time.
- The project builds a list of recipients and amounts, then publishes a commitment to that list on-chain.
- Eligible users claim their tokens, or the project sends them directly.
Eligibility: who gets tokens
Eligibility rules fall into a few common types.
| Type | Example rule | Typical risk |
|---|---|---|
| Usage-based | Swapped on the protocol before a cutoff date | Users farm the rules with many wallets |
| Holder-based | Held a given token or NFT at the snapshot | Buyers rush in just before the snapshot |
| Activity-based | Voted in governance or bridged assets | Low-effort actions repeated for rewards |
| Social or task-based | Followed accounts, joined a chat, filled a form | Bots, and collection of wallet addresses |
| Retroactive | Rewards for past behavior, announced afterward | Rules can be set to favor insiders |
Good projects publish the rules in their official documentation and apply them to everyone. Weak or suspicious projects keep the rules vague, change them after the snapshot, or reserve large amounts for unnamed "community" wallets that the team controls.
Sybil attacks and anti-farming rules
A Sybil attack is one person operating many wallets to collect many rewards. Projects respond by filtering. They may require a minimum activity level, remove wallets that share funding sources, or cap the amount per user. This filtering is a normal part of a real airdrop, and it explains why some real users get less than they expected. Be careful with the opposite case, where a claim page demands extra payments or "verification fees" to prove you are not a Sybil. Real filtering happens before the list is published, and it does not cost you money.
Snapshots
A snapshot records which wallets held what, or did what, at a chosen block number or timestamp. Anything you do after that point does not change your allocation.
This has two practical consequences:
- If a project says "hold this token to qualify," buying after the snapshot earns nothing. Anyone telling you to buy now to "secure your airdrop" after the snapshot has passed is either mistaken or lying.
- Holding tokens on an exchange may not count, because the exchange controls the keys and the wallet address on-chain belongs to the exchange. Read the rules on this point before relying on it.
Some projects take the snapshot first and announce the airdrop later. This is common with retroactive rewards, and it is why you cannot know in advance which actions will count. Be skeptical of any claim that a specific action is "guaranteed" to qualify you.
How recipients are encoded: Merkle distributors
Sending tokens to thousands of wallets one by one costs a lot of gas. Many projects use a Merkle distributor instead. A Merkle tree is a data structure that compresses a long list into one short value, the Merkle root. The project stores only the root in a contract. Each user then proves that their address and amount are in the list by submitting a short proof.
This is why a real claim looks like this:
- You visit the official site and connect your wallet.
- The site looks up your address in the published list and shows your amount and proof.
- You send one transaction to the distributor contract's
claimfunction. - The contract checks the proof against the stored root, marks your entry as claimed, and transfers the tokens.
The following Node.js script shows the core idea. It builds a small tree, then verifies one entry. It uses the merkletreejs and ethers packages (v6).
import { MerkleTree } from "merkletreejs";
import { ethers } from "ethers";
const entries = [
{ account: "0x1111111111111111111111111111111111111111", amount: 100n },
{ account: "0x2222222222222222222222222222222222222222", amount: 250n },
{ account: "0x3333333333333333333333333333333333333333", amount: 75n },
];
// A leaf commits to one (account, amount) pair.
const leafOf = ({ account, amount }) =>
ethers.solidityPackedKeccak256(["address", "uint256"], [account, amount]);
const leaves = entries.map(leafOf);
const tree = new MerkleTree(leaves, ethers.keccak256, { sortPairs: true });
const root = tree.getHexRoot();
console.log("root stored on-chain:", root);
// A user proves their entry without revealing the whole list.
const mine = entries[1];
const proof = tree.getHexProof(leafOf(mine));
console.log("proof:", proof);
console.log("valid:", tree.verify(proof, leafOf(mine), root));
// Changing the amount breaks the proof.
const forged = { ...mine, amount: 2500n };
console.log("forged valid:", tree.verify(proof, leafOf(forged), root));The forged entry fails because the leaf hash changes, so the proof no longer leads to the stored root. This is the reason you can trust a correct distributor contract: nobody can claim more than the list allows.
What a claim function should and should not do
A legitimate claim transaction has a narrow job. It takes an index or address, an amount, and a proof. It sends you tokens.
A claim should not ask you to approve a token spend, because you are receiving tokens and have nothing to spend. It should not ask you to sign a message that grants permissions over your other assets. It should not ask for your seed phrase or private key under any circumstances. The chapter on approvals and signatures covers these requests in depth, but the rule is simple enough to remember now: receiving tokens never requires giving up control of the ones you already have.
Push versus pull distribution
Projects deliver tokens in one of two ways.
- Push: The project sends tokens straight to your wallet. You do nothing. The tokens simply appear.
- Pull: You send a claim transaction. The project pays nothing for the delivery, so it can reach many users cheaply, and unclaimed tokens can return to the treasury after a deadline.
Push airdrops cost the sender more gas, and they have their own risk. Anyone can send any token to any address, so an unexpected token in your wallet is not a sign that you qualified for anything. Scammers send worthless or malicious tokens to many wallets and hope the recipients try to sell or "claim" through a linked site. Treat unsolicited tokens as unknown until you have checked them.
Claim windows, vesting, and taxes on claims
Real airdrops often include details that affect what you receive.
- Claim deadline: Some distributors let unclaimed tokens expire. A deadline is normal, but a countdown timer that pressures you to act without checking is a pressure tactic.
- Vesting: Part of your allocation may unlock over time rather than at once. Check the official documentation for the schedule.
- Gas cost: Claiming costs gas on the network where the distributor lives. A small allocation can be worth less than the fee.
- Taxes: In many countries, receiving or selling airdropped tokens has tax effects. This tutorial does not give tax advice, so check local rules.
Where airdrops can be abused
Even without a fake website, a real airdrop can be unfair. Watch for these patterns:
- Insider-heavy lists: A large share goes to wallets linked to the team, which then sell into the new market.
- Hidden rule changes: Criteria change after the snapshot, so only favored wallets qualify.
- Airdrop as marketing for a bad token: The project gives away a token with a malicious contract, such as one that blocks selling. Receiving it is free, but trading it is where the harm occurs.
- Data harvesting: Task-based airdrops collect wallet addresses, emails, and social accounts that are later used for phishing.
Verifying an airdrop before you act
Use the following checks before you connect a wallet to any claim page:
- Find the announcement on the project's official channels, and confirm the link from at least two independent sources. Do not use links sent in direct messages or replies.
- Check that the domain matches the one in the project's documentation. Look for lookalike spellings.
- Find the distributor contract address in official documentation, and confirm on a block explorer that it is verified and that its
claimfunction matches the Merkle design above. - Read what the wallet asks you to sign. A claim is a transaction to the distributor, not an unlimited approval.
- Use a separate wallet with little value for any claim you are unsure about.
Key points
- An airdrop moves from eligibility rules to a snapshot, then to a recipient list, then to a claim or direct send.
- A snapshot fixes allocations at a past block, so later purchases do not change them.
- A Merkle distributor stores one root on-chain, and each user proves their entry with a short proof.
- A real claim is a single transaction to the distributor. It does not need an approval, a payment, or a secret phrase.
- Unsolicited tokens in your wallet say nothing about eligibility. Do not interact with them or their linked sites until you have verified them.
Exercise
A site tells you that you qualify for an airdrop and asks you to approve unlimited spending of your USDC so it can "verify your balance" before you claim. Using what you know about how claims work, explain why this is a red flag and what a real claim would involve instead.
Show answer
A real claim is a single transaction to the distributor contract that submits your amount and Merkle proof, and the contract sends you tokens. You are receiving tokens, so you have no reason to let anyone spend your USDC. An unlimited approval would let the spender move all your USDC at any time. The site is likely a drainer. Do not sign it. If you already did, revoke the allowance by calling approve with an amount of zero for that spender.
Exercise
A project announces a holder-based airdrop and says the snapshot was taken at block 19,000,000, which passed last week. A social media post tells you to buy the token today to qualify. Is this advice sound? Give one reason.
Show answer
No. A snapshot records holdings at a past block, so purchases made after block 19,000,000 cannot change eligibility or allocation. Buying now only gives the seller an exit and exposes you to the token's price risk.