A decentralized application for timestamping, notarizing, and verifying video authenticity on the Ethereum blockchain.
In an era of deepfakes and media tampering, verifying that a video has not been altered is critical.
This dApp solves this problem by using cryptographic hashing and blockchain immutability:
- The video file is processed locally in the browser to compute its unique cryptographic hash (without uploading the heavy media file).
- The hash and timestamp are permanently anchored to the blockchain via a Solidity smart contract.
- Anyone can upload the clip at any future point to instantly check if the hash matches the on-chain record.
- 🔒 Client-Side Hashing: Media clips are hashed locally for maximum privacy and zero bandwidth overhead.
- 📜 Tamper-Proof Smart Contracts: Built and tested with Hardhat to store hashes immutably on-chain.
- 🦊 MetaMask Integration: Direct Web3 wallet connection to sign and submit verification transactions.
- 🖱️ Drag-and-Drop UI: Minimalist interface with single-click actions (Secure Clip & Verify Clip).
- Smart Contracts: Solidity, Hardhat, Hardhat Ignition
- Frontend: JavaScript, Vite (React / Vanilla UI), HTML5, CSS3
- Web3 Layer: Ethers.js / Web3.js, MetaMask Provider
- Node.js (v18+) &
npm - MetaMask browser extension installed
Clone the repository and install root dependencies:
git clone https://github.com/BillyErMago/GameGuard.git
cd GameGuard
npm installCompile contracts and run local blockchain tests:
# Compile contracts
npx hardhat compile
# Run automated tests
npx hardhat test(Optional) Start a local Hardhat node and deploy:
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/<YourModule>.js --network localhostIn a new terminal window, start the frontend development server:
# Navigate to the frontend directory
cd frontend
# Install dependencies (if needed)
npm install
# Start development server
npm run devOpen your browser at:
http://localhost:5173/
- Connect Wallet: Click the Connect MetaMask button on the top right. Ensure your wallet is connected to the same network as the deployed contract (e.g., Localhost or Sepolia Testnet).
- Secure a Video (Notarize):
- Drag and drop your video file into the "DROP YOUR CLIP HERE" area.
- Click Secure Clip and approve the MetaMask transaction to anchor the video's fingerprint to the blockchain.
- Verify Integrity:
- Drop any video into the dropzone.
- Click Verify Clip to compare its hash against the contract records and confirm if the video is authentic and untampered.
- BillyErMago - GitHub Profile