← Back to home

Reputation Oracle

AI-powered on-chain reputation system for Web3 gaming using ZK proofs on Ronin blockchain

Problem Statement

RoninTrustScore is a decentralized reputation oracle that brings trust and accountability to Web3 gaming communities. Users complete behavioral questionnaires analyzed by AI (GPT-4) to generate reputation scores (0-100) across four dimensions: trustworthiness, security, experience, and behavior.The system generates zero-knowledge proofs of these scores, allowing users to prove their reputation without revealing sensitive questionnaire data. Scores are published on-chain via Ronin Saigon testnet, creating an immutable, verifiable reputation history that game developers and DAOs can query to make informed decisions about user access, roles, and privileges.This solves a critical problem in Web3 gaming: how to identify trustworthy players without compromising privacy or relying on centralized authorities. By combining AI analysis with blockchain verification, we create a transparent yet privacy-preserving reputation layer for the gaming metaverse.

Solution

Full-stack dApp built with React + Tailwind CSS frontend, Node.js/Express backend, and Python FastAPI AI microservice using OpenAI GPT-4o-mini.Frontend:Interactive questionnaire interface with wallet integration, real-time API calls displaying AI scores and proof generation status, and transaction monitoring. Built with React hooks for state management and Tailwind for responsive UI.Backend:REST API handling submissions, score storage, and ZK proof generation using ethers.js. Communicates with Python microservice for AI analysis, converting questionnaire JSON to natural language text for better GPT comprehension.Smart Contracts:Solidity Verifier and ReputationOracle contracts deployed on Ronin Saigon testnet. Verifier validates proofs and extracts public inputs; Oracle stores scores with msg.sender validation ensuring users control their own reputation.Flow:User completes questionnaire → Frontend sends to backend → AI analyzes → Backend generates ZK proof → Frontend prompts wallet signature → User publishes on-chain → Immutable reputation stored.Key innovations:Bridged AI with blockchain, implemented ABI encoding for Solidity compatibility, created seamless UX for complex cryptographic operations, and leveraged Ronin's low fees for accessible on-chain reputation. Demonstrates practical ZK proofs in gaming reputation systems.

Hackathon

ETHGlobal Buenos Aires

2025

Contributors