1
2
2. Finalize Raffle Configuration
Work with the team to determine the optimal settings for your raffle based on the available Configuration Options:
- Prize details (NFT, Token amount)
- Pricing (Your token, USDC, PP, Free)
- Payment token(s) accepted
- Burn token (Your token, $POLLY)
- Timing (Start, End, Caps)
- Gating requirements (Token hold, NFT hold, VIP, Snapshot/Merkle list)
- Metadata (Name, Description, Image URL, Public visibility)
- Platform fee agreement
3
3. Prepare Assets & Data
- Prize: If providing an on-chain prize, ensure it’s ready and arrange transfer to the PollyPrize contract address before resolution.
- Metadata: Prepare the JSON metadata file containing the name, description, image URL (hosted publicly or as a data URI itself), and public flag. Convert this JSON to the required
data:application/json;base64,...format for theraffleURIparameter. Online tools or simple scripts can do this encoding. - Gating Data: If using Merkle gating, prepare the list of eligible addresses and generate the Merkle Root. Provide this root to the PollyPrize team.
- Images: Provide image assets for metadata and promotion.
4
4. Raffle Creation & Listing
The PollyPrize admin team will use the configured parameters to call
createRaffle on the smart contract. Once created, they will set the raffle’s isListed status to true to make it visible and active on the platform at the agreed startTimestamp.5
5. Promotion & Launch
Promote the raffle to your community! Share the link, explain the rules and prize, and build excitement.
6
6. Raffle End & Resolution
Once the raffle ends (time limit or hard cap reached), the PollyPrize team (or designated keepers) will initiate the
resolveRaffle and processWinners functions using the secure Pyth Entropy randomness to select the winner(s).7
7. Prize Distribution
For single-winner on-chain prizes, distribution is typically automatic. For multi-winner or complex scenarios, coordinate distribution with the PollyPrize team as planned. Announce the winner(s) to your community!
