RedCard is a Solidity-based smart contract designed to bring full transparency and accountability to sports officiating. It enables referees or league authorities to record yellow and red card violations directly on the blockchain, ensuring that every foul is stored permanently and cannot be altered or deleted. By keeping all player violations publicly visible and timestamped, RedCard creates an immutable and trustworthy match history where disputes, manipulation, or loss of records are impossible. The project demonstrates core Solidity concepts such as mappings, structs, access control, and event logging, making it a powerful yet beginner-friendly learning tool.
GitHub: https://github.com/JishnudipSaha/nit-celo
The mission of RedCard is to create a transparent, tamper-proof, and universally accessible disciplinary tracking system for sports. By leveraging blockchain’s strengths, it ensures that every foul issued is final, verifiable, and immune to manipulation. RedCard serves both as a practical application for sports management and as an educational project that helps new developers understand how to build secure, structured, and event-driven smart contracts in Solidity.
Traditional systems for tracking player fouls rely heavily on centralized databases or manual records, which are vulnerable to errors, tampering, and disputes. Match officials, especially in smaller leagues, often lack a secure and transparent method to store disciplinary actions. As a result, players may challenge decisions, data may be lost over time, and foul histories may be inconsistently maintained across different platforms or personnel.
RedCard solves these issues using the immutability and decentralization of blockchain technology. Only the contract owner—representing the referee or league authority—can register players or issue yellow and red cards, ensuring strict administrative control. Once a violation is recorded, it becomes a permanent part of the player’s history, stored transparently on-chain for anyone to verify. Each registration or foul emits an event, making it easy for front-end applications or analytics tools to track updates in real time. This approach eliminates disputes, prevents manipulation, and guarantees that disciplinary records remain accurate and accessible forever.