A decentralized Rock Paper Scissors game built on Base blockchain with NFT rewards for winners.
This project consists of two main components:
- rps-contract - Solidity smart contracts for the game logic and NFT minting
- rps-ui - Next.js frontend application for interacting with the game
- Play Rock Paper Scissors against another player
- Winner receives an NFT as a reward
- Built on Base blockchain
- Uses Coinbase OnchainKit for transaction handling
- Node.js 18+
- Foundry for smart contract development
- Wallet extension (MetaMask, Coinbase Wallet, etc.)
- Clone the repository
- Install dependencies in both
rps-contractandrps-uidirectories - Deploy the smart contract to Base Sepolia testnet
- Configure the contract address in the UI
- Run the frontend application
rps-contract/- Smart contract code and deployment scriptsrps-ui/- Frontend application built with Next.js
MIT