DeepChain Fishing — Fully On-Chain Game on GenLayer
DeepChain Fishing is a fully on-chain fishing game built on GenLayer Intelligent Contracts. Every action — from casting your line to upgrading gear — is executed and stored directly on the blockchain.
Key Features
🎣 Fully On-Chain Gameplay
Every fishing action is processed by a smart contract with transparent and verifiable results.
🏷️ Player Identity System
Choose your own nickname, linked permanently to your wallet address.
🛒 Shop & Equipment
Buy rods with rarity bonuses and catch rate improvements. Use bait to increase catch rates and rare fish chances. Equip different rods for better performance.
🐟 Rich Fish System
Multiple fish with rarity tiers (Common, Uncommon, Rare, Legendary). Each fish has unique emoji and color. AI-generated stories for rare/legendary catches. Weather-based fishing conditions.
🌤️ Real-Time Weather Integration
Web fetching for live weather data that affects fishing conditions.
🧠 AI Story Generation
LLM generates unique stories for rare/legendary catches, powered by GenLayer's AI capabilities.
🏆 Global Leaderboard
Ranked by total points, fully stored on-chain.
✨ Modern UI/UX
Loading spinner with fishing animation, error modal with retry functionality, disconnect wallet support, responsive design.
Tech Stack
Technologies Used
- Frontend: HTML, CSS, Vanilla JavaScript
- Build Tool: Vite
- Blockchain: GenLayer Studio
- SDK: genlayer-js
- Wallet: MetaMask
- Smart Contract: Python (GenLayer Intelligent Contracts)
Contract Information
- Network: GenLayer Studio (studionet)
- Chain ID:
0xF22F(61999) - Contract Address:
0x260b9430aF87e8AF425c793790521caf9F028809
How to Play
- Connect your MetaMask wallet
- Switch to GenLayer Studio network
- Register your nickname
- Click Cast Line 🎣
- Catch fish and earn points
- Upgrade your gear in the shop
- Climb the leaderboard
Game Mechanics
🎲 Randomness
Fishing results are based on:
- Player wallet address
- Global cast count
- Real-time weather conditions
- Rod quality (catch bonus)
- Bait type (catch & rare bonuses)
This ensures deterministic outcomes with no client-side manipulation.
🐟 Rarity System
| Rarity | Base Chance |
|---|---|
| Empty | ~20% |
| Common | ~28% |
| Uncommon | ~25% |
| Rare | ~15% |
| Legendary | ~2% |
Modifiers from rods and bait will influence outcomes.
🎣 Rods
| Rod | Price | Catch Bonus | Rare Bonus | Legendary Bonus |
|---|---|---|---|---|
| Bamboo | 0 | +10% | 0% | 0% |
| Platinum | 50 | +15% | 15% | 5% |
| Adamantite | 150 | +20% | 30% | 10% |
| Mythic | 500 | +30% | 50% | 25% |
🪱 Bait
| Bait | Price | Catch Bonus | Rare Bonus |
|---|---|---|---|
| Worm | 10 | +20% | 0% |
| Shrimp | 20 | +30% | 10% |
| Magic Lure | 50 | +40% | 20% |
| Golden Bait | 100 | +60% | 40% |
Known Limitations
- ⏳ Transaction delay (8–15 seconds for consensus)
- 🌐 Depends on GenLayer validators
- 🦊 MetaMask may require manual network switching
Future Roadmap
- 🔊 Sound effects & immersive feedback
- 🎨 Advanced animations
- 🧠 Skill & leveling system
- 🎁 NFT fish collectibles
- ⚔️ PvP tournaments & seasonal leaderboard
- 📱 PWA support for mobile
Built by dhozil for the GenLayer community 🚀