Note
The contents of this repo have been moved to Civic Pass Demos
A simple airdrop program to demonstrate the use of Civic to protect on-chain assets.
Note: by default, the UI will point to devnet, where the program is deployed with program ID:
air4tyw7S12bvdRtgoLgyQXuBfoLrjBS7Fg4r91zLb1
# Install dependencies
yarn
# Build the program
anchor build
# Start a local Solana cluster
anchor localnet
# Run the client
cd app
yarn
yarn dev
- Visit http://localhost:5173/ to see the app.
- Connect with a wallet
- Create a mint claimable via airdrop
- Send the link to claimants
- Visit the link sent by the airdrop creator
- Connect with a wallet
- Get the Civic Pass
- Claim the airdrop