hackquest logo

Grass.fun

CONNECT. PLAY. REPEAT.

视频

描述

🎮 Grass.fun – U2U Gaming Platform

Grass.fun is a blockchain-based gaming platform on U2U Solaris Mainnet, offering multiple casino-style games with provably fair mechanics. Play, win, and earn real U2U tokens!


🌟 Features

🎯 Games

  • Coinflip – Classic heads or tails

  • Mines – Risk vs reward minefield game

  • Rugs (Crash) – High-stakes crash game

  • Paaji On Top – Grid-based game with progressive rewards

🔐 Blockchain Integration

  • U2U Solaris Mainnet – Fast, secure, low-cost

  • Smart Contract Logic – Transparent and provably fair

  • Automated Resolution – No manual intervention

  • Real-time Wallet Balance – Instant updates

💰 Financial Features

  • U2U Token Support – Native token for all games

  • Multi-currency Display – U2U, USD, INR

  • Instant Withdrawals – Secure and fast

📊 Analytics

  • Personal stats and performance tracking

  • Global leaderboard

  • Game history and charts

🎨 UI/UX

  • Fully responsive

  • Dark theme for eye comfort

  • Smooth animations and sound effects


🏆 Games

🪙 Coinflip

  • Predict heads or tails, 1.95x multiplier

💣 Mines

  • Find gems, avoid mines, up to 24x multiplier

🚀 Rugs (Crash)

  • Cash out before the crash, dynamic multiplier

🎯 Paaji On Top

  • Navigate the grid to reach the top, progressive rewards


🏆 Global Leaderboard

Compete globally and climb the rankings!


📋 Contract Information

Current Deployment

Contract Features

  • Provably Fair Gaming - All games use transparent, verifiable mechanics

  • Multi-Game Support - Mines, Crash, Paaji, Coinflip

  • User Statistics - Complete gaming history and performance tracking

  • Instant Withdrawals - Fast and secure U2U token transfers

  • Real-time Price Conversion - Live U2U to USD/INR rates

🎯 Game Resolution System

Grass.fun uses an automated resolver system that processes game outcomes without user intervention:

How It Works

  1. User plays game → Game state stored on-chain via smart contract

  2. Automated resolution → Games are resolved based on provably fair outcomes

  3. Winnings credited → Users can withdraw U2U tokens from stats page

  4. Real-time updates → All statistics and balances update instantly

Resolution Features

  • Provably Fair - All game outcomes are transparent and verifiable

  • Instant Processing - Games resolve immediately after completion

  • Secure Withdrawals - U2U tokens transferred directly to user wallets

  • Complete History - All games and transactions are recorded on-chain

📊 Smart Contract Methods

User Methods

  • startGame(gameId, gameType) - Start a new game with U2U bet

  • withdraw() - Withdraw winnings to wallet

  • getUserStats(address) - Get user statistics

Game Types

  • "mines" - Minesweeper game

  • "crash" - Crash multiplier game

  • "paaji" - Paaji On Top game

  • "coinflip" - Coin flip game

Contract Events

  • GameStarted(address indexed player, string gameId, string gameType, uint256 betAmount)

  • GameResolved(address indexed player, string gameId, bool didWin, uint256 multiplier)

  • Withdrawal(address indexed player, uint256 amount)

🎯 Roadmap

Cross-Chain

  • NEAR Intents ✅

  • Multi-chain gaming

  • Universal leaderboard

  • Cross-chain tournaments

Gaming Features

  • Mobile app

  • Tournament mode

  • NFT rewards

  • Social features

  • Additional games

Technical Improvements

  • Layer 2 support

  • Advanced analytics

  • AI-powered recommendations

  • Developer APIs


🙏 Acknowledgments

  • U2U Solaris – EVM-compatible blockchain

  • Next.js Team – React framework

  • Open Source Community – Tools and libraries


Built with ❤️ by the Grassdotfun Team
Decentralized gaming, reimagined on U2U Solaris


本次黑客松进展

Built a blockchain-based gaming platform on U2U Solaris Mainnet. Implemented multiple casino-style games: Coinflip, Mines, Crash (Rugs), and Paaji On Top. Integrated provably fair smart contracts with automated game resolution. Enabled real-time U2U token support, price conversions, and instant withdrawals. Developed user analytics: stats tracking, leaderboard, and game history. Designed responsive, dark-themed UI with smooth animations and sound effects.

技术栈

React
Next
Web3
Ethers
Solidity
Node
队长
DDebanjan Mondal
赛道
GamingSocialFiDeFi