01
Agent 上下文包
| 资源 | 用途 |
|---|---|
| skills/usdctofiat.md | Drop-in skill with SDK rules, platforms, OTC, and examples |
| llms.txt | 简短的机器可读产品与路径摘要 |
| llms-full.txt | 完整的机器参考,含合约、定价、指南和解答 |
| OFFRAMP_DEVELOPER_RESOURCES | 类型化 SDK 导出,含链接、委托配置、upstreamSourceTruths 和 playbooks |
| OFFRAMP_INTEGRATION_CHECKLIST | Typed integration-doctor checks for delegation, duplicate prevention, and extension recovery |
| getOfframpAgentPrompt(profile) | 面向 agent 构建集成的可复制 prompt 生成器 |
| Starters 仓库 | Working Next.js, Vite, Telegram-bot, and script examples |
02
Prompt 序列
- 01让 agent 在规划前阅读 skill 和 llms.txt。
- 02让它在加入数据面功能前先交付一次调用的 offramp(walletClient, params) 路径。
- 03Pick a profile: app, bot, agent, private-otc, or peerlytics.
- 04尽可能让它从 create-offramp-app 或 starters 仓库脚手架起步。
- 05要求它验证每一笔创建的存款都委托给 Delegate 汇率管理器。
- 06如果它加入 Peerlytics,要求在进行原始 orderbook 读取前先调用 planRoutes()。
03
Agent 绝不能臆造的内容
- 不要臆造沙盒;SDK 面向 Base 主网。
- 不要移除委托;SDK 的存款路径必须委托给 Delegate 金库。
- 不要把法币当作 SDK 控制的。法币在买卖双方之间直接流转。
- 不要编造证明负载、凭证字段或支付方式哈希;先查 upstreamSourceTruths。