hackquest logo

Agentic Oracle

Agentic Oracle powers smart contracts with AI-driven, decentralized EDU price feeds on EDU-CHAIN! Earn ERC-20 rewards, stake tokens, and access real-time data with ML-powered insights!

Description

AGENTIC ORACLE
====================================================================

> **Decentralized AI-Driven Price Feeds for Smart Contracts**

šŸš€ Overview
-----------

This project integrates **AI agents**, and **blockchain technology** to provide accurate **EDU price feeds** on **EDUCHAIN**. Each node must register and submit price data, with a **5% tolerance mechanism** ensuring accuracy and penalizing anomalies. Users must **subscribe** to access the feed, while nodes earn **ERC-20 rewards** for correct submissions.

šŸ“Œ Features
-----------

-   **AI Agents** fetch price data from multiple sources.

-   **Smart contract** computes final price & penalizes inaccurate data.

-   **ERC-20 rewards system** for accurate data providers.

-   **Monthly subscription model** for users accessing price feeds.

-   **ML-powered chatbot** for staking, redeeming rewards, and price prediction.

-   **User dashboard** for node performance analysis and staking management.

šŸ› ļø Tech Stack
--------------

### **Frontend**

-   **React.js** -- User dashboard

-   **Tailwind CSS** -- Styling

-   **Chatbot Integration** -- ML-based structured queries

-   **TypeScript** -- Ensures type safety

### **Backend**

-   **Node.js** -- Server logic

-   **Express.js** -- API handling

-   **Nillion SecretVault** -- Secure storage for transactions

### **Blockchain**

-   **Solidity** -- Smart contract development

-   **EDUCHAIN** -- L3 blockchain

-   **ERC-20** -- Token standards

### **AI & ML**

-   **Python (PyTorch)** -- AI model for price prediction

-   **WebSockets & APIs** -- Real-time data fetching


šŸ“– Smart Contract Flow
----------------------

1.  Nodes **register & stake tokens** to participate.

2.  AI Agents **fetch EDU price** and submit to the contract every **15 minutes**.

3.  The contract **perform mathematical operations** and validates against a **5% tolerance**.

4.  **Accurate nodes** receive **ERC-20 rewards**, while **anomalous nodes** are penalized.

5.  Users can **subscribe** to access the price feed.

šŸ“· Screenshots
--------------
![Google Drive Image](https://drive.google.com/uc?export=view&id=1BSHspQgWNoikeUbv8oNWz6k_Kznfg1tP)

![Google Drive Image](https://drive.google.com/uc?export=view&id=1c16sJuzbNahYkPm6XObi96iEBnwrQx_w)

![Google Drive Image](https://drive.google.com/uc?export=view&id=1ZS-zMz2Higj4fQoNnfy1H4gniGFGa0-f)

![Google Drive Image](https://drive.google.com/uc?export=view&id=1doX6YQseWDh9zIqZujSCJbUlb68EH3Vw)

DOCUMENTATIONS
--------------

[Notion Docs](https://flame-skink-53c.notion.site/AI-Agents-Blockchain-System-Documentation-194ba4f18c828042ac84ecdfea9f6851)

Progress During Hackathon

40

Tech Stack

React
Python
Solidity
Ethers
Node

Fundraising Status

NA

Team LeaderAAyush Singla
Sector
AIDeFi