nav.brand
Distribution

Airdrop / Claim Template

Run a clean, gas-light airdrop: upload a CSV of recipients, generate a Merkle tree, and ship a claim page with an instant eligibility checker. Only claimers pay gas, and double claims are blocked on-chain by the included MerkleDistributor contract.

Next.js 16TypeScriptTailwindwagmi/viemMerkleHardhat

Features

  • CSV → Merkle tree generator (included script)
  • Instant eligibility checker
  • One-click claim with on-chain proof
  • Double-claim protection
  • Claim progress + remaining supply

What's included

  • Next.js 16 app (App Router, TypeScript, Tailwind)
  • MerkleDistributor.sol + Hardhat + tree builder
  • CSV import + proof generation scripts
  • Dockerfile + docker-compose
  • README + setup wizard

Smart contracts included

Audited-base Solidity (OpenZeppelin), verifiable on-chain after deploy. Full source in the repo.

MerkleDistributor.sol

gas-light airdrop: recipients prove (address, amount) against a Merkle root and claim once; owner can sweep leftovers (OpenZeppelin SafeERC20 + MerkleProof).

From CSV to live claim page

The included script turns a list of address,amount rows into a Merkle root and per-address proofs. Recipients connect, instantly see if they're eligible and how much, and claim in one click.

Gas-light and double-claim safe

The MerkleDistributor verifies proofs on-chain and records claims, so each wallet can claim once. You only fund the contract with the total; claimers pay their own gas.

Configurable and quick to deploy

Set the token and Merkle root, deploy with Hardhat or the in-browser wizard, and fund the distributor. Includes a Dockerfile and an env-driven, brandable claim page.

Frequently asked questions

+What is an airdrop template?

A ready-made claim website plus a distributor contract that lets eligible wallets claim tokens. This one uses a Merkle tree, so the recipient list stays gas-efficient and verifiable on-chain.

+How does the eligibility checker work?

Your recipient list is compiled into a Merkle tree shipped with the app. When a visitor connects, the page looks up their proof and shows their allocation; the contract verifies the proof when they claim.

+Who pays the gas?

You fund the distributor with the total tokens once; each recipient pays the gas for their own claim transaction, which keeps your costs predictable.

Ready to ship Airdrop / Claim?

Full source, lifetime license, instant download. Pay with crypto or card.

Get it for $99

Explore all web3 templates