---
# System prepended metadata

title: ☔ Merkle Drop Bounty Specs

---

# ☔ Merkle Drop Bounty Specs

## Front end

### Drop creator

1. A Merkle drop can only distribute a single ERC-20 token (DAI, WETH,...) so the user needs to select the token they want to distribute.
2. The user should be able to provide a list of claimants and the amount of tokens each should receive.
    * Can import a CSV file containing (claimant address, claim amount)
3. The user provides details of the drop
    * Name
    * Description
4. The user receives a link to their Merkle drop claim page

### Drop claim page

1. Open drop link either provided by drop creator
2. The details of the drop should be displayed
3. Connect wallet and see the amount of tokens the user can claim
4. Click "claim" and submit transaction

### Claimable drop list page

After connecting with wallet, the user should be able to see a list of all Merkle drops they are eligible for, and the amount of tokens they can receive from each.

## Back end

1. Given CSV of (claimant address, claim amount) and metadata of the drop, generate a Merkle tree, and store it & the metadata in a database. Return the ID of the drop.
2. Given a drop ID, return the metadata.
3. Given a claimant address, return the claim amount the Merkle tree proof that proves the inclusion of (claimant address, claim amount).
4. Given a claimant address, return the list of IDs of all drops that include the claimant address.
