Skip to main content

Core Game Commands

🎟ī¸ Buy Tickets

Purchase your lottery tickets with custom or auto-generated numbers.
$ eatthepie buy

When you execute the command, you'll be guided through the buy process:

Current ticket price: 0.1 WLD
Current difficulty: Easy (1-25)
Valid number range: 1-25, Etherball: 1-10

How many tickets do you want to buy? (1-100): 2

Do you want to provide your own numbers or auto-generate?
❯ Provide own
Auto-generate

Enter 4 numbers for ticket 1 (comma-separated, last is Etherball): 7,23,5,9
Enter 4 numbers for ticket 2 (comma-separated, last is Etherball): 3,15,20,8

Review your tickets before purchase:

Tickets to purchase:
Ticket 1: 7, 23, 5, 9
Ticket 2: 3, 15, 20, 8
Total cost: 0.2 WLD

Do you want to proceed with the purchase? (Y/n)

Transaction Done 📝

Transaction Hash: 0x123...abc
Purchase submitted!

Waiting for transaction to be confirmed...
Block Number: 1234567
Transaction confirmed successfully!

Tips 💡​

  • Make sure the numbers you pick are within the valid ranges
  • Make sure your wallet has enough WLD to cover the purchase amount and gas fees

📊 Status

Check the current game status including prize pool, difficulty, and draw time.
$ eatthepie status

When you execute the command, you'll see the status of the currentt ongoing round:

Status:
Current Game Round: 2
Difficulty: Easy (1-25)
Prize Pool: 10.5 WLD
Next Possible Draw Time: 10/29/2024, 3:00:00 PM
Time Until Draw: 2 hours, 15 minutes

ℹī¸ Game Info

View detailed information about any past or current game.
$ eatthepie game-info

When you execute the command, you'll be asked to enter a game number:

Enter the past game number you want to view: 2

The output will show all game information:

Game 2 Information:
Status: Completed
Prize Pool: 15.5 WLD
Difficulty: Easy (1-25)
Draw Initiated Block: 1234567

Winning Numbers: 7, 23, 45, 12
Number of Winners: 5 (Jackpot: 1, 3 in-a-row: 2, 2 in-a-row: 2)
Payouts: Jackpot: 10.0 WLD, 3 in-a-row: 2.5 WLD, 2 in-a-row: 1.0 WLD

🏆 Did I Win

Check if you (or any other wallet) won.
$ eatthepie did-i-win

When you execute the command, you'll be prompted for:

Enter the game number you want to check: 2
Enter wallet address: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e

If you won, you'll see:

Congratulations, you won!
Jackpot: Yes
3 in-a-row: No
2 in-a-row: No
Total Prize: 10.5 WLD
Claimed: No

Don't forget to claim your prize!

If you didn't win:

Sorry, you didn't win in this game. Better luck next time!

🎟ī¸ Ticket History

View all tickets purchased for a specific game.
$ eatthepie ticket-history

When you execute the command, you'll be prompted for:

Enter the game number: 2
Enter wallet address: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e

If you have tickets, you'll see:

Tickets:
Ticket 1: 7, 23, 45, 12
Ticket 2: 3, 15, 42, 8
Ticket 3: 11, 27, 39, 15

Total Tickets: 3

If you have no tickets:

No tickets found.