NEET Raffles
How to create a raffle
Last updated
How to create a raffle
Last updated
Welcome to this guide where you're going to learn how to create raffles using the NEET Raffles dApp! In this guide, we will walk you through each step of the process. If you have any questions, please feel free to reach out to us on Discord.
From the NEET landing page or the Raffles dApp landing page, navigate to "Product: Raffles" by hovering your mouse over the corresponding menu item in the navigation bar.
Select NFTs: Choose up to five NFTs to include in the raffle.
Raffle Name: Enter a unique name for your raffle.
Select Blockchain: Choose the blockchain where the raffle will be conducted.
Select Token: After selecting the blockchain, choose the token you want to use for the raffle.
Set Minimum Raffle Proceed: Define the minimum number of participants required to proceed with the raffle.
Each raffle can have between 1 to 5 pricing options. The PricingOption must respect the following rules:
The first pricing option's entriesCount (pricingOption[0].entriesCount), must divide the minimumEntries number evenly and be greater than zero.
The entriesCount of each pricingOption must be evenly divisible by pricingOption[0].entriesCount.
The price of all pricing options must be divisible by the number of entries it provides.
The entries given must increase as pricing options are added; they can't be less or equal to the previous pricingOption entries.
The price of the pricingOption must be greater than the previous pricingOption.
The price per entry must be lower than the previous pricingOption.
If the raffle is successfully created, the function will return the raffleId and the prizes defined will be transferred automatically.
Amount of Tickets: Set the number of tickets available for the raffle.
Ticket Price: the price per ticket
Optional Package One: Define the number of entries and the price for this package.
Optional Package Two: Define the number of entries and the price for this package.
Optional Package Three: Define the number of entries and the price for this package.
Optional Package Four: Define the number of entries and the price for this package.
Manual Date: Choose a specific date for the raffle to start.
Auto Date: Allow the system to automatically select a start date based on predefined criteria.
Authorize Transfer: Authorize the transfer of the NFT(s) to the contract operator.
Create Raffle: Click the "Create Raffle" button to finalize the raffle setup.
Wait for Minimum Participants: The raffle will only proceed if the minimum number of participants is reached (e.g., ten participants).
Initiate Draw: Once the minimum number of participants is reached, anyone can initiate the draw from the raffle page.
Announce Winner: The system will randomly select a winner from the participants.
Winner Claims Prize: The winner can claim their prize through the dApp interface.