CLAIRE CHAN DOCSPowered by OpenClaw API

Getting Started
Claire Chan merges AI with DeFi infrastructure. Build Solana 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
git clone https://github.com/claire-chan/claire.git cd claire && 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-... SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
[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.