Chess Chain is a blockchain-based chess platform that combines the excitement of chess with the power of blockchain technology. Stake tokens, challenge opponents, and immortalize your moves as NFTs.
- Chess Chain Frontend - https://chess-chain.vercel.app
- Chess Chain Smart contracts - https://ftmscan.com/address/0x067268F66B8312c2382C9055fa2615baDd124354
chesschain.mp4
- Create matches and stake tokens
- Invite opponents using match IDs
- Real-time gameplay with WebSocket communication
- Winner takes the staked amount and receives a unique NFT
- Store game details, match history, and NFTs on the Fantom blockchain
frontend/
: Contains the Next.js frontend application built with Tailwind CSS.backend/
: Includes the Node.js backend server developed with Express.js and WebSocket integration.smart-contracts/
: Contains the Solidity smart contracts deployed on the Fantom blockchain.
- Navigate to the
frontend/
directory. - Install dependencies:
npm install
. - Start the development server:
npm run dev
.
- Navigate to the
backend/
directory. - Install dependencies:
npm install
. - Start the backend server:
npm start
.
- Navigate to the
smart-contracts/
directory. - Configure your Fantom network settings in
hardhat-config.js
.
Contributions to Chess Chain are welcome! Feel free to open issues and submit pull requests for any enhancements or bug fixes.