A revolutionary Solana-powered Wordle dApp where players compete for daily prize pools! Deposit SOL to play, solve the daily Wordle, and win proportional payouts based on your contribution percentage.
- Deposit Entry Fee: Pay 0.001 SOL to enter the daily Wordle challenge
- Play Wordle: Solve the 5-letter word in 6 attempts or less
- Win Prizes: Winners receive proportional payouts based on their contribution to the total pool
- Daily Reset: New word and prize pool every day at midnight UTC
- 🎯 Daily Wordle Game: Classic 6-attempt word guessing with color-coded feedback
- 💰 SOL Prize Pools: All entry fees go into a daily escrow - winners get proportional payouts
- 🏆 Real-time Leaderboard: See all players, their contributions, and potential winnings
- 💸 Winner Claims: Secure prize withdrawal system with transparent calculations
- 🔐 Solana Integration: Built on Solana blockchain for fast, cheap transactions
- 📱 Mobile Ready: Responsive design that works perfectly on all devices
- 🎨 Beautiful UI: Modern, intuitive interface with smooth animations
- Frontend: React + TypeScript + Vite
- Blockchain: Solana Web3.js
- Wallets: Solana Wallet Adapter
- Styling: CSS3 with modern design patterns
-
Clone the repository:
git clone <your-repo-url> cd solword
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
-
Install Solana CLI (if not already installed):
brew install solana
-
Configure for Devnet:
solana config set --url https://api.devnet.solana.com -
Get test SOL:
- Visit Solana Faucet
- Or use CLI:
solana airdrop 2
-
Install Phantom Wallet:
- Chrome: Phantom Extension
- Firefox: Phantom Extension
-
Switch to Devnet:
- Open Phantom → Settings → Change Network → Devnet
- Get test SOL from the faucet
- Connect Wallet: Click the wallet button and select your preferred wallet
- View Balance: See your SOL balance and wallet information
- Start Playing: Ready to build word games and earn rewards!
solword/
├── src/
│ ├── components/
│ │ └── WalletInfo.tsx # Wallet connection and balance display
│ ├── App.tsx # Main application component
│ ├── App.css # Styling
│ └── main.tsx # Application entry point
├── public/ # Static assets
└── package.json # Dependencies and scripts
- Daily Escrow System: Holds all SOL deposits for the day
- Proportional Payouts: Winners receive prizes based on contribution percentage
- Player Tracking: Records all players, contributions, and game results
- Secure Distribution: Automated prize distribution to winners
- React + TypeScript: Modern, type-safe development
- Solana Wallet Adapter: Seamless wallet integration
- Real-time Updates: Live prize pool and leaderboard updates
- Transaction Handling: Secure SOL deposits and prize claims
- Entry Fee: 0.001 SOL per game
- Daily Word: Same word for all players each day
- Attempts: 6 guesses maximum
- Winning: Solve the word to qualify for prizes
- Proportional Payouts: Your prize = (Your Contribution / Total Winner Contributions) × Total Pool
- Winner Only: Only players who solve the word receive prizes
- Fair Distribution: Larger contributors get larger prizes
- Daily Reset: Unclaimed prizes roll over to next day
- ✅ Word game mechanics
- ✅ SOL token rewards
- ✅ Smart contract integration
- ✅ Leaderboards
- USDC support for entry fees
- NFT achievements for milestones
- Multiplayer tournaments
- Advanced analytics dashboard
- Mobile app (PWA)
- Social features and sharing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details
Happy coding! 🚀