Airdropping tokens is an effective strategy to engage your community, reward contributors, or distribute assets. However, manual distribution can be time-consuming and costly due to high transaction fees. The BulkSender smart contract automates this process, streamlining token distribution across multiple addresses on any EVM-compatible blockchain.
🚀 Key Features
- Native Token Transfers: Send ETH or the native token of an EVM chain to multiple addresses in a single transaction.
- ERC-20 Token Transfers: Distribute fungible tokens either equally or in varying amounts.
- ERC-721 Token Transfers: Airdrop unique NFTs.
- ERC-1155 Token Transfers: Handle both fungible and non-fungible tokens in batch mode.
🎯 VIP System
BulkSender offers a VIP system where users can pay a one-time fee to eliminate per-transaction fees, making it ideal for frequent token distributors.
📚 How It Works
1. Native Token Airdrop
Use the bulkTransfer
function to airdrop native tokens (e.g., ETH) to a list of receivers.
function bulkTransfer(address[] calldata _receivers, uint[] calldata _values) external payable {
// Transfers ETH to multiple addresses
}
2. ERC-20 Token Airdrop
Equal Distribution
The bulkTransferERC20
function sends the same amount of tokens to all recipients, optimizing gas fees.
function bulkTransferERC20(address _tokenAddress, address[] calldata _receivers, uint _value) external payable {
// Sends the same amount of tokens to all recipients
}
3. ERC-721 NFT Airdrop
The bulkTransferERC721
function airdrops NFTs to multiple recipients.
function bulkTransferERC721(address _tokenAddress, address[] calldata _receivers, uint[] calldata _tokenIds) external payable {
// Transfers NFTs to multiple recipients
}
4. ERC-1155 Token Airdrop
This function distributes ERC-1155 tokens to multiple addresses.
function bulkTransferERC1155(
address _tokenAddress,
address[] calldata _receivers,
uint[] calldata _tokenIds,
uint[] calldata _values
) external payable {
// Distributes ERC-1155 tokens
}
📖 How to Use BulkSender
Step 1: Prepare a CSV File
Create a CSV file with recipient addresses and corresponding amounts. For ERC-20 tokens, the format should be:
0xa0BfF9CA8aF0649eB056cA1a902b559Da97FFde9, 1 0xD126FC84717D6e9D97027016Abcaf0B57e6042D2, 20
Step 2: Configure BulkSender
Input your token address into the BulkSender application and follow the provided steps. Ensure the contract is adequately funded for native token transfers.
Step 3: Execute the Airdrop
Once configured, initiate the airdrop. You can verify the transaction on Etherscan.
🌐 Resources
- Smart Contract Repository: BulkSender GitHub
- Verified Contracts on Etherscan(Implementation): Etherscan Verified Contract
- Verified Contracts on Etherscan(Proxy): Etherscan Verified Contract
- Airdrop dApp: BulkSender App
Utilizing BulkSender enables projects to save time and reduce gas fees, ensuring seamless token distribution to their communities. For a practical demonstration, check out the following video:
How To Distribute Airdrop Tokens In Bulk | AirdropMe Case
Top comments (0)