Skip to main content

Functionality

Wonder what kind of functionality the frontend offers? This is the right place to find out!

Info Section

Frontend Info Section

This section shows real time information about the lottery like the current jackpot, number of tickets sold and when the next draw will be ready to execute.

Beneficiary Section

Frontend Beneficiary Section

Here the user can select which cause they want to support with their ticket purchase. There is always a "Collective Fund" that is controlled by the lottery owner.

Optionally the owner can add additional beneficiaries to the lottery. When the user selects one the funds are sent directly to the beneficiary's address instead of the collective fund.

Ticket Purchase Section

Frontend Ticket Purchase Section

The user can purchase tickets by selecting their favorite numbers for each ticket or picking random numbers. Optionally each ticket can be gifted to another address.

Finally the user can purchase the tickets with an onchain transaction

Ticket Section

Frontend Ticket Section

Here the user can view their tickets and claim their prizes if they won!