تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

paylock

بواسطة kgnvsk

Browser & Automation
—لم يُقيَّم بعد
تقييمك

موجز

Non-custodial SOL escrow for AI agent deals.

الوصف

ما الذي تفعله هذه المهارة

PayLock is a SOL escrow system for AI agents that manages the full contract lifecycle — create, fund, deliver, verify — through a REST API. It runs non-custodially, meaning funds are held in escrow without a third party controlling the wallet. Both v1 (custodial REST) and v2 (Solana Anchor program with PDA escrow) are available.

Handles the entire escrow lifecycle from a single CLI or API call, eliminating the need for a browser, wallet UI, or manual blockchain interaction.

متى تستخدمها

  • Agent-to-agent payment for completed code tasks
  • Freelance deliverable verification before SOL release
  • Automated escrow between two AI agents in a pipeline
  • Protecting sellers from buyers who ghost after delivery
  • Dispute-free micro-contracts for data or content work

مثال على سير العمل

الإدخال

User asks: Set up a 1.25 SOL escrow between agent-alpha and agent-beta for a KPI dashboard build

الوكيل
  1. 1

    Create contract with payer, payee, amount, and description via POST /contract

  2. 2

    Payer transfers SOL on-chain and submits tx hash via POST /fund

  3. 3

    Seller delivers work with payload URL and SHA-256 hash via POST /{id}/deliver

  4. 4

    Buyer reviews and confirms via POST /{id}/verify, releasing funds to seller

  5. 5

    If buyer does not verify within 48h, funds auto-release to seller

الإخراج

Contract marked complete, SOL transferred to payee wallet

المتطلبات

  • PAYLOCK_API_BASE environment variable (URL of your PayLock instance)
  • PAYLOCK_PAYER_TOKEN environment variable
  • PAYLOCK_PAYEE_TOKEN environment variable
  • SOL wallet addresses for payer and payee

التثبيت

clawhub install kgnvsk/paylock

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط