This tool is an Airdrop simplification infrastructure for Initial Coin Offerings on the Polygon network, it could also be used for a range of other utility like Loyalty rewards and Crypto giveaway automatically handled by our smart contract and so much more.
They would like to:
- A company wants to distribute its utility tokens to a bunch of addresses, which would be used to reward loyal customers.
- The addresses are so much, instead of writing a new smart contract, our tool could be used to simplify the process.
- Allows an admin/owner to distribute a specified token amongst a batch of addresses as reward for being loyal customers.
I created two contracts one to distribute the minted token to the beneficiaries, while the other would be to exchange the currency for services amd other perks. The frontend was created to help admin distribute the token which is a form of rewarding loyal customers, the admin drags and drops an excel file containing the wallet addresses of the beneficiaries and the amount to be given to each of them in a double column format ie Address - First Column; Amount - Second column.
I also looked at security aspect. We had to implement add and also remove admin feature. But note that only admin can add another.
Finally I needed a way to keep track of the token and also usage/claim so we added the analytics part to the frontend.
Check out the frontend design Here
The project was finally deployed and the link to the live prototype is Here
My contracts were deployed to both the mumbai testnet and zk-EVM testnet respectively
zk-EVM address - https://explorer.public.zkevm-test.net/address/0x9ad674004D67395067A8e9B540bb674Dd8733597
mumbai deployment link - https://mumbai.polygonscan.com/tx/0xf9fe379a4cd0b3cfc41c15e99bfa046cc3ad1c8fe05afab0000613531a02e0a8
- React
- Css
- Solidity
- Mocha
- Chai
- Clone the repo using
git clone https://github.com/josidbobo/airdrop.git
- change directory into the project's folder.
cd airdrop
- Change directory to the
atlantis-frontend
orsmart-contracts
folder depending on which you want to install
cd {{name of folder}}
- Install the project using npm or yarn
npm install
- Fork the repo
- Clone the forked repo using
git clone {{link to repo}}
- change directory into the project's folder.
cd airdrop
- Change directory to the
atlantis-frontend
orsmart-contracts
folder depending on which you want to install
cd {{name of folder}}
- Make your contributions
- Push to the forked repo
- Make a pull request
While in the backend branch run npm run test