Airdrop ERC20 Token Claim DApp - Web3 Token Distribution Portal

React JS + Solidity (Ethereum / Sepolia Supported)

$250.00
Last Updated 2 months
•Demo

Description

Airdrop Token Claim DApp - Web3 Token Distribution Portal

One-Click Token Airdrops for Your Blockchain Project

A complete, production-ready token airdrop claim portal built with React and Solidity. Allow your community to claim tokens with a beautiful, modern interface. Perfect for ICOs, token launches, community rewards, and promotional campaigns.


šŸŽÆ What You Get

A fully functional Web3 airdrop system with:

  • React Frontend - Modern, responsive UI with shadcn-inspired design
  • Solidity Smart Contracts - Secure, gas-optimized, and auditable
  • Admin Dashboard - Manage eligibility, deposits, and settings
  • One-Click Deployment - Ready for Vercel, Netlify, or any static host

✨ Key Features

For Users

FeatureDescription
Wallet ConnectionMetaMask and WalletConnect support
Eligibility CheckInstant verification of wallet eligibility
One-Click ClaimSimple, single-transaction token claim
Real-Time StatsLive airdrop progress and availability
Mobile ResponsiveWorks perfectly on all devices

For Admins

FeatureDescription
Add Eligible WalletsSingle or bulk address management
Set Claim AmountConfigure tokens per claim
Pause/ResumeEnable or disable claiming instantly
Deposit TokensFund the airdrop contract
Withdraw TokensRetrieve unclaimed tokens anytime

Technical

FeatureDescription
ERC-20 CompatibleWorks with any ERC-20 token
Gas OptimizedEfficient contract design
Reentrancy ProtectedSecure against common attacks
Verified ContractsEtherscan verification included
TypeScriptFull type safety

šŸ–„ļø Live Demo

Frontend Preview:

  • Clean, dark-themed interface
  • Public stats visible without wallet
  • Smooth animations and transitions
  • Professional admin panel

šŸ“‹ How It Works

User Flow

1. Visit Portal → See airdrop stats (no wallet needed)
2. Connect Wallet → Check eligibility status
3. Claim Tokens → One transaction, instant transfer
4. Done → Tokens in wallet

Admin Flow

1. Deploy Contracts → Token + Airdrop contracts
2. Fund Airdrop → Deposit tokens to contract
3. Add Wallets → Upload eligible addresses
4. Enable Claims → Users can now claim
5. Monitor → Track claims in real-time

šŸ”§ Technical Specifications

Frontend Stack

  • React 18 - Latest React with hooks
  • TypeScript - Type-safe development
  • Ethers.js v6 - Blockchain interactions
  • CSS Variables - Easy theming
  • Vercel Ready - One-click deployment

Smart Contracts

  • Solidity 0.8.20 - Latest stable version
  • OpenZeppelin - Battle-tested libraries
  • Hardhat - Development & deployment
  • Multi-Network - Deploy to any EVM chain

Security Features

  • āœ… ReentrancyGuard protection
  • āœ… Ownable access control
  • āœ… SafeERC20 transfers
  • āœ… One-claim-per-wallet enforcement
  • āœ… Pausable functionality

šŸ“ What's Included

airdrop-claim/
ā”œā”€ā”€ frontend/                 # React Application
│   ā”œā”€ā”€ src/
│   │   ā”œā”€ā”€ App.tsx          # Main application
│   │   ā”œā”€ā”€ App.css          # Styling
│   │   ā”œā”€ā”€ config.ts        # Contract addresses
│   │   └── index.css        # Global styles
│   ā”œā”€ā”€ package.json
│   └── vercel.json          # Deployment config
│
ā”œā”€ā”€ contracts/                # Smart Contracts
│   ā”œā”€ā”€ contracts/
│   │   ā”œā”€ā”€ Airdrop.sol      # Main airdrop contract
│   │   └── DummyToken.sol   # Sample ERC-20 token
│   ā”œā”€ā”€ scripts/
│   │   └── deploy.js        # Deployment script
│   └── hardhat.config.js    # Hardhat configuration
│
└── Documentation

šŸš€ Quick Start

1. Deploy Smart Contracts

