This project contains:
- Smart contracts for the SingDao ERC-20 token (
./contracts/SingDao.sol
). These were downloaded from the official token source here - Smart contracts for the SingNet ERC-20 token (
./contracts/SingDao.sol
). It was downloaded from the official token source here - Simple smart contract for simulating basic airdrop mechanics
- React frontend that acts as a simpler version of the airdrop portal
Project bootstrapped with Truffle CLI.
- Node >=14
- Truffle CLI
Compile the smart contracts:
truffle compile
Note: Before migrating/deploying the smart contracts, make sure to have the Ganache blockchain running and accessible at http://localhost:8545
.
You can migrate the smart contracts to the development environment by running:
truffle migrate --network develop
You can start the airdrop frontend by running:
cd client
yarn start