Eligibility
- Connect wallet(s) holding wPOKT to Warpcast
- Follow POKT account and POKT channel
- Reshare this cast
- For each 1000 wPOKT you owned before [DATE] held get 100 DEGEN
- Remove wallet(s) from warpcast once you’re done 🙂
Flow Overview
- User will
- connect the wallets
- interact with frame by checking stats and claiming
- System will:
- Check wPOKT contract to find eligible wallets at the set blocknumber
- Get warpcast username and connected wallets
- Calculate the total DEGEN to be received and show it to the user
- Distribute the DEGEN to each of the eligible wallets
- Mark user as paid
Example


Best Practice Implementation
- Need to deploy a smart contract and lock DEGEN in it that will
- Fetch Wallets from warpcast based on username (assuming the both are on-chain)
- Checks paid wallets
- Checks wPOKT contract for holders can find the wallets
- Check if they follow POKT (assuming it is on-chain)
- Calculate how much DEGEN they should get
- Transfer the DEGEN to each wallet
- Mark wallets as paid
- 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)
- Will configure an EOA for gas fee
- Frontend will call the API
- Backend will create a transaction and pays the gas fee to transfer the DEGEN from contract
- Frontend
- Checks the stats and show to user by calling the contract
- Claim by calling the backend
Quick and Dirty implementation
- Backend
- Will have to set an EOA in the back of the system with gas fee and DEGEN tokens
- Check wPOKT holders from blockchain
- Check if user has followed POKT account/channel
- API that will be called to check stats and send DEGEN
- API for showing stats
- Frontend
- Checks the stats and show to user
- Claim by calling the backend