Pular para o conteúdo
TakoAPI
Voltar às skills

paylock

por kgnvsk

Browser & Automation
—Ainda sem avaliações
Sua avaliação

Resumo

Non-custodial SOL escrow for AI agent deals.

Descrição

O que esta skill faz

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.

Quando usá-la

  • 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

Exemplo de fluxo de trabalho

ENTRADA

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

AGENTE
  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

SAÍDA

Contract marked complete, SOL transferred to payee wallet

Requisitos

  • 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

Instalação

clawhub install kgnvsk/paylock

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links