name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...
中文简介正在准备中。当前显示原文说明。
Framework-agnostic agent-to-agent payment system with SHIB on Polygon. Provides trustless escrow, price negotiation, and reputation system. 9,416x cheaper than traditional escrow (~$0.003 gas).
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Framework-agnostic agent-to-agent payment infrastructure on Polygon network.
This skill enables AI agents to:
9,416x cheaper than traditional escrow services (Escrow.com charges $28.25 per $100, this costs $0.003).
# Via ClawHub
clawhub install a2a-shib-payments
# Or manual clone
cd ~/clawd/skills
git clone https://github.com/marcus20232023/a2a-shib-payments.git
cd a2a-shib-payments
npm install
Create .env.local:
cp .env.example .env.local
nano .env.local
Required environment variables:
WALLET_PRIVATE_KEY - Your Polygon wallet private keyRPC_URL - Polygon RPC endpoint (default: https://polygon-rpc.com)SHIB_CONTRACT_ADDRESS - SHIB token contract (default: 0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce)node a2a-agent-full.js
Agent runs on port 8003 by default.
The agent exposes A2A protocol endpoints that OpenClaw can communicate with:
Agent Card: http://localhost:8003/.well-known/agent-card.json
Example commands from OpenClaw:
// Check balance
const result = await fetch('http://localhost:8003/a2a/jsonrpc', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
method: 'message/send',
params: {
message: {
kind: 'message',
messageId: '1',
role: 'user',
parts: [{kind: 'text', text: 'balance'}]
}
},
id: 1
})
});
// Send payment
// text: 'send 100 SHIB to 0x...'
// Create escrow
// text: 'escrow create 500 SHIB for data purchase payee data-agent'
// Check reputation
// text: 'reputation check data-agent'
Works with:
See INTEGRATION-EXAMPLES.md for detailed integration guides.
// Research agent buys Tesla historical data
const quote = await negotiation.createQuote({
service: 'TSLA 2020-2025 historical data',
price: 500 // SHIB
});
// Counter-offer and accept
await negotiation.counterOffer(quote.id, 'research-agent', 400);
await negotiation.acceptCounter(quote.id, 'data-provider');
// Escrow created automatically
// Create escrow for model training job
const escrow = await escrowSystem.create({
payer: 'startup-agent',
payee: 'ai-trainer',
amount: 1000,
purpose: 'Train GPT-style model',
conditions: {requiresDelivery: true},
timeoutMinutes: 720 // 12 hours
});
/.well-known/agent-card.json - Agent capabilities/a2a/jsonrpc - JSON-RPC messaging/a2a/rest/* - REST APIbalance - Check SHIB balancesend [amount] SHIB to [address] - Send paymentescrow create [amount] SHIB for [purpose] payee [agent] - Create escrowescrow fund [id] - Fund escrowescrow release [id] - Release fundsquote create [service] [price] - Create price quotereputation check [agentId] - Check agent reputationrate [agentId] [1-5] [review] - Rate an agent# Run all tests
npm test
# Individual test suites
npm run test:security
npm run test:escrow
npm run test:reputation
Core Systems:
a2a-agent-full.js - Full-featured agent (port 8003)index.js - Payment agent coreescrow.js - Escrow systempayment-negotiation.js - Negotiation workflowreputation.js - Reputation & trustSecurity:
auth.js - API authenticationrate-limiter.js - Rate limitingaudit-logger.js - Audit loggingDocumentation:
README.md - Project overviewINTEGRATION-EXAMPLES.md - Framework integration guidesESCROW-NEGOTIATION-GUIDE.md - API referencePRODUCTION-HARDENING.md - Security guideDEPLOYMENT.md - Deployment optionsImplemented:
Recommended for Production:
See PRODUCTION-HARDENING.md for complete guide.
./deploy-local.sh
See DEPLOYMENT.md for complete guide.
| System | Fee | Settlement | Trust |
|---|---|---|---|
| Escrow.com | $28.25 | 5-7 days | Centralized |
| PayPal | $3.20 | 1-3 days | Centralized |
| This System | $0.003 | Seconds | Decentralized |
For a $100 transaction: 99.99% savings (9,416x cheaper)
MIT License - Free for commercial and personal use
v2.0.0 - Production Ready
Built with 🦪 for the agent economy
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...
中文简介正在准备中。当前显示原文说明。
Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.
中文简介正在准备中。当前显示原文说明。
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.
中文简介正在准备中。当前显示原文说明。
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.
中文简介正在准备中。当前显示原文说明。
Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, check earnings or wallet balance, or set up as a 0xWork worker. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: posting tasks (use the website), managing the 0xWork platform, or frontend development.
中文简介正在准备中。当前显示原文说明。
Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.
中文简介正在准备中。当前显示原文说明。