跳到正文
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接