|
|
|
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!
Want to add an airdrop or POAP?
There are two good ways.
GH Issue (slower)
Option 1 - open aProvide 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.)",
A completed example
Issue title: "Add Tornado cash
"
url:
"https://raw.githubusercontent.com/tornadocash/airdrop/master/airdrop.csv",
imgSrc: "/images/csv-claimables/torn.jpeg",
claimUrl: "https://app.tornado.cash/airdrop/",
displayName: "TORN",
Option 2
- 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
(also ran on commit automatically in-case you forget) - 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
Web App Development
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.
Learn More
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.