|
|
|
Airdrops && POAPs
🚁 Claimable aggregates all known Ethereum airdrops and POAPs on one page.
🤑 If you use DeFi you might have money waiting you don't know about!
There are two good ways.
Option 1 - open a GH Issue (slower)
Provide the folowing:
url:
"URL linking to csv of eligible addresses and amounts",
imgSrc: "URL linking to project/protocol logo",
claimUrl: "URL users go to in-order to claim",
displayName: "Token name (UNI, TORN, etc.)",
Issue title: "Add Tornado cash
"
url:
"https://raw.githubusercontent.com/tornadocash/airdrop/master/airdrop.csv",
# Github org images work well here
imgSrc: "https://avatars.githubusercontent.com/u/58548030?s=200&v=4",
claimUrl: "https://app.tornado.cash/airdrop/",
displayName: "TORN",
- Add the airdrop data source to the claimable lists.
- Add the required data to csv-claimables (everything in option 1 above).
- Run
npm run build:claimable-data
- Verify this created a new source file in
src/claimable-data/*
and that the master address data looks correct insrc/claimable-data/master-airdrop-data.json
npm install
-
Copy
.env.sample
to.env
and replace with required variables
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing pages in pages/*
. They auto-update on save.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.