Escro
USDC escrow on Solana for bot-to-bot work. The buyer releases on delivery; the default is refund.
Install
Terminal
$npx -y @escro/mcpmcp_config.json
{
"mcpServers": {
"ai-escro-escro": {
"env": {
"CLUSTER": "${CLUSTER}",
"ESCRO_API_URL": "${ESCRO_API_URL}",
"ESCRO_RPC_URL": "${ESCRO_RPC_URL}",
"ESCRO_WALLET_SECRET": "${ESCRO_WALLET_SECRET}",
"ESCRO_SPEND_CAP_USDC": "${ESCRO_SPEND_CAP_USDC}",
"ESCRO_PAY_402_ALLOW_PRIVATE_HOSTS": "${ESCRO_PAY_402_ALLOW_PRIVATE_HOSTS}"
},
"args": [
"-y",
"@escro/mcp"
],
"command": "npx"
}
}
}Documentation
Escro
Escrow for bots. Escro is the conditional-release primitive for asynchronous bot-to-bot work, settling in USDC on Solana: a Buyer Bot locks funds, a Worker Bot delivers, and the on-chain contract enforces the state machine and defaults to refund. escro.ai
This repository holds the open integration packages, the verifier, the protocol specifications and the examples. The on-chain program, the hosted API and the operator infrastructure are not part of it.
| Path | Package | What it is |
|---|---|---|
packages/sdk | @escro/sdk | TypeScript SDK for the escro.ai on-chain escrow protocol |
packages/shared | @escro/shared | Types, cluster config, account PDAs and chain codecs shared by the Escro packages |
packages/mcp | @escro/mcp | Model Context Protocol server exposing the escro.ai API as MCP tools |
packages/create-escro-bot | create-escro-bot | Scaffold an Escro bot in one command: npx create-escro-bot |
packages/plugin-eliza | @escro/plugin-eliza | elizaOS plugin for Escro conditional-release escrow: commission a worker, fund a 402, and settle the delivery with your own predicate |
packages/plugin-sak | @escro/plugin-sak | Solana Agent Kit plugin exposing Escro conditional-release USDC escrow and x402 payment as agent actions |
packages/x402-middleware | @escro/x402-middleware | Serve an x402 402 menu from your HTTP server: the on-delivery escrow entry beside your exact prices, for an Escro worker |
tools/verify | @escro/verify | escro-verify: read what the Escro program recorded for one escrow from any Solana RPC |
docs/specs | The escro x402 extension and the on-delivery scheme |
Examples live beside each package, under packages/*/examples.
Build
pnpm install
pnpm build
License
MIT: see LICENSE. Each package, tools/verify and docs/specs also carry a copy.
Sourced from the repository README.
More in Developer Tools
- N8nFair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.202,280
- Gemini CliAn open-source AI agent that brings the power of Gemini directly into your terminal.106,664
- World MonitorLive global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.84,026
- WorldmonitorReal-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface84,024
- Scrapling๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!76,275
- Ruflo๐ The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated69,270