cd contracts
npm install
npx hardhat run scripts/deploy.js --network sepolia

2. Configure Frontend

Update src/config.ts with your contract addresses:

export const AIRDROP_ADDRESS = "0x...";
export const TOKEN_ADDRESS = "0x...";

3. Deploy Frontend

cd frontend
npm install
npm run build
npx vercel

šŸŽØ Customization

Easy Theming

Change colors by editing CSS variables in index.css:

:root {
  --primary: 0 0% 98%;
  --background: 0 0% 3.9%;
  --success: 142 76% 36%;
  /* Add your brand colors */
}

Multi-Network Support

Deploy to any EVM-compatible network:

  • Ethereum Mainnet
  • Polygon
  • BSC (Binance Smart Chain)
  • Arbitrum
  • Optimism
  • Avalanche
  • Base
  • And more...

šŸ“Š Smart Contract Functions

User Functions

FunctionDescription
claim()Claim allocated tokens
isEligible(address)Check if address can claim
hasUserClaimed(address)Check if already claimed
getClaimStatus(address)Get full status details

Admin Functions

FunctionDescription
setClaimAmount(uint256)Set tokens per claim
setClaimEnabled(bool)Enable/disable claims
addEligibleAddress(address)Add single address
addEligibleAddresses(address[])Bulk add addresses
removeEligibleAddress(address)Remove address
depositTokens(uint256)Fund the contract
withdrawTokens(uint256)Withdraw specific amount
withdrawAllTokens()Withdraw everything

šŸ” Security Considerations

This codebase follows security best practices:

  1. Access Control - Only owner can manage settings
  2. Reentrancy Protection - Guards against reentrancy attacks
  3. Safe Transfers - Uses OpenZeppelin's SafeERC20
  4. Input Validation - All inputs are validated
  5. Event Logging - All actions emit events for transparency

Note: Always conduct your own security audit before mainnet deployment.


šŸ“± Responsive Design

The portal is fully responsive and works on:

  • Desktop computers
  • Tablets
  • Mobile phones

All features are accessible on any device with a Web3 wallet.


šŸ› ļø Requirements

Development

  • Node.js 18+
  • npm or yarn
  • MetaMask or Web3 wallet

Deployment

  • EVM-compatible blockchain
  • Vercel/Netlify account (free tier works)
  • Small amount of native tokens for gas

šŸ’” Use Cases

Perfect for:

  • Token Launches - Distribute tokens to early supporters
  • Community Rewards - Reward active community members
  • Marketing Campaigns - Promotional token giveaways
  • DAO Distributions - Governance token airdrops
  • NFT Holder Rewards - Reward your NFT community
  • Testnet Faucets - Distribute testnet tokens

šŸ“„ License

This item comes with a standard marketplace license. You may use it for personal or commercial projects.


šŸ†˜ Support

Documentation and code comments are included to help you get started quickly. The codebase is clean, well-organized, and follows React/Solidity best practices.


šŸ“ Changelog

Version 1.0.0

  • Initial release
  • React 18 + TypeScript frontend
  • Solidity 0.8.20 smart contracts
  • Admin dashboard
  • Bulk address management
  • Vercel deployment ready

Disclaimer: Web3.Market is a marketplace platform that facilitates the sale of digital products between independent sellers and buyers. We do not develop, endorse, or guarantee any product listed on this platform. All products are provided by third-party sellers and are sold "as is." Web3.Market assumes no responsibility or liability for the functionality, security, legality, or any use or misuse of products purchased through this platform. Buyers are solely responsible for evaluating the suitability of any product for their intended purpose and for ensuring compliance with all applicable laws and regulations. By purchasing, you acknowledge that Web3.Market shall not be held liable for any direct, indirect, incidental, or consequential damages arising from the use of any product.

$250.00USD

One-time payment • Lifetime access

Source codeLifetime updatesCommercial license
Pay with:
BTC
ETH
USDT
SOL
BNB
+20

Product Info

Blockchainethereum
Last Updated2 months

RPC Providers

Need a reliable RPC endpoint for your dApp? Get started with these trusted providers:

$250.00

Your Code Belongs on Web3

Ship smarter dApps, plug into our marketplace, and grow with the next wave of the internet.