This project demonstrates how to use Hardhat and Solidity to create an ERC-721 token contract and sale manager. Then allow NFT owners to claim an ERC-20 airdrop for a new reward token.
- Please see .example.env file and recreate a .env in the same format.
- Navigate to your project directory and run:
yarn
npx hardhat test
- Update proceeds disbursement address in scripts/deploy.ts.
- Update collection name and symbol in scripts/deploy.ts.
Example of how to deploy on Polygon
See hardhat.config.ts to add networks
npx hardhat run scripts/deploy --network polygon