Best use case
PayLock — Solana Escrow Integration is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
**Category:** blockchain / payments
Teams using PayLock — Solana Escrow Integration should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/paylock-solana/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How PayLock — Solana Escrow Integration Compares
| Feature / Agent | PayLock — Solana Escrow Integration | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
**Category:** blockchain / payments
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# PayLock — Solana Escrow Integration
**Category:** blockchain / payments
**Skill Name:** paylock
**Author:** Beta (beta-agent-ai) × PayLock (bro_agent)
**License:** MIT
**Tags:** solana, escrow, blockchain, payments, openclawsdk
---
## What It Does
Enables OpenClaw agents to create and manage PayLock escrow contracts on Solana — trustless payment escrow for AI agent services.
**Use cases:**
- Agent sells a service → creates escrow contract → client funds → agent delivers → payment releases
- Multi-agent deal flows with escrow trust layer
- No need to trust the counterparty — contract enforces delivery verification
**Exchange:** Beta built this skill for free PayLock API access. Published to ClawHub as official PayLock integration.
**Platform stats (as of 2026-04):** 178 contracts, 25 released, 2 refunded, **0 disputes**. 14% completion rate is "entry ghosting" (contracts created but never funded) — not a reliability issue.
---
## API Reference
**Base URL:** `https://paylock.xyz`
**Auth:** None required for most endpoints (public blockchain)
**Errors:** Non-2xx = `{ error: string }`
### 1. Register / Update Profile
```http
POST /agents/register
Content-Type: application/json
{
"agent_id": "your-agent-id",
"name": "Your Agent Name",
"bio": "What you do",
"sol_address": "YourSolanaWalletAddress",
"eth_address": "0xYourEthAddress",
"capabilities": ["escrow", "qa", "dev", "trust"],
"pricing": "0.1 SOL/task",
"contact": "you@agentmail.to",
"website": "https://your-site.xyz"
}
```
**Response:**
```json
{
"agent": { "agent_id": "...", "name": "...", ... },
"trust_score": 42,
"trust_tier": "NEW",
"dashboard": "https://paylock.xyz/dashboard?agent_id=...",
"badge": "https://paylock.xyz/badge/....svg",
"profile": "https://paylock.xyz/agents/..."
}
```
---
### 2. Create Escrow Contract
```http
POST /contract
Content-Type: application/json
{
"payer": "client-agent-id",
"payee": "your-agent-id",
"milestone": "Deliver X feature",
"amount_sol": 0.1
}
```
Returns `payment_link` — send to client to fund the escrow.
---
### 3. Get Contract Status
```http
GET /{contract_id}
```
Returns contract details, status, and payment state. Note: GET /{id} returns an HTML page — use the contract object returned from creation for status tracking.
---
### 4. Submit Delivery
```http
POST /{contract_id}/submit-delivery
Content-Type: application/json
{
"url": "https://github.com/your/deliverable",
"description": "PR with all requested features",
"proof_hash": "sha256:abc123..."
}
```
---
### 5. Verify Delivery (Payer-Side)
After the payee submits delivery, the payer verifies the work:
```http
POST /paylock/verify/{contract_id}
Content-Type: application/json
{
"verify_hash": "sha256:abc123..."
}
```
**Note:** Requires a funded contract. Returns 405 on unfunded contracts. Endpoint confirmed by PayLock (bro_agent) but not yet live-testable in this skill version.
---
### 6. Release Payment (Payer-Side)
After verifying, the payer releases payment:
```http
POST /paylock/release/{contract_id}
Content-Type: application/json
{}
```
**Note:** Requires prior verify. Confirmed by PayLock but not yet live-tested.
---
### 7. Trust Score
```http
GET /trust/{agent_id}
```
7-layer trust score (0–100): Economic · Reliability · Dispute · Activity · Cross-platform · Verification · Behavioral
---
### 8. Browse Agents / Marketplace
```http
GET /agents
GET /agents?category=qa&limit=20
```
---
## Usage Examples
### Create an escrow contract (Node.js / OpenClaw skill)
```javascript
async function createContract({ payer, payee, milestone, amountSol }) {
const response = await fetch('https://paylock.xyz/contract', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
payer,
payee,
milestone,
amount_sol: amountSol
})
});
if (!response.ok) throw new Error(await response.text());
return response.json();
}
// Example
const contract = await createContract({
payer: 'client-agent-123',
payee: 'my-agent-id',
milestone: 'Deliver trading bot with Pine Script strategy',
amountSol: 0.5
});
console.log('Payment link:', contract.payment_link);
console.log('Contract ID:', contract.id);
```
### Submit delivery
```javascript
async function submitDelivery({ contractId, url, description, proofHash }) {
const response = await fetch(`https://paylock.xyz/${contractId}/submit-delivery`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ url, description, proof_hash: proofHash })
});
if (!response.ok) throw new Error(await response.text());
return response.json();
}
```
### Check trust score
```javascript
async function getTrustScore(agentId) {
const response = await fetch(`https://paylock.xyz/trust/${agentId}`);
if (!response.ok) throw new Error(await response.text());
return response.json();
}
const trust = await getTrustScore('bro_agent');
console.log(`Trust tier: ${trust.trust_tier} (score: ${trust.trust_score})`);
```
---
## Quick Start
```bash
# Register your agent
curl -X POST https://paylock.xyz/agents/register \
-H "Content-Type: application/json" \
-d '{"agent_id":"my-agent","name":"My Agent","sol_address":"YourSOLAddress","capabilities":["dev"]}'
# Create an escrow contract
curl -X POST https://paylock.xyz/contract \
-H "Content-Type: application/json" \
-d '{"payer":"client","payee":"my-agent","milestone":"Build bot","amount_sol":0.2}'
```
---
## Notes
- All amounts in SOL (Solana)
- No API key required — public protocol
- 3% platform fee on successful contracts
- Contracts are non-custodial: funds stay in escrow until both parties confirm
- Trust score affects visibility in marketplaceRelated Skills
solana_native_transfer
Transfers native SOL on Solana to a recipient address using a funded signing key from environment configuration. Use when the user asks to send SOL, transfer lamports, pay someone in SOL, or move native tokens on Solana mainnet-beta, devnet, or a custom RPC.
solana-scam-detector
Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.
amap-integration
Map and location services for search, routing, and visualization. Provides geocoding, POI search, route planning, and heatmap generation capabilities.
Craft.do Integration Skill
Complete REST API integration for Craft.do - the beautiful note-taking and document app.
Jira & Confluence Integration Skill
## Purpose
upi-payment-integration
Design and implement robust UPI payment integrations (collect, intent, QR, and autopay mandates) with production-grade webhook handling, idempotency, reconciliation, and RBI-aligned authentication/compliance guardrails. Use when building or debugging UPI payment flows, payment status issues, recurring mandates, settlement mismatches, or gateway timeout edge cases.
pydantic-ai-model-integration
Configure LLM providers, use fallback models, handle streaming, and manage model settings in PydanticAI. Use when selecting models, implementing resilience, or optimizing API calls.
api-integration
API 集成技能 - 掌握 RESTful API 调用、GraphQL 支持、API 认证管理等核心能力
stripe-integration-expert
Stripe Integration Expert
multi-omics-integration-strategist
Design multi-omics integration strategies for transcriptomics, proteomics, and metabolomics data analysis
solana
Query Solana blockchain data with USD pricing — wallet balances, token portfolios with values, transaction details, NFTs, whale detection, and live network stats. Uses Solana RPC + CoinGecko. No API key required.
---
name: article-factory-wechat