Token导航 LogoToken导航

Agent Skill · 开发

sohopay(sohopay 开发)

sohopay 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sohopay 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 2,045。

总安装 21,123周安装 889GitHub Stars 2下载 7,396核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.17

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sohopay(sohopay 开发)
来源仓库:https://github.com/nmsteve/sohopay
安装命令:
openclaw skills install sohopay
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sohopay

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

sohopay 使用 EIP-712 签名在 SOHO Pay 信用层上发起支付。适用于区块链支付和信用交易开发场景。支持智能合约交互和支付流程自动化。安装方式:openclaw skills install sohopay,宿主为 OpenClaw。使用前请确认权限范围和维护状态,注意可能涉及加密操作或网络请求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install sohopay;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sohopay 怎么安装?

在终端执行 openclaw skills install sohopay。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sohopay 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sohopay 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

sohopay 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sohopay 用的人多吗?

公开数据是累计安装 21,123 次,近一周安装 889 次,下载 7,396 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sohopay 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
sohopay

sohopay 开发 · 本页

21,1232接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
sohopay
description
Initiate payments on the SOHO Pay credit layer using EIP-712 signatures.

SOHO Pay - Credit Layer Payments

This skill allows the agent to initiate payments through the SOHO Pay Creditor smart contract using the spendWithAuthorization EIP-712 flow.

The agent signs the payment authorization off-chain using a pre-configured wallet, and then submits the transaction to the network on the user's behalf.

Core Command

The primary way to use this skill is with a natural language command that maps to:

pay <amount> to <merchant_address>

  • <amount>: The numerical amount to pay (e.g., 10, 0.5).
  • <merchant_address>: The recipient EVM address (0x...). Names are not supported and no random addresses are ever generated by this skill.

Workflow

Payments (credit spend)

When you issue a pay command, the skill performs the following actions:

  1. Parse Inputs: Extracts the amount and merchant address from the user's request.
  2. Validate Merchant Address: Confirms that the merchant is a valid EVM address; otherwise it aborts.
  3. Pre-Flight Checks (BorrowerManager):

- Verifies the borrower is registered and active. - Checks if the credit limit is sufficient for the requested amount. - On demand, can auto-register the agent once via registerAgent.

  1. Generate Authorization: Creates an EIP-712 typed data message for the payment.
  2. Sign Off-Chain: Uses the configured PRIVATE_KEY wallet (from environment variables) to sign the authorization message.
  3. Execute On-Chain: Calls the spendWithAuthorization function on the Creditor contract, providing the signed message.
  4. Report Result: Returns the transaction hash to the user upon confirmation.

Status / Profile checks

The status helper reads the BorrowerManager profile + USDC wallet balance for the bot:

  • Calls the s_borrowerProfiles(address) public mapping getter to fetch:

creditLimit, outstandingDebt, totalSpent, totalRepaid, spendingCount, repaymentCount, lastActivityTime, creditScore, isActive, isAgent, transactionIds.

  • Calls IERC20(USDC).balanceOf(bot) to fetch the USDC wallet balance for the same address.
  • Prints a human-readable summary so you can see, per network:

- Whether the bot is registered / active - Credit limit and whether the profile is flagged as an agent - Outstanding debt and historical spend/repay totals - Last activity timestamp and credit score - USDC balance available in the wallet

This is what powers prompts like:

  • "check my bot status on testnet"
  • "check my bot outstanding debt on mainnet"

Repayments (reduce outstanding debt)

The repay helper uses USDC to pay down outstandingDebt tracked by BorrowerManager and Creditor:

  1. Pre-flight checks:

- Verifies the borrower is registered and active. - Reads current credit limit and any existing outstandingDebt`.

  1. USDC balance & allowance:

- Ensures the bot wallet has enough USDC balance for the requested repayment. - Checks IERC20(USDC).allowance(bot, Creditor) and, if too low, sends an approve(Creditor, amount) tx first.

  1. On-chain repay:

- Calls Creditor.repay(amount, USDC) from the borrower wallet. - The Creditor contract: - Caps the repayment to min(amount, outstandingDebt). - Applies payments to BNPL plans via applyPaymentToPlans. - Updates the borrower profile via updateOnRepayment (new score + limit). - Transfers USDC from the borrower to the Vault and calls vault.repayVaultDebt. - Emits a repayment event with the new score and limit.

  1. Status after repay:

- After a successful repay, you can run status again to verify: - outstandingDebt has decreased (or is 0), - totalRepaid increased, - creditScore and creditLimit have been updated.

This is what backs prompts like:

  • "repay my bot debt on testnet"
  • "repay 5 USDC of my bot debt on mainnet"

Configuration

  • Environment Variable (runtime): The private key for the signing wallet must be provided via the PRIVATE_KEY environment variable.
  • Why the private key is needed: OpenClaw is designed to run as an autonomous agent. For it to initiate SOHO Pay transactions without human clicks, it must be able to sign EIP-712 authorizations itself.
  • Local-only usage (important): **PRIVATE_KEY is used *only locally* on the machine running OpenClaw. The raw key is never sent to SOHO Pay, ClawHub, or any external service — only signed messages and transactions leave the machine.** Anyone running this bot must understand that the key controls whatever funds are on the selected network.
  • Skill Metadata: The skill declares PRIVATE_KEY as a required, sensitive credential. You can use a single key for both Base mainnet and Base Sepolia, but be aware this may control real funds on mainnet.
  • Networks: The script supports both Base mainnet (default) and Base Sepolia (testnet). It enforces the expected chainId for the selected network and aborts if the RPC does not match.

Defaults

The following values are hardcoded into the script for consistency, and are used on both Base mainnet and Base Sepolia:

  • Creditor Contract: 0xdb34d612dd9aa548f6c94af118f82a461a835e09
  • Borrower Manager: 0xc6ecd37c42ee73714956b6a449b41bc1d46b07b0
  • Asset (USDC): 0x43848d5a4efa0b1c72e1fd8ece1abf42e9d5e221 (6 decimals)
  • Payment Plan ID: 0

Setup, Installation & Dependencies

This skill is a small Node.js project under skills/sohopay.

  1. Set PRIVATE_KEY in the environment where OpenClaw runs:
   export PRIVATE_KEY=0xYOUR_KEY_HERE

This address will be the SOHO Pay "agent" on Base mainnet / Base Sepolia.

  1. Install the skill and dependencies:
   clawhub install sohopay
   cd skills/sohopay
   npm install

This installs the runtime dependencies declared in package.json (currently ethers and dotenv).

  1. Register the agent once on the chosen network (before making payments):
   # Base mainnet (default)
   node scripts/register.js

   # Explicit mainnet
   node scripts/register.js mainnet

   # Base Sepolia testnet
   node scripts/register.js testnet

This calls registerAgent(agent) on the BorrowerManager contract using the PRIVATE_KEY address.

  1. Make payments after registration using scripts/pay.js:
   # Base mainnet (default when no network arg is given)
   node scripts/pay.js 10 0xMerchantOnMainnet

   # Explicit mainnet
   node scripts/pay.js mainnet 10 0xMerchantOnMainnet

   # Base Sepolia testnet
   node scripts/pay.js testnet 10 0xMerchantOnTestnet

This uses the SOHO Pay Creditor contract to spend on credit via spendWithAuthorization.

  1. Check status / profile and balances using scripts/status.js:
   # Base mainnet
   node scripts/status.js mainnet

   # Base Sepolia testnet
   node scripts/status.js testnet

This reads the BorrowerManager profile and USDC wallet balance for the agent and prints a human-readable summary (credit limit, outstanding debt, totals, scores, and USDC balance).

  1. Repay outstanding debt using USDC with scripts/repay.js:
   # Base mainnet
   node scripts/repay.js mainnet 10

   # Base Sepolia testnet
   node scripts/repay.js testnet 10

This uses USDC from the agent wallet to repay outstandingDebt via the Creditor contract, updating the borrower profile and vault debt, and emitting a repayment event.

Security Notes

  • PRIVATE_KEY is highly sensitive. Treat it exactly like the key to a normal wallet: anyone with this value can move all funds it controls.
  • Local signing only: The script signs transactions locally and never transmits the raw private key over the network. Only signatures and transactions are sent to RPC endpoints.
  • This skill never triggers itself; it is only executed when called by a user, cron job, or higher-level workflow. It is safe to wire into autonomous flows (e.g. “if price < 10, then pay …”) as long as you understand what those automations will do with your PRIVATE_KEY.
  • The merchant must be provided as an explicit merchant_address. If the address is wrong, funds on that network may be irrecoverably sent to the wrong account.
  • No random address generation is performed. The skill will refuse non-address merchant inputs.

Example Usage

Natural-language commands

These are the kinds of prompts you can send to your OpenClaw agent once the skill is installed and PRIVATE_KEY is configured.

  • Register bot (testnet)

"register my bot to use sohopay on Base Sepolia testnet"

  • Register bot (mainnet)

"register my bot to use sohopay on Base mainnet"

  • Pay a merchant (EIP‑712 spendWithAuthorization)

"pay 10 USDC to 0x1234567890abcdef1234567890abcdef12345678 on testnet using sohopay"

  • Check bot status (credit limit, outstanding debt, totals, USDC balance)

"check my bot status on testnet" "check my bot outstanding debt on mainnet"

  • Repay debt (calls Creditor.repay(amount, stablecoin))

"repay my bot debt on testnet" "repay 5 USDC of my bot debt on mainnet"

Script entrypoints (for reference)

  • Registration: node scripts/register.js [mainnet|testnet] [check]

- node scripts/register.js testnet – register bot on Base Sepolia - node scripts/register.js mainnet check – status only, no tx

  • Payments (credit spend):

- node scripts/pay.js [mainnet|testnet] <amount> <merchant_address>

  • Status (profile + outstanding debt + USDC balance):

- node scripts/status.js mainnet - node scripts/status.js testnet

  • Repayments (reduce outstanding debt using USDC):

- node scripts/repay.js [mainnet|testnet] <amount>

When mapped through OpenClaw, you should prefer natural-language prompts; the scripts above are provided for debugging and manual CLI use.

平台分布

OpenClaw

97.38%
按下载量换算7,202

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills