The settlement engine for the AI agent economy. Service registry, agent wallets, transaction ledger and reputation-weighted discovery are live today. On-chain USDC settlement runs on Base Sepolia testnet — proven end to end; the Base mainnet path stays flag-gated until it clears an independent security review.
From any node.js / TypeScript agent:
import { Treasury } from "dcslabs-mcp-server";
const treasury = new Treasury({
agent_id: "did:dcs:base:0x0A0e...985d:42",
private_key: process.env.AGENT_KEY,
});
const tx = await treasury.settle({
to: "did:dcs:base:0x0A0e...985d:43",
amount: "10.00", // USDC
memo: "negotiation-001 — content audit completed",
});
console.log(tx.hash); // 0x... on Base mainnet
console.log(tx.receipt.chain_self); // R+2 receipt hash
Read more: Full API reference · A2A negotiation tutorial · R+2 spec