Lottery

The lottery function allows users to partake in a daily lottery for a chance to win one of several prizes of tokens. The Leonicorn Swap lottery is powered through a partnership with Chainlink, utilising their Verifiable Random Function (VRF) to ensure that prizes are distributed fairly, and verifiably.

You can read more about Chainlink’s VRF at https://docs.chain.link/docs/chainlink-vrf/.

How to Play

Ensure your wallet is connected to the DEX (see Connecting Your Wallet).

  1. Open the side menu and tap Lottery.

  2. You can tap on the dropdown next to Details to review how the prizes will be won, distributed, and the size of each prize pot. If happy with the details, tap on Buy Tickets.

  3. Enter the number of tickets you wish to buy in the tickets field. If you want to play using random numbers you can tap on the Buy Instantly button and skip the optional steps below.

  4. Optional - tap on View/Edit Numbers button to view or edit the numbers you will play with. In the window that opens you can change the numbers for each ticket, in line with the instructions at the top of the pane, or tap Randomize to generate a new random selection. Once satisfied tap on the Confirm and Buy button.

  5. You will then be prompted by your wallet app to approve the transaction and the associated transaction fee (paid with Binance Smart Chain BNB).

    NOTE: A transaction fee is payable on each lottery ticket purchased, the bulk discount offered when buying multiple tickets is designed to reduce the impact of these fees for the player.

Once approved, the transaction will be sent to the network for processing. Though this usually takes only about a minute, when the network is under high demand, transactions can take much longer.

When complete, the tokens will be removed from your wallet and you will be able to view your tickets on the DEX.

How to Collect Prizes

Ensure your wallet is connected to the DEX (see Connecting Your Wallet).

  1. Open the side menu and tap Lottery.

  2. You can check if you have prizes to collect by tapping on the Check Now button found by scrolling down.

  3. If you have prizes to collect a pane will open displaying your prize, tap on the Claim button

  4. You will then be prompted by your wallet app to approve the transaction and the associated transaction fee (paid with Binance Smart Chain BNB).

Once approved, the transaction will be sent to the network for processing. Though this usually takes only about a minute, when the network is under high demand, transactions can take much longer.

Last updated