shadcn.io is not affiliated with official shadcn/ui
Airdrop Checker Web3 Block for Radix UI
An airdrop eligibility checker with an address field that checks its shape, three programs listing their criteria as met or not met, a count like 2 of 3 met, a sample allocation for an eligible program and a miss that names the criterion.
Installation
Overview
Tell someone whether they qualify, and why or why not, with this eligibility checker for React with Radix UI. It's the tool of Dropfinder, an airdrop checker. A hairline frame with a plus mark on each corner starts with a Field for a wallet address, checked for its shape (0x and 42 characters), and a Shine Button, Check, that waits 800 ms and then answers. Use the demo account fills a typed address; so does Try another listed address. Three programs are listed under it, each with its three criteria and a glyph and a word beside each ("Held 0.1 ETH at the 31 Mar snapshot: met"), a count such as "2 of 3 met", and a result: a sample allocation, typed points times a typed rate, when every criterion is met, or the first criterion that was not. Any other address says it is not in this demo's table. For token teams that want to show the rules, not only the answer.
FAQ
Why list the criteria?
A bare "not eligible" gives the person nothing to do. Each program shows what it asks for and which parts are met, so a miss reads "Not eligible: Delegated your votes was not met." The criteria are typed strings; each account's results are a short string of letters per program, so a new program is a new entry in the data.
How is the allocation worked out?
When every criterion of a program is met, the typed points are multiplied by the program's typed rate per 100 points and rounded down: 1,840 points at 25 per 100 is 460 ZEFR. It is labelled a sample allocation, and a line under the list says nothing is promised or paid.
What does the address check do?
It checks the shape only: 0x, then 40 hexadecimal characters. It does not verify a checksum or read a chain. Two typed addresses have results; a valid address that isn't one of them says "Not in this demo's table". In your app look the address up on your server, against your snapshot.
Is the wait real?
No. Check shows a spinner for 800 ms from a timer that is cleared if you leave the page, then fills in the result and moves focus to the Programs heading. Typing a new address clears the previous result.