Skip to content

hackonteam/mantle-sentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Mantle Sentinel

RWA Operations Monitoring Stack for Mantle Network

Mantle Sentinel is a comprehensive monitoring solution designed specifically for Real World Asset (RWA) protocols on Mantle Network. It provides early detection of the most common operational risks in RWA vaults: NAV drift, oracle price mismatches, and yield leakage.

🎯 Overview

Mantle Sentinel v0.1 is a hackathon MVP that focuses purely on monitoring & alerting (read-only operations). The project:

  • ❌ Does NOT issue tokens
  • ❌ Does NOT tokenize real assets
  • ❌ Does NOT handle KYC
  • βœ… Provides infrastructure-grade monitoring
  • βœ… Detects operational risks early
  • βœ… Works at the infrastructure layer

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  MockRWAVault      β”‚  (Mantle Sepolia)
β”‚  - Deposits        β”‚
β”‚  - Assets          β”‚
β”‚  - Reported NAV    β”‚
β”‚  - Oracle A Price  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚ (RPC Read)
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Monitoring Engine  β”‚
β”‚ - NAV Detector     β”‚
β”‚ - Oracle Detector  β”‚
β”‚ - Yield Detector   β”‚
β”‚ - Risk Engine      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Frontend Dashboard β”‚
β”‚ - Metrics          β”‚
β”‚ - Health Status    β”‚
β”‚ - Explorer Links   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Off-chain Oracle B β”‚
β”‚ (JSON Endpoint)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Key Features

Risk Detection

  • NAV Drift Detection: Identifies discrepancies between reported and computed NAV
  • Oracle Price Mismatch: Compares on-chain vs off-chain oracle prices
  • Yield Leakage Detection: Monitors actual vs expected yield performance

Health Status Engine

  • 🟒 SAFE: No drift or leakage detected
  • 🟑 WATCH: Minor drift detected (warning level)
  • πŸ”΄ RISK: Significant drift or leakage detected (alert level)

Real-time Monitoring

  • Single-page dashboard with auto-refresh
  • Real-time polling from Mantle Sepolia
  • Graceful error handling and recovery
  • Explorer integration for verification

πŸ“ Project Structure

mantle-sentinel/
β”œβ”€β”€ contracts/          # Smart contracts (Foundry)
β”‚   β”œβ”€β”€ src/            # MockRWAVault.sol
β”‚   β”œβ”€β”€ test/           # Comprehensive test suite
β”‚   └── script/         # Deployment scripts
β”œβ”€β”€ frontend/           # React dashboard (Lovable)
β”‚   β”œβ”€β”€ src/            # Components, hooks, services
β”‚   └── public/         # Static assets
└── .kiro/              # Specifications and documentation
    └── specs/          # Requirements, design, tasks

πŸ› οΈ Technology Stack

  • Smart Contracts: Solidity + Foundry
  • Frontend: React + TypeScript + Tailwind CSS
  • Blockchain: Mantle Sepolia Testnet
  • Testing: Property-based testing with Foundry fuzzing
  • Deployment: Foundry scripts + Lovable platform

🎯 Mantle-Native Design

Mantle Sentinel is designed exclusively for Mantle Network:

  • Low-cost execution β†’ Continuous monitoring is economically viable
  • Modular architecture β†’ Perfect for batch NAV reporting
  • DA layer potential β†’ Future monitoring snapshot storage
  • EVM compatibility β†’ Easy integration with existing RWA vaults

🚦 Getting Started

Prerequisites

  • Node.js 18+
  • Foundry
  • Git

Quick Start

  1. Clone the repository
git clone https://github.com/hackonteam/mantle-sentinel.git
cd mantle-sentinel
  1. Set up smart contracts
cd contracts
forge install
forge test
  1. Set up frontend
cd ../frontend
npm install
npm run dev
  1. Deploy to Mantle Sepolia
cd contracts
# Configure .env with your keys
forge script script/Deploy.s.sol --rpc-url $MANTLE_SEPOLIA_RPC_URL --broadcast --verify

πŸ“Š Demo

Live Demo

🌐 Frontend Dashboard: https://mantle-sentinel.netlify.app/

The system is designed to be demoable in 3-5 minutes:

  1. Deploy MockRWAVault to Mantle Sepolia
  2. Launch frontend dashboard
  3. Simulate deposits, oracle drift, and yield scenarios
  4. Observe real-time risk detection and health status changes

Demo Environment

πŸ”’ Security & Compliance

  • Demo purposes only - Does not handle real assets
  • No PII/KYC processing
  • Read-only operations (except mock contract)
  • Suitable for internal tooling/ops layer

🎯 Limitations (MVP)

  • Single vault monitoring only
  • Mock vault for demonstration
  • Static Oracle B feed
  • No alert delivery channels
  • No historical data storage

These limitations are intentional to keep the hackathon scope manageable.

πŸ—ΊοΈ Roadmap

Post-Hackathon Features

  • Multi-vault monitoring
  • Real issuer/custodian integration
  • Alert channels (Slack, PagerDuty)
  • DAO/protocol risk dashboards
  • Compliance reporting exports

πŸ‘₯ Team

HackOn Team & Phu Nhuan Builder

Core Team:

  • Bernie Nguyen - Founder/Leader HackOn Team, Co-founder Phu Nhuan Builder, Lead Developer
  • Canh Trinh - Dev Intern
  • Thien Vo - Frontend Dev Intern
  • Hieu Tran - Business Developer
  • "Sharkyz" Duong Pham - Business Developer

πŸ“ž Contact

HackOn Team

Phu Nhuan Builder

Lead Developer

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Mantle Network for providing the infrastructure
  • The RWA community for highlighting operational risk challenges
  • All contributors and supporters of the project

Mantle Sentinel - The monitoring tool that every serious RWA protocol needs before scaling.

About

Mantle Sentinel is an infrastructure dashboard for monitoring RWA vaults on Mantle, built by HackOn Team and Phu Nhuan Builder.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors