Skip to content

civicteam/evm-demo-airdrop

Repository files navigation

Civic Pass EVM Sample Airdrop Project

This project demonstrates the integration of Civic Pass into an Ethereum smart contract.

It is a simple airdrop contract that allows users to claim one ERC20 token each.

By adding Civic's Uniqueness Pass to the contract, we can ensure that each user can only claim.

Getting started

Install dependencies:

yarn

Run a local hardhat node: (This project uses hardhat-deploy to set up an ERC20 token contract.)

yarn local:start

Start the frontend:

yarn app:start

Deploy to testnet:

PRIVATE_KEY=${YOUR_PRIVATE_KEY} yarn deploy:testnet

Start the frontend pointing to testnet:

yarn app:start:testnet

About

A simple token airdrop example with Civic Uniqueness Pass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published