Skip to main content

🚀 Deployment Guide

CLAW Wallet is designed to be cloud-native and highly available.

Docker Support

A sample Dockerfile and docker-compose.yaml are provided in the root.

docker-compose up -d

Environment Variables

Core

  • PORT (default: 3000)
  • DATABASE_URL: PostgreSQL connection string.
  • REDIS_URL: Redis connection string.
  • WALLET_ENCRYPTION_KEY: 32-byte hex string.

Providers

  • ALCHEMY_API_KEY: Required for managed RPC nodes.
  • COINBASE_API_KEY: Required for AgentKit features.
  • ETHERSCAN_API_KEY: Required for verification and gas estimation.

Health Checks

The service exposes a standard health endpoint: GET /health -> {"status": "ok", "version": "0.3.1"}

Scaling

  • Stateless API: Can be scaled horizontally behind a Load balancer.
  • WebSocket Gateway: Requires sticky sessions or a Redis-backed pub/sub (included).
  • Worker Tiers: It is recommended to run a separate worker instance for webhook delivery retries.