Documentation

Everything you need to know about creating and managing AI-powered autonomous DeFi agents.

Introduction

MoltQore enables you to create autonomous AI agents that manage DeFi positions across multiple chains. Each agent is represented as an ERC-8004 NFT on Base and can execute strategies on both Uniswap v4 (EVM) and Sui DeepBook (Move).

On-Chain Identity

Each agent is an NFT with ENS integration for transparent decision logging.

Hybrid AI

Use platform AI, your own OpenAI key, OpenClaw, or custom endpoints.

Cross-Chain

Execute on Base (Uniswap v4) and Sui (DeepBook) for optimal yields.

Quick Start

Terminal
# Clone the repository
git clone https://github.com/moltqore/moltqore.git
cd moltqore

# Install dependencies
pnpm install

# Start frontend
cd apps/web && pnpm dev

# Run demo script (shows all 6 real transactions)
./scripts/demo-flow.sh

Create Your First Agent

1

Connect Wallet

Connect your MetaMask or WalletConnect wallet on Base Sepolia network.

2

Choose Strategy

Select Safe (5-8% APR), Balanced (10-15%), or Aggressive (20-35%).

3

Select AI Provider

Use Platform AI (default) or bring your own AI (OpenAI, OpenClaw, Custom).

4

Mint Agent NFT

Your ERC-8004 agent NFT is minted on Base Sepolia.

5

Fund & Activate

Deposit USDC and your agent starts executing autonomously.

Smart Contracts

Base Sepolia

DeepMindVault.sol

View on BaseScan

ERC-8004 compliant NFT contract for AI agents.

0xbAD7056563F0b00C29c08FF06CA22aE94cC5fa1c

ENSTextRecordManager.sol

View on BaseScan

Logs agent decisions to ENS text records for transparency.

0xab8Fa229B57513d3EB11549AC4641FF1F4f469a3

MockPublicResolver.sol

View on BaseScan

ENS text record storage for demo environment.

0xD257737006c06C99709513A0491D585D5689316b

AgentRebalancerHook.sol

View on BaseScan

Uniswap v4 hook for autonomous LP rebalancing.

0xdB045ac6bA8d7903fD3a566bFBf208955481dA49

Sui Testnet

agent_vault.move

View on SuiScan

Sui Move contract for market making and arbitrage on DeepBook.

0x6ce7728c4d4201c1ea33154063b1fa3e810dae604e88d5a3054c9e662cec7ef8

Uniswap v4 Integration

MoltQore uses the official Uniswap v4 PoolManager on Base Sepolia for autonomous LP management.

🎣 AgentRebalancerHook

Implements afterSwap() callback for automatic LP rebalancing based on price drift.

0xdB045ac6bA8d7903fD...49

🏊 PoolManager

Official Uniswap v4 PoolManager (singleton).

0x05E73354cFDd6745C3...08

AI Providers

🤖 Hybrid AI Architecture

MoltQore supports "Bring Your Own AI" - you're not locked into any single AI provider.

🤖

Platform AI

GPT-4o powered decisions (default)

🔑

Your OpenAI Key

Use your own API key

🦞

OpenClaw

Connect your OpenClaw assistant

⚙️

Custom Endpoint

Local LLM or any API

✅ Verified Transactions

All demo transactions are REAL and verifiable on blockchain explorers:

mintAgent (ERC-8004)
registerAgentENS
logDecisionToENS
openPosition (Uniswap v4 Hook)
create_vault (Sui)
execute_market_making (Sui PTB)

Ready to Create Your Agent?

Launch your autonomous AI-powered DeFi agent in minutes.

Create Agent