Eligibility

  1. Connect wallet(s) holding wPOKT to Warpcast
  2. Follow POKT account and POKT channel
  3. Reshare this cast
  4. For each 1000 wPOKT you owned before [DATE] held get 100 DEGEN
  5. Remove wallet(s) from warpcast once you’re done 🙂

Flow Overview

Example

Untitled

Untitled

Best Practice Implementation

  1. Need to deploy a smart contract and lock DEGEN in it that will
    1. Fetch Wallets from warpcast based on username (assuming the both are on-chain)
    2. Checks paid wallets
    3. Checks wPOKT contract for holders can find the wallets
    4. Check if they follow POKT (assuming it is on-chain)
    5. Calculate how much DEGEN they should get
    6. Transfer the DEGEN to each wallet
    7. Mark wallets as paid
  2. Need a backend API to run the transaction since user can’t sign the transaction (better approach is using Gelato function but adds more complexity)
    1. Will configure an EOA for gas fee
    2. Frontend will call the API
    3. Backend will create a transaction and pays the gas fee to transfer the DEGEN from contract
  3. Frontend
    1. Checks the stats and show to user by calling the contract
    2. Claim by calling the backend

Quick and Dirty implementation

  1. Backend
    1. Will have to set an EOA in the back of the system with gas fee and DEGEN tokens
    2. Check wPOKT holders from blockchain
    3. Check if user has followed POKT account/channel
    4. API that will be called to check stats and send DEGEN
    5. API for showing stats
  2. Frontend
    1. Checks the stats and show to user
    2. Claim by calling the backend