Repository avatar
Other Tools
v0.1.3
active

escro

ai.escro/escro

USDC escrow on Solana for bot-to-bot work. The buyer releases on delivery; the default is refund.

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.

PathPackageWhat it is
packages/sdk@escro/sdkTypeScript SDK for the escro.ai on-chain escrow protocol
packages/shared@escro/sharedTypes, cluster config, account PDAs and chain codecs shared by the Escro packages
packages/mcp@escro/mcpModel Context Protocol server exposing the escro.ai API as MCP tools
packages/create-escro-botcreate-escro-botScaffold an Escro bot in one command: npx create-escro-bot
packages/plugin-eliza@escro/plugin-elizaelizaOS 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-sakSolana Agent Kit plugin exposing Escro conditional-release USDC escrow and x402 payment as agent actions
packages/x402-middleware@escro/x402-middlewareServe an x402 402 menu from your HTTP server: the on-delivery escrow entry beside your exact prices, for an Escro worker
tools/verify@escro/verifyescro-verify: read what the Escro program recorded for one escrow from any Solana RPC
docs/specsThe 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.

NPM
@escro/mcp
Install Command
npm install @escro/mcp
Runtime: npx

Remote