In the Buy Tickets dialog, enter the number of tickets that you want to buy. In this case, we'll buy 1 ticket.
The cost of those ticket is displayed next to Cost. In this case, the cost of our ticket is about 83 PPI.
Click Approve to approve Swappi Lottery to spend PPI on your behalf.
In the MetaMask dialog, click Confirm.
Now let's choose our lucky lottery numbers! Click View/Edit Numbers. Optionally, you can click Buy Instantly and skip to step 10.
In Edit Numbers, see the ticket number that you got. If you want a new lottery number of numbers, click Randomize, until you get a lottery number that makes you feel lucky.
Once you're ready, click Confirm & Buy.
In the MetaMask notification, click Confirm to confirm the purchase of your lottery ticket(s).
You have successfully bought a ticket for Swappi Lottery, now go have fun!