Skip to main content

Install

  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 complete-draw # Complete the drawing process
$ eatthepie calculate-payouts # Calculate prize distribution

⚙️ Game Settings

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