Jelly
  • 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
  • Airdrop Types
  • Set Airdrop
  • Set Airdrip
  • Set Custom Airdrip
  • Airdrop UI for Claim
  1. recipes
  2. Create an Airdrop
  3. Create Airdrop

Set Airdrop Claim

PreviousYour Airdrop Claim UINextContract Links

Last updated 2 years ago

By default, the Airdrop is set to not claimable and displays as upcoming when you create it. To set your Airdrop to claimable, you have 3 options for how the claim works.

Airdrop Types

- All the tokens are claimable on Day 1

- Tokens are vested linearly from Day 1

- Tokens are vested linearly but there is a % claimable upfront

Set Airdrop

Goto to Etherscan and look up your Airdrop Contract Address. Then goto the write mode and find the 12. setJellyAirdrop function and click write. This will set the airdrop to be claimable

Set Airdrip

Goto to Etherscan and look up your Airdrop Contract Address. Then goto the write mode and find the 11. setJellyAirdrip function. Enter the stream duration and click write.

In this example, we’ve used 15778800 as the streamDuration. The amount is in seconds, so 15778800 is 6 months.

Set Custom Airdrip

Goto to Etherscan and look up your Airdrop Contract Address. Then goto the write mode and find the 13. setJellyCustom function. You can set a start date in the past and this unlocks a % of tokens on Day 1.

EXAMPLE: Setting a 6 month airdrip, with 20% unlocked on Day 1, as shown above.

Next we'll need to calculate 20% in seconds = (20% of 6months = 3155760 seconds)

  • startTimestamp = current timestamp - 20% duration = 1652112413

  • streamDuration = 6 months in seconds = 15778800

  • tokensClaimable = true

Airdrop UI for Claim

The UI will update with options for users to claim, like so.

Claim options

Users can claim as normal, or use Fancy Claim. Fancy Claim is a security feature for users. It allows people to connect a not-so-important wallet or burner wallet to the Airdrop and claim the tokens to an eligible wallet. In this screenshot, the wallet in the top right is connected and will be used to sign the claim transaction. The wallet in the blue box is the eligible wallet and the tokens will be claimed to that eligible address.

Current timestamp = 1655268173 (you can get these unix times from a site like )

https://www.unixtimestamp.com/
Airdrop
Airdrip
Custom Airdrip
Claimable Airdrop with WOBBL token