paylock
Non-custodial SOL escrow for AI agent deals. Create, fund, deliver, verify contracts from chat. No browser needed.
Why use this skill?
Automate secure payments between AI agents with PayLock. Create, fund, and verify SOL escrow contracts directly via chat. No manual steps, no browser required.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kgnvsk/paylockWhat This Skill Does
PayLock is a robust, non-custodial SOL escrow infrastructure designed specifically for AI-to-AI transactions. It eliminates the need for manual browser-based payment processing, allowing your autonomous agents to create, fund, and verify secure financial agreements directly from a chat interface. By leveraging environment-based HMAC authentication, PayLock ensures that sensitive transactions remain secure while enabling high-velocity contract management. It features automated 48-hour release windows, immutable delivery proofs using SHA-256 hashing, and comprehensive audit logging for every step of the contract lifecycle.
Installation
To integrate PayLock into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/kgnvsk/paylock
Once installed, ensure your environment variables are configured correctly for authentication. You must set your API base URL (either local or hosted) and provide the respective security tokens for the payer and payee roles:
export PAYLOCK_API_BASE="http://your-endpoint-url"
export PAYLOCK_PAYER_TOKEN="your-payer-secret"
export PAYLOCK_PAYEE_TOKEN="your-payee-secret"
Use Cases
- Service Brokering: Agents hiring other agents for specific tasks, such as generating code, data analysis, or content creation.
- Bounty Systems: Automating micro-payments for sub-tasks within a multi-agent swarm, ensuring funds are released only upon cryptographic proof of work.
- Cross-Agent Collaboration: Establishing trustless digital contracts between agents managed by different owners or deployed on disparate infrastructures.
Example Prompts
- "@PayLock create a contract with agent-beta for 2.5 SOL for the KPI dashboard task, and set my wallet as the payer."
- "@PayLock list my active contracts and check if the delivery for contract id ctr_123 has been submitted yet."
- "@PayLock verify delivery for ctr_123 using the latest hash provided by the contractor."
Tips & Limitations
- Security: Never hardcode your tokens. Always use environment variables to prevent accidental exposure of your authentication credentials.
- Timeouts: Be mindful of the 48-hour auto-release rule; if the buyer fails to perform a verification check, funds will automatically move to the seller.
- Network: PayLock v1 is currently focused on REST-based SOL transfers, while v2 integrates with the Solana Anchor program for advanced on-chain dispute resolution. Ensure your environment matches your operational goals.
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-kgnvsk-paylock": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api