Airdropping Minting Points to Multiple Addresses

Here's a step-by-step guide on how to airdrop Minting Points or any other ERC-20 tokens on the Polygon blockchain to multiple addresses using our smart contract:

A. Preparation:

  1. Request Minting Points: Before you start, ensure that you have the Minting Points you want to airdrop. If you're using your custom token, make sure you have enough of those tokens in your wallet.

B. Approve Spending:

  1. Access the Minting Points Smart Contract: Go to the Minting Points smart contract on PolygonScan: Link to Smart Contract.

  2. Connect Your Wallet: Connect the wallet that holds your Minting Points or custom tokens.

  3. Click "1. Approve": Locate and click on the "1. approve" function.

  4. Add Multi Sender Smart Contract Address: In the "Spender" field, paste the Multi Sender smart contract address: 0x7cA9967B3ad685D728e21eB9824E81279F7a3229.

  5. Set Spending Amount: In the "Amount" field, input the amount you want to airdrop. Add "00" at the end of the desired amount. For instance, if you wish to send 100 Minting Points, write 10000.

  6. Click "Write" and Approve Transaction: Complete the process by clicking "Write" and confirming the transaction in your wallet. You're granting permission for the Multi Sender contract to spend tokens from your wallet.

C. Use MultiSender Smart Contract:

  1. Access the MultiSender Smart Contract: Visit the MultiSender smart contract on PolygonScan: Link to Smart Contract.

  2. Connect Your Wallet: Ensure you're using the same wallet you connected in the previous step.

  3. Click "2. Multisend": Locate and click on the "2. multisend" function.

  4. Provide Payable Amount in Matic: Enter "0" in the "multiSend" field to indicate the payable amount in Matic.

  5. Token Address and Recipients: Insert the Minting Points token address (or your custom token address) in the "_token (address)" field: 0x733E70a62c47Ee021B43D7A668727b62ccD3b899. Then, paste the addresses of recipients in the "_accounts (address[])" field using this format: [0x00000, 0x000001, 0x000002].

  6. Specify Amounts: In the "_amounts (uint256[])" field, input the amounts you want to send to each address. Use the format [100, 200, 100] and add two zeros after each desired amount (e.g., "100").

  7. Click "Write" and Approve Transaction: Complete the process by clicking "Write" and confirming the transaction in your wallet.

If your wallet warns that it can't estimate gas price, ensure you approved enough tokens in the "B" step. Do not proceed with the transaction if this occurs.

That's how simple it is in the world of web3! 😏 Feel free to ask if you have any questions.

Last updated