Base Stack
Crypto puzzle game on Base
Created on 22nd October 2025
•
Base Stack
Crypto puzzle game on Base
The problem Base Stack solves
Problems Base Stack Solves:
- Gamified Crypto Engagement
- Problem: Traditional crypto apps are often complex and intimidating for newcomers
- Solution: Base Stack makes crypto fun and accessible through an engaging puzzle game that teaches blockchain concepts through gameplay
- On-Chain Social Gaming
- Problem: Most games have centralized leaderboards that can be manipulated or lost
- Solution: Provides permanent, tamper-proof score tracking on the Base blockchain with social sharing capabilities
- Farcaster Integration for Web3 Social
- Problem: Web3 social platforms need engaging content and user retention
- Solution: Creates shareable gaming content that drives engagement on Farcaster with automatic profile integration
- Wallet Adoption & Education
- Problem: Users need practical reasons to connect wallets and interact with blockchain
- Solution: Provides a fun, low-stakes way to learn wallet usage, transaction signing, and blockchain interaction
How It Makes Existing Tasks Easier/Safer:
For Users:
- Learning Blockchain: Gamified approach to understanding wallet connections, transactions, and on-chain data
- Social Proof: Share achievements as verifiable on-chain records rather than just screenshots
- Progressive Engagement: Start with simple gameplay, gradually introduce more complex Web3 features
- Safe Practice: Learn blockchain interaction in a game environment before handling real money
For Developers:
- Template for Web3 Games: Complete example of integrating wallet connection, smart contracts, and social features
- Farcaster Mini App: Ready-to-deploy template for building on Farcaster's platform
- Base Network Focus: Optimized for Base's ecosystem with proper network switching and gas optimization
For the Ecosystem:
- User Onboarding: Attracts new users to Base network through engaging gameplay
- Social Engagement: Creates viral content that drives adoption of Farcaster and Base
- Developer Education: Shows best practices for Web3 game development
Challenges I ran into
Smart Contract Flow Issues
I hit a major roadblock with user management. New users needed to call setScore first to create a profile, while existing users could use addScore directly. The error "User does not exist" kept breaking the experience. I solved this by implementing a smart fallback system that tries addScore first, then automatically falls back to setScore if the user doesn't exist.
ABI Encoding Nightmare
Frontend was trying to pass 4 parameters to a contract function that only accepted 1. This caused the cryptic error "ABI ENCODING PARAMS/VALUES LENGTH MISMATCH." I discovered your contract had separate functions for profile updates and score additions, so you restructured the code to call updateProfile first, then addScore.
Wallet Connection Complexity
Supporting multiple wallets while ensuring seamless Base network switching was tricky. I used Reown AppKit to unify wallet support and implemented automatic network switching, but the Farcaster Mini App connector integration required careful configuration.
Score Accumulation Logic
Handling both new users (set initial score) and returning users (add to existing score) needed bulletproof logic. You implemented a two-step verification system that checks if a user exists first, then routes to the appropriate function, with comprehensive logging to track the entire flow.
The biggest breakthrough was realizing that contract design and frontend integration needed to be thought of as a single system, leading to a unified interface layer that abstracts away the underlying complexity.
Link to the GitHub Repo of your project
Live URL of your project
What is your product’s unique value proposition?
"The First Truly Social Web3 Puzzle Game with Permanent On-Chain Achievements"
What Makes Base Stack Stand Out:
1. Seamless Web3 Integration Without the Friction
- Most Web3 games force users to understand wallets, gas fees, and blockchain complexity upfront
- Base Stack makes Web3 invisible - users just play a fun puzzle game and naturally learn blockchain concepts
- The wallet connection feels like a natural part of the gaming experience, not a barrier
2. Permanent, Tamper-Proof Social Gaming
- Unlike traditional games where leaderboards can be manipulated or lost, Base Stack scores are permanently recorded on-chain
- Players can share verifiable achievements that can't be faked or deleted
- Creates a new category of "social proof gaming" where achievements have real value
3. Farcaster-Native Social Experience
- Built specifically for Farcaster's social ecosystem, not retrofitted
- Automatic profile integration means players can share achievements with their existing social graph
- Creates viral content that drives organic growth within the Web3 community
4. Progressive Web3 Education
- Players learn blockchain concepts through gameplay, not tutorials
- Starts simple (just play the game) and gradually introduces Web3 features
- Low-stakes environment perfect for Web3 newcomers
Who is your target customer?
- Web3 Curious Gamers (Primary)
Who they are:
Traditional gamers who are interested in crypto but intimidated by complexity
Ages 18-35, already active on social media
Play mobile puzzle games (Candy Crush, Tetris, etc.)
Want to "get into crypto" but don't know where to start
Why they're perfect:
Your game removes the Web3 learning curve through familiar puzzle gameplay
They already understand social sharing and leaderboards
Low-stakes environment perfect for their first blockchain interactions
2. Farcaster Power Users (Secondary)
Who they are:
Early adopters already active on Farcaster
Crypto-native but want more engaging content
Ages 22-40, tech-savvy, active in Web3 communities
Looking for new ways to engage their social graph
Why they're ideal:
Your Farcaster integration gives them native social features
They understand the value of on-chain achievements
They'll become your viral growth engine through sharing
3. Web3 Developers (Tertiary)
Who they are:
Developers building Web3 applications
Need templates and examples for Web3 game development
Want to understand Farcaster Mini App integration
Why they matter:
Your comprehensive documentation and working codebase serves as a template
They'll help spread your technology and approach
Creates a developer ecosystem around your concept
Who are your closest competitors and how are you different?
Direct Web3 Puzzle Game Competitors:
- BASETRIS - ohara.ai
Tetris-inspired puzzle game on blockchain
Similar match-3 mechanics to Base Stack
Has blockchain integration but lacks social features - Treasure Stack - store.steampowered.com
Falling block puzzle game with platforming elements
Traditional gaming mechanics without Web3 focus
No on-chain achievements or social integration - Coin Stack Puzzle - apps.apple.com
Mobile puzzle game with coin-stacking mechanics
Traditional mobile game without blockchain features
No social or competitive elements
How Base Stack is Different
- Farcaster-Native Social Gaming
Competitors: None have Farcaster integration
Base Stack: Built specifically for Farcaster's social ecosystem with automatic profile integration and native sharing - Seamless Web3 Onboarding
Competitors: Most require extensive Web3 knowledge upfront
Base Stack: Web3 features are invisible - users just play a fun game and naturally learn blockchain concepts - Permanent On-Chain Achievements
Competitors: Traditional games have temporary, centralized scoring
Base Stack: All achievements are permanently recorded on-chain and can't be manipulated or lost - Progressive Web3 Education
Competitors: Either fully Web3 (complex) or traditional (no blockchain)
Base Stack: Starts as a simple puzzle game and gradually introduces Web3 concepts - Mobile-First Web3 Gaming
Competitors: Most Web3 games are desktop-focused
Base Stack: Optimized for mobile Web3 usage with responsive design - Developer Template Approach
Competitors: Closed-source games
Base Stack: Open-source template that other developers can use to build similar experiences
What is your distribution strategy and why?
Primary Channel: Farcaster Native Distribution
Why This Works:
Your app is built specifically for Farcaster's ecosystem
Users can discover and play directly within their existing social feed
No external downloads or complex onboarding required
Leverages Farcaster's growing user base of crypto-native users
How It Works:
Players share achievements as Farcaster casts automatically
Each cast includes the game link, creating viral growth loops
Farcaster's algorithm promotes engaging content, amplifying your reach
Built-in social proof through on-chain achievements
Secondary Channel: Developer Community Distribution
Why This Fits:
Your comprehensive documentation and working codebase serve as a template
Web3 developers are always looking for new integration examples
Creates a developer ecosystem around your technology
Developers become advocates and build similar experiences
Distribution Methods:
Open-source your codebase on GitHub
Share in developer communities (Base Discord, Farcaster Dev channels)
Create tutorials and case studies
Speak at Web3 developer conferences
Tertiary Channel: Base Ecosystem Integration
Why This Makes Sense:
Built on Base network, so natural fit for Base ecosystem
Base users are already crypto-curious and wallet-enabled
Base's marketing can amplify your reach
Cross-promotion with other Base projects
Distribution Tactics:
Partner with other Base projects for cross-promotion
Submit to Base ecosystem directories
Leverage Base's developer relations team
Participate in Base community events
Technologies used
