Skip to main content

Install

warning

These docs are for V1 of Eat The Pie, which is now deprecated. For the latest documentation for V2 on World Chain, please visit docs.eatthepie.xyz.

  1. Install Node.js LTS first (if you haven't!)

  2. Install our command line app:

$ npm install -g eatthepie

That's it! You're ready to play!

Commands

Here's everything you can do with the EatThePie CLI:

🛠️ Setup & Configuration

$ eatthepie setup             # First-time setup for network & wallet
$ eatthepie config # View your current settings

🎲 Core Game Commands

$ eatthepie buy              # Buy your lucky tickets! 🎟️
$ eatthepie status # Check current game status
$ eatthepie game-info # View game details
$ eatthepie did-i-win # See if you're a winner! 🏆
$ eatthepie ticket-history # View your ticket history

💰 Prize & NFT Commands

$ eatthepie claim-prize      # Claim your winnings! 💸
$ eatthepie mint-nft # Get your winner's NFT 🖼️

🎯 Draw & Verification Commands

$ eatthepie initiate-draw     # Start the drawing process
$ eatthepie set-randao # Set RANDAO value
$ eatthepie submit-vdf-proof # Submit VDF proof
$ eatthepie verify-vdf # Verify VDF proof
$ eatthepie calculate-payouts # Calculate prize distribution

⚙️ Game Settings

$ eatthepie difficulty-info    # Check current difficulty
$ eatthepie change-difficulty # Modify game difficulty