openclaw/extensions/xmtp/examples/quickstart.json5
HeresMyGit 9a831636a5 feat(xmtp): add Web3 messaging channel via XMTP protocol
Add new XMTP channel extension for decentralized messaging:
- Direct messages (DMs) and group conversations
- Text messages, reactions, and attachments
- ENS address resolution for human-readable names
- Quantum-resistant encryption (MLS protocol)
- Multi-account support with per-account configuration
- Database isolation and network selection (dev/production)
- Comprehensive onboarding with wallet generation

Includes wallet generation scripts, example configurations,
troubleshooting guide, and test coverage for schemas, ENS
resolution, multi-account handling, and onboarding flows.

Note: Tests use Node's test runner format (node:test) and
should be converted to Vitest format in follow-up work.
2026-01-26 21:18:10 -08:00

34 lines
937 B
Plaintext

// XMTP Quickstart - Minimal Configuration
// The absolute minimum to get started with XMTP in 2 minutes
{
channels: {
xmtp: {
enabled: true,
// 1. Generate your wallet key:
// clawdbot onboard xmtp
// (or: npx tsx scripts/generate-wallet.ts)
//
// 2. Paste the key here (replace the zeros):
walletKey: "0x0000000000000000000000000000000000000000000000000000000000000000",
// 3. Done! Start with: clawdbot gateway start
// That's it! Defaults:
// - env: "dev" (free testing network)
// - dmPolicy: "pairing" (secure, requires approval)
// - dbPath: ".xmtp/db" (local database)
}
}
}
// Next steps:
// 1. Someone messages your bot's address
// 2. You approve: clawdbot pairing approve xmtp <code>
// 3. Chat!
//
// To find your bot's address:
// - It's shown in the wallet generation output
// - OR: clawdbot channels status