Prerequisites
Before deploying Agentic Wallet, ensure you have the following installed:- Node.js >= 20
- npm >= 10
- Solana CLI >= 1.18 (required for devnet funding and escrow deployment)
- Anchor CLI >= 0.31 (required for escrow program build and deployment)
Local Development Setup
Configure Environment
Copy the example environment file and configure required variables:Edit
.env and set at minimum:For production deployments, generate strong random secrets using:
Start All Services
Launch the full stack using the development script:This starts all services concurrently:
api-gateway(port 3000)wallet-engine(port 3002)policy-engine(port 3003)agent-runtime(port 3004)protocol-adapters(port 3005)transaction-engine(port 3006)audit-observability(port 3007)mcp-server(port 3008)
Health Check Endpoints
Verify that all services are running correctly:The CLI includes a built-in
doctor command that checks all service health endpoints:Escrow Program Deployment
The Agentic Wallet includes a real Anchor escrow program that must be deployed to devnet.Build Escrow Program
Compile the Anchor program:This syncs the
declare_id! macro and builds the program artifacts.Deploy to Devnet
Deploy the compiled program:This command:
- Syncs
declare_id!andAnchor.tomlfrom the deploy keypair - Builds and deploys via Anchor CLI
- Automatically updates
.envwithESCROW_PROGRAM_ID=<deployed_id>
Validation and Quality Gates
Run the full validation suite before deploying:Devnet Smoke Tests
Validate the deployment with end-to-end smoke tests:Environment Configuration Reference
RPC and Execution Tuning
Storage and Durability
Outbox Queue Configuration
See
.env.example in the repository root for the complete list of configuration options.