Skip to content

lorenz234/FeedMammoth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

672576a · Mar 3, 2025

History

7 Commits
Mar 3, 2025
Mar 1, 2025
Mar 1, 2025
Mar 3, 2025

Repository files navigation

Feed The Mammoth

The Game

Feed The Mammoth is an onchain tapping game developed for the Celestia Hackathon under the Conduit G2 track. Players tap to feed the mammoth, triggering an onchain hash game in the backend. The goal is to generate random hashes and compete for the lowest hash to win the round and earn tokens.

How to Play

  1. Open the Frontend: Access the live deployment here: https://lorenz234.github.io/FeedMammoth/.
  2. Connect Your Wallet: Obtain testnet tokens for the G2 testnet chain and switch your wallet to this chain.
  3. Create a Session Key: Generate a session key and fund it with ETH testnet tokens.
  4. Feed the Mammoth: Tap the mammoth to participate in the hash game. The player with the lowest hash wins the round.

Requirements

Technical Details

  • Smart Contract: Deployed on Conduit G2 Testnet
  • Explorer: View Transactions
  • Game Mechanics: Players generate hashes and the lowest hash wins
  • Leaderboard: Displays top players based on best hash scores

Deployment

To deploy the front-end, follow these steps:

  1. Navigate to the front-end directory:
    cd front-end
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
  4. For production deployment, build the project:
    npm run build

Contributing

This project was developed as part of the Celestia Hackathon in Feb. 2025.