Deploying the Airdrop Machine Smart Contract Using Remix IDE
This section will walk you through deploying the Airdrop Machine smart contract using Remix IDE. The Airdrop Machine is designed to distribute tokens across multiple addresses, supporting both standard and Merkle tree-based airdrops.
By following these instructions, you'll learn how to clone the necessary repository, prepare the contracts, and deploy them in Remix IDE.
Step 1: Clone the Repository
Clone the Airdrop template repository from the link below:
git clone https://github.com/rsksmart/airdrop-template.git
This repository contains all the smart contract code you need to deploy the Airdrop Machine. You’ll use this code to get the smart contract address required for your project.
Basic knowledge of deploying and testing smart contracts in Remix IDE is required. If you’re unfamiliar, please refer to the Remix Quickstart Guide for a detailed tutorial.
Step 2: Prepare the Contracts for Remix IDE
- Navigate to the cloned repository and locate the
contracts
folder. - Copy the code from both
AirdropManager.sol
andAdministrable.sol
contracts. These files are crucial because theAirdropManager
contract imports functions fromAdministrable.sol
. - Paste the contents of both contracts into Remix IDE.

Note: If you're using the latest Solidity version, be aware that some Rootstock contracts may not be fully compatible. We recommend using Solidity version 0.8.20 for better compatibility.