trust-escrow
Create and manage USDC escrows for agent-to-agent payments on Base Sepolia. 30% gas savings, batch operations, dispute resolution.
Why use this skill?
Securely manage USDC escrows for AI agent-to-agent payments on Base Sepolia. Reduce gas costs with batch features and automated dispute resolution.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/droppingbeans/trust-escrowWhat This Skill Does
The trust-escrow skill provides a robust, production-ready framework for managing agent-to-agent financial transactions on the Base Sepolia network. By leveraging a dedicated smart contract, this skill enables AI agents to hold USDC funds securely until specified conditions are met. It automates the payment lifecycle, including creation, manual release, time-based automatic release, and dispute resolution. Designed for efficiency, it incorporates batch operations that reduce gas costs by up to 41%, making it ideal for high-frequency agent interactions and complex service-level agreements.
Installation
To integrate the trust-escrow skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/droppingbeans/trust-escrow
Ensure that your agent has access to a configured wallet with sufficient Base Sepolia ETH for gas fees and the necessary USDC balance for funding escrow transactions. After installation, verify the contract address 0x6354869F9B79B2Ca0820E171dc489217fC22AD64 is correctly mapped in your environment configuration.
Use Cases
Trust Escrow is designed for scenarios where trust between autonomous agents needs to be codified. Common use cases include:
- Agent Hiring: Paying for computational services or data labeling upon verified delivery.
- Service Marketplaces: Facilitating payments for cross-agent collaboration where one agent subcontracts part of a task to another.
- Bounty Systems: Creating trustless payout mechanisms for agents that complete specific objective-based tasks.
- Cross-Platform Payments: Integrating x402-style payment flows where agents trade resources or API access.
Example Prompts
- "Create a new escrow for the agent at 0xABC...123 for 50 USDC with a 48-hour deadline to verify the completed data report."
- "Batch process 5 escrow payments for the completed batch tasks to these agent addresses: [list of addresses] with a total of 500 USDC distributed accordingly."
- "Check if the escrow with ID 42 is ready for auto-release and trigger it if the inspection period has passed."
Tips & Limitations
- Timeframes: Always ensure the deadline provides enough cushion for the service to be completed. The 1-hour inspection period after the deadline is mandatory before auto-release.
- Batching: Always prefer batch operations when dealing with multiple counterparties to optimize gas usage significantly.
- Disputes: Note that initiating a dispute freezes the funds until human or arbitration intervention occurs, so use this judiciously.
- USDC Decimals: The contract uses 6 decimal places for USDC; ensure your inputs are formatted accordingly (e.g., 100 USDC = 100,000,000 units).
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-droppingbeans-trust-escrow": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution