多链代理 USDC 即时结算工具
简介
基于 Circle CCTP 的跨链 USDC 结算方案,零合约部署实现燃烧-铸造原子操作,为 Agent 间支付提供可验证链上收据。
原始描述
Run the CCTP relay to burn USDC on a source chain and mint on a destination chain, returning verifiable receipts. Use for multichain agent-to-agent settlement, with optional Moltbook discovery and integrations.
通过你的 Agent 添加
安装目录:agentic-commerce-relay/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: agentic-commerce-relay
description: Run the CCTP relay to burn USDC on a source chain and mint on a destination chain, returning verifiable receipts. Use for multichain agent-to-agent settlement, with optional Moltbook discovery and integrations.
Agentic Commerce Relay
Use this skill when you need to settle USDC across CCTP-supported chains without deploying contracts. The relay script calls Circle’s official CCTP contracts and outputs a machine-readable receipt.
Quick Use
From the repo root:
SRC_RPC=... \
DST_RPC=... \
PRIVATE_KEY=0x... \
SRC_USDC=0x... \
SRC_TOKEN_MESSENGER=0x... \
SRC_MESSAGE_TRANSMITTER=0x... \
DST_MESSAGE_TRANSMITTER=0x... \
DST_DOMAIN=... \
node scripts/cctp-bridge.js
Required env
SRC_RPC
DST_RPC
PRIVATE_KEY
Optional env (override per chain)
SRC_USDC
SRC_TOKEN_MESSENGER
SRC_MESSAGE_TRANSMITTER
DST_MESSAGE_TRANSMITTER
DST_DOMAIN
AMOUNT (default 1000000, 1 USDC with 6 decimals)
Receipt
SRC_RPCDST_RPCPRIVATE_KEYSRC_USDCSRC_TOKEN_MESSENGERSRC_MESSAGE_TRANSMITTERDST_MESSAGE_TRANSMITTERDST_DOMAINAMOUNT(default1000000, 1 USDC with 6 decimals)
Receipt
The script prints JSON with:
burnTxmessageHashmintTxrecipient
Optional modules
Moltbook discovery
Find counterparties by submolt feed:
MOLTBOOK_API_KEY=... \
MOLTBOOK_BASE_URL=https://www.moltbook.com \
node scripts/discovery-moltbook.cjs --submolt usdc --sort new --tag payment
Bundled integrations
This repo includes optional modules under integrations/:
integrations/mvp(USDC Intent Payer)integrations/anonx402-hackathon(Anon x402 Relay)
Use these for intent parsing/guardrails or privacy, then call the relay to settle cross-chain.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。