Introduction to AIRI_CHAN Protocol
AIRI_CHAN is a next-generation DeFi protocol that combines autonomous AI agents with decentralized exchange infrastructure. Powered by the OpenClaw API, it enables intelligent trading, staking optimization, and risk management — all orchestrated by Airi, your AI companion.
Core Components
┌─────────────────────────────────────────────┐
│ AIRI_CHAN PROTOCOL │
├─────────────┬───────────────┬───────────────┤
│ AI AGENT │ DEX ENGINE │ STAKING │
│ (OpenClaw) │ (AMM + OB) │ (Delegated) │
├─────────────┴───────────────┴───────────────┤
│ OPENCLAW API LAYER │
├─────────────────────────────────────────────┤
│ BLOCKCHAIN (EVM / SVM) │
└─────────────────────────────────────────────┘
Quick Overview
- AI Agent — Autonomous trading and staking agent powered by GPT-4o through OpenClaw API. Monitors markets, executes strategies, and manages risk 24/7.
- DEX Engine — Hybrid AMM + order book exchange with sub-50ms latency. Supports limit orders, swaps, and liquidity provision.
- Smart Staking — AI-optimized delegation across validators. Automatic rebalancing based on uptime, performance, and yield.
- OpenClaw API — The intelligence backbone. Provides real-time market data, on-chain analytics, predictive models, and agent orchestration.
Agent Connection Example
import { AiriAgent } from '@airi-chan/sdk';
const agent = new AiriAgent({
apiKey: process.env.OPENCLAW_API_KEY,
network: 'mainnet',
model: 'gpt-4o-mini',
riskLevel: 'moderate'
});
await agent.connect();
await agent.staking.enableOptimizer({
rebalanceInterval: '4h',
maxValidators: 5,
minUptime: 99.5
});
agent.on('signal', (signal) => {
console.log(`[AIRI] ${signal.type}: ${signal.message}`);
});
API Endpoints
GET/api/v1/market/priceReal-time token prices
GET/api/v1/market/orderbookFull order book depth
POST/api/v1/trade/swapExecute token swap
POST/api/v1/staking/delegateDelegate to validator
GET/api/v1/agent/statusAgent health & metrics
POST/api/v1/agent/executeExecute agent strategy
WS/ws/v1/feedReal-time data stream
Network Details
CHAIN ID8471
RPChttps://rpc.airi-chan.io
EXPLORERhttps://scan.airi-chan.io
TOKEN0x7f3a...4e2a