Skip to content

0xNexuz/quantedge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

QuantEdge

Autonomous On-Chain Benchmarking & Quant Trading Agent for the Mantle Ecosystem.

QuantEdge bridges off-chain statistical rigor with on-chain execution. It acts as a headless Rust daemon that evaluates complex DeFi trading strategies, filtering anomalies to optimize strictly for Mean Edge rather than easily manipulated raw win rates.

System Workflow

  1. Statistical Evaluator: A lightweight Rust engine ingests mock DEX strategy data and mathematically sorts them against volatility models.
  2. Automated TX Signing Reflex: Once the optimal strategy is identified, the agent natively hooks into local EVM CLI tools (cast) to cryptographically sign the payload.
  3. On-Chain Settlement: The agent autonomously pushes the state update to the QuantEdgeVault.sol smart contract on the Mantle network, creating an immutable record of AI decision-making.

⚙️ ERC-8004 Readiness

The architecture utilizes strict Role-Based Access Control (RBAC). The agentWallet variable within the smart contract is designed to be bound to Mantle's ERC-8004 agent identity standard, establishing a verifiable on-chain reputation for the bot based on historic execution accuracy.

Tech Stack

  • Agent Core: Rust
  • Smart Contracts: Solidity
  • EVM Toolkit: Foundry (forge, cast)
  • Network: Mantle Sepolia Testnet

Quickstart

Ensure you have Rust and Foundry installed.

# 1. Compile the Vault
cd contracts
forge build

# 2. Run the AI Evaluator
cd ../evaluator
cargo run

About

Autonomous On-Chain Benchmarking & Quant Trading Agent for the Mantle Ecosystem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors