hackquest logo

ChainYodha.Ai

ChainYodha.Ai provides transparent wallet and project trust scores derived from onchain activity and optional offchain signals. It exposes an onchain oracle contract where dApps can query wallet trust

视频

描述

⚔️ ChainYodha.AI

ChainYodha.AI is an AI-powered onchain risk and trust intelligence layer — built on Arbitrum — that assigns real-time TrustScores to wallets, smart contracts, and DeFi protocols. It protects users from scams, fraud, and rug-pulls by giving them transparent, AI-evaluated risk data — directly in the wallet, dApp, or payment flow.

By combining onchain activity, AI analytics, and social graph signals, ChainYodha.AI becomes your “digital warrior” — defending Web3 users and builders from hidden threats.


🧠 Why ChainYodha.AI?

India is rapidly adopting Web3 — but users face:

  • Fake UPI-to-token swap scams

  • Rug-pull NFT collections

  • Fraudulent Arbitrum stablecoin wallets

  • No public “reputation score” for wallets or smart contracts

ChainYodha.AI solves this with a decentralized, composable TrustScore system that evaluates:

✅ Wallet behavior (risk flags, tx patterns, scam tokens)
✅ Onchain identity + social links (Farcaster, GitHub, ENS, Lens)
✅ Smart contract audit data, developer credibility
✅ AI-generated flags from LLMs trained on fraud patterns
✅ Community reporting + reputation consensus


🛡️ Use Cases

  • 🪙 DeFi: Score-based lending, trust-verified liquidity providers

  • 📦 P2P & Stablecoins (arbINR, USDC): Know before you send

  • 🛍️ Merchants: Embed ChainYodha badge to prove payment wallet trust

  • 🔐 Wallets & DApps: Show risk levels at connect time

  • 📲 Discord/Telegram Bots: Community wallet vetting


⚙️ Architecture

  • Network: Arbitrum One (main deployment)

  • Smart Contracts: Solidity + Stylus (Arbitrum Nitro compatible)

  • AI Engine: Open-source LLM risk analyzers + onchain behavior scoring

  • Frontend: Next.js (React + Wagmi)

  • Wallets: MetaMask, MathWallet, TrustWallet

  • Multi-chain Support: Ethereum, Solana, Arbitrum, Polygon


🧩 Modules

  • TrustScoreOracle.sol – Main scoring contract

  • IdentityLinker.sol – Social + DAO linkage to wallet

  • ChainYodhaBadge.sol – ERC-721 trust badge

  • ScoringValidator.sol – Verifies offchain AI score hash onchain

  • ProofStore.sol – Stores IPFS hashes of audit data, social proofs


🧰 Tech Stack

  • Blockchain: Arbitrum One, Arbitrum Orbit (future-ready)

  • Smart Contracts: Solidity, Stylus (for advanced L2 logic)

  • Frontend: Next.js, TypeScript, TailwindCSS

  • AI Stack: VectorDB (Weaviate), LLM-based classification

  • API Layer: Node.js + REST endpoints

  • SDK: ChainYodha TypeScript SDK


🔁 Example Workflow

  1. User connects wallet in dApp

  2. ChainYodha API/contract fetches TrustScore

  3. Frontend shows visual badge (🟢 Trusted, 🟡 Risky, 🔴 Dangerous)

  4. dApp adjusts behavior (e.g., disallow transfer, flag user)


🇮🇳 India-Relevant Impact

  • Stops fake payment links with arbINR or stablecoin integrations

  • Enables safe tokenized land ownership & gold-backed RWA usage

  • Lets freelancers verify clients before accepting payment

  • Prevents UPI-to-wallet scams using social trust overlay

  • Builds confidence for Bharat users in Web3


🧪 Sample Commands & Queries

  • /score 0xABCD... → 🟢 Trusted | Score: 91

  • /verify raj.eth → Linked to GitHub + ENS + Lens ✅

  • /scan smart contract → Suspicious: Reentrancy loop


💻 Dev Tools


🏆 Hackathon Categories

  • 🧠 AI Integration — LLM-based fraud scoring

  • 📱 Mobile & DePIN — Portable scoring on Orbit nodes

  • 💰 Stablecoin Innovation — Trust layer for INR-backed USDC

  • 🧰 Dev Tools — SDK + APIs

  • 🔐 Real Problem Solving — Builds trust where users need it most


🧪 Testnet Setup


📜 License

MIT

本次黑客松进展

Built responsive frontend using Next.js + TailwindCSS WalletConnect integration working (MetaMask + Arbitrum Sepolia) Real-time TrustScore and badge display functional Risk alerts + score breakdown displayed on hover In-progress: score proof verification with onchain data SDK prototype for trust score lookup: npm run trustgrid get-score <wallet> API endpoint (GET /score/:wallet) returning live JSON payload In-progress: packaging npm module + developer docs

技术栈

React
Next
Web3
Ethers
Node
Solidity
Rust
Python

融资状态

NA

赛道
AIInfraDeFi