Create a raffle
Last updated
Was this helpful?
Last updated
Was this helpful?
Navigate to [Gaming] > [Raffles] and click on "Create Raffle" button
You will face this form, asking you a bunch of settings, like:
Token: the token used for ticket purchases as well as rewards. You can select EGLD or any token except SFTs, NFTs and meta-ESDTs)
Ticket Price: the price of each ticket, paid by participants. Note that a 10% fee is taken on each ticket and is processed as JEX protocol fee.
Duration: raffle duration in hours. The raffle starts as soon as it is created. Purchasing tickets is allowed for this duration only.
Nb Winning Tickets: number of winning tickets. Note that one ticket can be picked multiple times.
Burn: burn percentage (can be 0%) of ticket payments to be burned (sent to the dead address).
Owner royalties: percentage (min: 0%, max: 25%) of ticket payments to be sent to raffle creator (YOU).
Obviously, burn + owner royalties cannot exceed 100%.
The rest of the ticket payments feed to prize pool.
Burned tokens are by default sent to the dead address
To enable burn at protocol-level, please grant the `ESDTLocalBurn` permission to the raffle smart contract erd1qqqqqqqqqqqqqpgqqx20mehhvfe2lhyspdeyjnmmdvlyg8k26avsk78e2a