Jelly Protocol
  • Introduction
  • Jelly Recipes
  • recipes
    • Create an Airdrop
      • Overview
      • Prepare your Whitelist
        • Create a CSV Whitelist
        • Generate your Merkle proof
        • Upload proof (optional)
      • Create Airdrop
        • Create your JellyDrop contract
        • Add Rewards
        • Your Airdrop Claim UI
        • Set Airdrop Claim
      • Contract Links
      • Demo Airdrop
    • Create a Staking Pool (using ve model)
      • Prepare Staking Pool
        • Create Staking Pool (with Liquidity)
        • Create Staking Pool (No liquidity)
      • Staking UI
      • How to calculate token fee
      • Snapshot strategy
      • Contract Links
  • Tokens
    • Tokens
    • Jellynomics
    • veJELLY
  • Links
    • Twitter
    • Discord
    • Medium
    • Website
    • Brand Assets
Powered by GitBook
On this page
  • Using the Merkle Bot
  • Merkle Bot outputs
  • Having issues?
  1. recipes
  2. Create an Airdrop
  3. Prepare your Whitelist

Generate your Merkle proof

PreviousCreate a CSV WhitelistNextUpload proof (optional)

Last updated 2 years ago

Once you have your whitelist, it needs to be converted to a Merkle Proof for the Airdrop.

Good to know: Merkle proofs allow us to store data offchain and only the hash of the list goes onchain. This is how we are able to do large scale airdrops with thousands of users and how we can easily update the entire list with one transaction.

Using the Merkle Bot

We have created a Discord bot to generate the merkle proof from your CSV Whitelist. On discord, start a DM with the JellyMerkleBot#2635.

You'll need to enter the command $generate and attach the .csv file, in the same message. It should look like this before you send.

Merkle Bot outputs

The Merkle Bot should respond like so:

The Merkle bot will output the following key bits of information that will be needed in the Airdrop creation. tokenAmount: e.g. 370800000000000000000000000 merkleRoot: e.g. 0x1f18652a227bb857d38c43ba1916547ca3cdc3265ce132687bfd1d9940dfdefb merkleURI: e.g. https://jelly-merkle-proofs.s3.amazonaws.com/proof-1f18652a227bb857d38c43ba1916547ca3cdc3265ce132687bfd1d9940dfdefb.json

Having issues?

If you are having issues creating a Direct message with the bot and get a message saying "Your message could not be delivered..", you'll need to Allow direct messages in the Jelly Discord privacy settings.

If you are having any issues with your file, check:

  • the CSV is in the correct account,amount format

  • that the amounts are in 18 decimal format, e.g. 1000000000000000000000 and not like this 1e+21 (some versions of Excel incorrectly auto-format to scientific notation)

  • that the amounts are in wei, like this 1000000000000000000000 not 1000

  • that you have the correct number of addresses in the proof

If you need further support, reach out in the Jelly Discord.

You can find the bot in our Jelly Discord:

https://discord.com/invite/MGqDkxjpM3
File should be attached first before typing and sending the $generate command