Craft Your Tools, Build Your World, Live the Adventure.
Problem Statement 2 β Unleash Blockchain Gameplay with Monad
Greenwhistle is a blockchain-based game that solves the problem of engaging gameplay with real ownership in the web3 space. It serves both casual gamers looking for accessible blockchain experiences and crypto enthusiasts seeking meaningful in-game economies.
Our game provides a fully immersive farming and crafting experience where every item, tool, and land plot can be owned as an NFT and traded in a decentralized marketplace. By leveraging Monad's high-throughput blockchain, we overcome traditional blockchain gaming issues like slow transaction processing and high gas fees, making microtransactions viable and gameplay seamless.
The real-world value comes from creating a digital economy where players can earn through skillful gameplay, trading, and resource management - all while enjoying an engaging gaming experience without the technical barriers typically associated with blockchain applications.
XLR8
- Vaibhav Kothari GitHub | Linkedin | Fullstack Developer
- Abhigya Krishna GitHub | Linkedin | Blockchain Developer
- Navya Rathore GitHub | Linkedin | AI Engineer
-
Why we chose this problem: We were inspired by the potential of integrating blockchain technology into gaming in a way that feels natural rather than forced. We saw an opportunity to create an immersive experience, while addressing the performance limitations that have held back blockchain gaming.
-
Key challenges we addressed:
- Creating a responsive game experience while maintaining blockchain integration
- Balancing game mechanics with tokenomics
- Developing a marketplace that's intuitive for non-crypto users
- Optimizing smart contracts for Monad's high-throughput environment
- Implementing seamless wallet connections with Base's OnChainKit
-
Pivots and breakthroughs during hacking:
- Initially planned for a survival game but pivoted to a farming/crafting focus afterwards
- Breakthrough in implementing asynchronous blockchain calls that don't interrupt gameplay
- Simplified our marketplace UI after user testing revealed confusion points
- Discovered a more efficient approach to on-chain storage of game saves
- Frontend:
- Next.js
- TailwindCSS
- Framer Motion
- Backend:
- Solidity
- Ether.js
- Monad Blockchain Network
- API:
- Groq
- Game Development:
- Phaser
- Grid Engine
- Wallet Integration:
- Base OnChainKit
- Hosting:
- Vercel
- β Monad: Your blockchain implementation
- β Base: AgentKit / OnchainKit / Smart Wallet usage
- β Groq: How you used Groq
- Fluvio: Real-time data handling
- Screenpipe: Screen-based analytics or workflows
- Stellar: Payments, identity, or token usage
- β Immersive Blockchain Game Experience: A farming/crafting game where players can build their virtual world
- β Decentralized Marketplace: Players can trade resources, tools, and NFTs in a decentralized marketplace powered by smart contracts
- β High-Performance Gaming on Monad: Utilizing Monad's high-throughput blockchain to enable smoother gameplay
- β Simplified Onboarding with Base Integration: Using Bases's OnChainKit for seamless wallet connection and management
- β Resource Gathering & Crafting: Implementing a comprehensive system where players can gather resources in the game world and craft tools, items, and structures
- β Firendly Groq Agent: Implemented an agent powered by Groq
- Demo Video Link: https://youtu.be/4AXkOjrZsaI
- Presentation Link: https://docs.google.com/presentation/d/16BX80mXnos6qpALj0ywZ0K4ja3XVEvLq/edit?usp=sharing&ouid=110902097743495051254&rtpof=true&sd=true
- β All members of the team completed the mandatory task - Followed at least 2 of our social channels and filled the form (Details in Participant Manual)
- β All members of the team completed Bonus Task 1 - Sharing of Badges and filled the form (2 points) (Details in Participant Manual)
- β All members of the team completed Bonus Task 2 - Signing up for Sprint.dev and filled the form (3 points) (Details in Participant Manual)
- Node.js
- Yarn package manager
#start local blockchain
cd packages/hardhat
yarn chain
#deploy contarcts in new terminal
yarn deploy# Clone the repo
git clone https://github.com/navyarathore/greenwhistle
# Install dependencies
cd greenwistle/packages/nextjs
yarn install
# Start development server
yarn devNavigate to https://localhost:3000 in your browser
List improvements, extensions, or follow-up features:
-
Multiplayer Features
- Implement real-time player interaction
- Add cooperative farming and crafting mechanics
- Create player guilds and shared land ownership
- Social features like trading chat and friend lists
-
Enhanced Game Mechanics
- Seasonal events and weather effects
- Advanced farming mechanics with crop diseases and fertilizers
- More complex crafting recipes and rare items
- Quest system with on-chain achievements
-
Economic Improvements
- Implementation of lending/borrowing for in-game assets
- Automated Market Maker (AMM) for stable resource pricing
- Governance token for community-driven game decisions
-
Technical Enhancements
- Layer 2 scaling solution integration for even faster transactions
- Cross-chain bridge support for multi-chain asset transfers
- Mobile-responsive game client
- Advanced anti-cheat mechanisms
- Performance optimizations for larger player base
-
Community Features
- DAO for game governance decisions
- Community marketplace fee sharing
- Player-created content system
- Regular community events and competitions
- Scaffold-ETH 2
- Phaser Game Framework
- Grid Engine Plugin
- OnChainKit by Base
- TailwindCSS/DaisyUI
- Monad Blockchain
- OpneZeppelin Contracts
- Framer Motion
Our hackathon journey creating Greenwhistle has been an incredible learning experience for our team. We encountered several challenges along the way, particularly in integrating Phaser's game engine with blockchain transactions in a way that maintains smooth gameplay. The most difficult aspect was designing a system where on-chain actions like NFT minting and marketplace transactions felt natural within the game flow rather than interrupting the experience.
We learned valuable lessons about designing smart contracts optimized for gaming, balancing on-chain and off-chain data storage, and creating intuitive UIs for blockchain interactions. The experience strengthened our skills in full-stack development, blockchain implementation, and game design.
Some memorable moments included our late-night debugging session that turned into an impromptu brainstorming about in-game economics, and the excitement we felt when we first successfully traded a crafted tool on our marketplace from one wallet to another.