SpellForge is a turn-based, 2-player wizard dueling game where players battle using NFT spells. Defeat your opponent to win Shards, but beware losing means sacrificing a spell from your collection. Use Shards to forge powerful spells and climb the ranks in this strategic showdown
SpellForge is an exciting turn-based wizard dueling game that combines strategy, collection, and blockchain technology. In this 2-player game, wizards face off using their unique collection of spell cards, represented as NFTs. Key Features:
SpellForge offers a unique blend of tactical gameplay, resource management, and the thrill of collecting and forging powerful spells. Every decision matters, from spell selection in battle to managing your Shard economy.
SpellForge was built using a modern tech stack combining Next.js for the frontend, Socket.io for real-time battles, and PostgreSQL with Prisma ORM for data management. We integrated blockchain functionality using Solidity smart contracts (ERC-20 for Shards, ERC-721 for Spells) via Wagmi and Viem. The core of our project leverages Stackr Labs' micro-rollups SDK, which significantly enhanced scalability and reduced gas costs by batching transactions. For deployment, we containerized our application using Docker and hosted it on AWS, ensuring robust scalability and reliability. Notable technical achievements include efficient NFT metadata caching, a secure random spell generation system using VRF. This architecture allowed us to create a seamless, cost-effective gaming experience while maintaining the decentralized nature of blockchain technology.