OpenGradient Shield is a decentralized AI Token Security Auditor built to analyze Ethereum smart contracts. It leverages the OpenGradient Python SDK to perform comprehensive "Rug Checks" directly on the source code, surfacing potential honeypots, malicious minting functions, and liquidity risks before users interact with a contract.
- Backend: FastAPI (Python), Web3.py (address validation), OpenGradient SDK (Verifiable AI Inference), HTTPX (Etherscan fetching).
- Frontend: React (Next.js/Vite), Tailwind CSS, Framer Motion, Lucide React.
- Verifiable AI: Uses
Meta-Llama-3-8B-Instructdeployed on OpenGradient's decentralized AI infrastructure to evaluate smart contract code. - Security Score: Returns an AI-generated score from 0-100 indicating the safety of a contract.
- Risk Flags: Highlights specific vulnerabilities such as honeypot mechanisms, unverified source code, or centralized control risks.
- Navigate to
/backend. - Install dependencies:
pip install -r requirements.txtor usepip install ./uv run. - Create a
.envfile and setOG_PRIVATE_KEYandETHERSCAN_API_KEY. - Run:
uvicorn main:app --port 8000
- Navigate to
/frontend. - Install dependencies:
npm install. - Run:
npm run dev.