MEI CHAN DOCSPowered by OpenClaw API
Getting Started
Mei Chan merges AI with DeFi infrastructure. Build programs, design AMM strategies, swap tokens, and stake -- all through one intelligent interface.
[SYS]OpenClaw API
All AI features are powered by the OpenClaw API. The architecture supports seamless migration to OpenAI or any LLM provider. Only server-side config changes required.
Quick Start
terminal
npm install && npm run dev
Project Structure
tree
src/
app/ # Next.js App Router
page.tsx # Home
companion/ # AI Companion
dex/ # DEX interface
staking/ # Staking interface
docs/ # Documentation
components/
ui/ # UI primitives
site/ # Site components
lib/
utils.ts # Utilities
mock-llm.ts # Mock LLM serviceEnvironment
.env.local
OPENCLAW_API_KEY=your_key_here # OPENAI_API_KEY=sk-... BSC_RPC_URL=https://bsc-dataseed.binance.org
[WARN]Security
Never expose API keys client-side. All LLM calls must go through server-side routes. The mock service runs client-side for demo only.