Quickstart Guide

Deploy your first AI agent with financial autonomy in under 5 minutes.

Prerequisites

Step 1: Install SDK

# TypeScript/Node.js
npm install @clawbank/sdk

# Python
pip install clawbank

# Go
go get github.com/ClawBank-app/go-sdk

Step 2: Initialize Client

import { ClawBank } from '@clawbank/sdk';

const client = new ClawBank({
  apiKey: process.env.CLAWBANK_API_KEY,
  environment: 'production', // 'sandbox' for testnet
  network: 'solana-mainnet' // or 'solana-devnet'
});

Step 3: Create Treasury Vault

Treasury vaults are on-chain smart contracts that hold assets with programmable authorization.

Step 4: Configure Authorization Policy

Define programmable spending rules enforced at the smart contract layer.

Step 5: Deploy MCP Server for AI Agents

Configure autonomous AI agent access via Model Context Protocol.

Option A: Claude Desktop Integration

Add to claude_desktop_config.json:

Option B: Programmatic MCP Client

Step 6: Execute First Transaction

Complete Example: AI Agent Treasury

Devnet Testing

Test with Solana devnet before mainnet deployment:

Get devnet USDC: spl-token-faucet.comarrow-up-right

Next Steps

Support

Last updated