@rozoai/checkout 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,7 +9,8 @@ Base. This skill pays them from whatever you hold instead, and it does three
9
9
  things the official path cannot:
10
10
 
11
11
  - **Pay from the chain you are already on.** USDT or USDC on Solana, BNB Chain,
12
- Ethereum or Polygon, USDC on Base or Stellar, or BTC over Lightning. Coinbase's
12
+ Ethereum, Polygon or Arbitrum, USDC on Base or Stellar, BTC over Lightning, or
13
+ a native coin: ETH on Ethereum, Base or Arbitrum, BNB, SOL or POL. Coinbase's
13
14
  own direct pay takes USDC on Base.
14
15
  - **No Coinbase account.** Pay the deposit address from any wallet or straight
15
16
  from an exchange withdrawal. No sign-up, no API key, no browser.
@@ -61,12 +62,35 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
61
62
  | Ethereum | `usdt-ethereum` `usdc-ethereum` | `1` | 6 decimals |
62
63
  | BNB Chain | `usdt-bnb` `usdc-bnb` | `56` | 18 decimals |
63
64
  | Polygon | `usdt-polygon` `usdc-polygon` | `137` | 6 decimals |
65
+ | Arbitrum | `usdt-arbitrum` `usdc-arbitrum` | `42161` | 6 decimals |
64
66
  | Base | `usdc-base` | `8453` | 6 decimals |
65
- | Solana | `usdt-solana` `usdc-solana` | `900` | SPL; native SOL not supported |
67
+ | Solana | `usdt-solana` `usdc-solana` | `900` | SPL |
66
68
  | Stellar | `usdc-stellar` | `1500` | `MEMO_TEXT` memo required — shown in the deposit block |
67
69
  | Bitcoin Lightning | `btc-lightning` | `lightning` | BOLT11; amounts in satoshis. Any wallet that can pay an invoice works, including Cashu/ecash wallets — the mint melts your ecash into the Lightning payment. |
68
70
 
69
- Native gas coins (SOL, BNB, ETH, MATIC) and on-chain BTC are not accepted.
71
+ **Native coins**, each on its own chain:
72
+
73
+ | Coin | `--with` | Chain id | Notes |
74
+ |---|---|---|---|
75
+ | ETH on Ethereum | `eth-ethereum` | `1` | 18 decimals (wei); $1 minimum |
76
+ | ETH on Base | `eth-base` | `8453` | 18 decimals (wei) |
77
+ | ETH on Arbitrum | `eth-arbitrum` | `42161` | 18 decimals (wei) |
78
+ | BNB | `bnb-bnb` or `bnb` | `56` | 18 decimals |
79
+ | SOL | `sol-solana` or `sol` | `900` | 9 decimals (lamports) |
80
+ | POL | `pol-polygon` or `pol` | `137` | 18 decimals |
81
+
82
+ A native coin is offered only when the invoice's quote lists it (`quote` shows
83
+ which), and only for invoices up to $2,000. The order is **exact-out**, like
84
+ Lightning: send exactly the coin amount in the deposit block. Its price is
85
+ locked only until the time shown (about an hour); after that, do not send it,
86
+ let the order expire and start a new one. The coin amount includes an FX spread
87
+ on top of the service fee, and your wallet needs a little more of the same coin
88
+ for the network fee. If you pay from an exchange, the amount that arrives must
89
+ be the full amount: check that the withdrawal fee is not taken out of it.
90
+ `--send` pays native coins too, as a plain transfer of the exact amount.
91
+
92
+ On-chain BTC and Tron are not supported.
93
+ ZEC on Zcash (Beta): use https://checkout.rozo.ai/zec, this CLI does not create ZEC orders.
70
94
 
71
95
  ## Which wallet do I need?
72
96
 
@@ -88,8 +112,8 @@ already hold and pay from wherever it already lives.
88
112
  route settles against ROZO's own Lightning node rather than a third-party
89
113
  swap, so no special handling is needed on our side.
90
114
  - **Only `--send` needs a private key**, read from `ROZO_CHECKOUT_EVM_KEY` or
91
- `ROZO_CHECKOUT_SOL_KEY`, and it covers EVM chains and Solana only. Everything
92
- else is keyless.
115
+ `ROZO_CHECKOUT_SOL_KEY`, and it covers EVM chains and Solana only (their
116
+ native coins included). Everything else is keyless.
93
117
 
94
118
  ## Use it from your agent
95
119
 
@@ -168,7 +192,8 @@ ROZO_CHECKOUT_EVM_KEYSTORE=/replace/me/keystores/my-hot-wallet
168
192
  # are prompted instead, and nothing is stored.
169
193
  ROZO_CHECKOUT_KEYSTORE_PASSPHRASE=REPLACE_ME_not_a_real_passphrase
170
194
 
171
- # Optional RPC overrides, one per chain id. 8453 = Base, 900 = Solana.
195
+ # Optional RPC overrides, one per chain id. 8453 = Base, 42161 = Arbitrum,
196
+ # 900 = Solana.
172
197
  ROZO_CHECKOUT_RPC_8453=https://mainnet.base.org
173
198
  ROZO_CHECKOUT_RPC_900=https://api.mainnet-beta.solana.com
174
199
  ```
@@ -437,10 +462,12 @@ done < links.txt
437
462
  Lightning: `deposit.lnInvoice` (the BOLT11) for `deposit.amount` sats. Other
438
463
  coins: `deposit.receiverAddress` and `deposit.amount`, plus
439
464
  `deposit.receiverMemo` on Stellar. `--send` cannot pay Lightning or Stellar.
465
+ A native coin order has `deposit.native: true` and `deposit.exactOut: true`.
440
466
  - The deadline to watch is `order.expiry.effectiveDeadlineIso`, not
441
467
  `deposit.expiresAt`: it is the earlier of our order expiry and the Coinbase
442
- link expiry. Stop paying at least `order.expiry.marginMinutes` before it,
443
- since settlement needs that much time.
468
+ link expiry, and for a native coin also its price lock
469
+ (`deposit.quoteExpiresAt`). Stop paying at least `order.expiry.marginMinutes`
470
+ before it, since settlement needs that much time.
444
471
  - If time has passed since you created the order, do not pay saved deposit
445
472
  details blindly. Re-run the same `pay` command (same `--with`): while the
446
473
  order is still payable it re-checks the link and the deadline and hands back
@@ -485,7 +512,9 @@ layers. Delivery is always `unknown`: Rozo cannot see your OpenRouter credits.
485
512
 
486
513
  With `--send`, the wallet must also hold the chain's fee coin (ETH, BNB, POL or
487
514
  SOL). If it does not, the CLI stops with `INSUFFICIENT_GAS` before signing and
488
- tells you how much is missing; the order is left untouched.
515
+ tells you how much is missing; the order is left untouched. Paying with a native
516
+ coin spends that same coin, so the wallet needs the order amount plus the fee.
517
+ A native order is never sent after its price lock (`QUOTE_EXPIRED`).
489
518
 
490
519
  **Retrying without paying twice.** Running `pay` again on the same link does
491
520
  not create a second order while its order is open: you get the same order
@@ -3,8 +3,8 @@
3
3
  [English](QUICKSTART.md) | [简体中文](QUICKSTART.zh.md) | [日本語](QUICKSTART.ja.md) | **Español**
4
4
 
5
5
  Pagar un enlace de pago de Coinbase (Coinbase Payment Link) de OpenRouter con
6
- USDT/USDC en Solana, BNB Chain, Ethereum, Polygon, Base o Stellar, o con BTC por
7
- Lightning. Cinco minutos. Para saber cómo funciona y por qué, ver
6
+ USDT/USDC en Solana, BNB Chain, Ethereum, Polygon, Arbitrum, Base o Stellar, con BTC por
7
+ Lightning, o con una moneda nativa (ETH en Ethereum, Base o Arbitrum, BNB, SOL, POL). Cinco minutos. Para saber cómo funciona y por qué, ver
8
8
  [README.md](../README.md).
9
9
 
10
10
  ## El comando de una sola línea
@@ -26,9 +26,18 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
26
26
  ```
27
27
 
28
28
  Monedas para `--with`: `usdt-solana`, `usdc-solana`, `usdt-bnb`, `usdc-bnb`, `usdt-ethereum`,
29
- `usdc-ethereum`, `usdt-polygon`, `usdc-polygon`, `usdc-base`, `usdc-stellar`,
30
- `btc-lightning`. Los scripts y los agentes deben pasar siempre `--with`: el
31
- selector solo aparece en una terminal y no hay moneda por defecto.
29
+ `usdc-ethereum`, `usdt-polygon`, `usdc-polygon`, `usdt-arbitrum`, `usdc-arbitrum`,
30
+ `usdc-base`, `usdc-stellar`, `btc-lightning`, y las monedas nativas `eth-ethereum`,
31
+ `eth-base`, `eth-arbitrum`, `bnb-bnb`, `sol-solana`, `pol-polygon`. Los scripts y
32
+ los agentes deben pasar siempre `--with`: el selector solo aparece en una
33
+ terminal y no hay moneda por defecto.
34
+
35
+ Una moneda nativa solo se ofrece cuando la cotización de la factura la incluye,
36
+ para facturas de hasta $2,000 (ETH nativo en Ethereum: mínimo $1). Es exact-out:
37
+ envía exactamente la cantidad indicada antes de que termine el precio fijado
38
+ (alrededor de una hora), y guarda un poco de la misma moneda para el gas. El BTC
39
+ on-chain y Tron no están soportados.
40
+ ZEC en Zcash (Beta): usa https://checkout.rozo.ai/zec, esta CLI no crea órdenes en ZEC.
32
41
 
33
42
  Por defecto solo imprime una dirección para pagar desde cualquier billetera: sin
34
43
  clave privada y sin configuración. Añadir `--send` únicamente si se quiere que la
@@ -55,7 +64,7 @@ LINK="https://payments.coinbase.com/payment-links/pl_01YOURLINKID"
55
64
  ```
56
65
 
57
66
  Ids de cadena: `1` Ethereum · `56` BNB Chain · `137` Polygon · `8453` Base ·
58
- `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning.
67
+ `42161` Arbitrum · `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning.
59
68
 
60
69
  ## ¿Qué wallet necesito?
61
70
 
@@ -3,7 +3,7 @@
3
3
  [English](QUICKSTART.md) | [简体中文](QUICKSTART.zh.md) | **日本語** | [Español](QUICKSTART.es.md)
4
4
 
5
5
  OpenRouter の Coinbase 決済リンク (Payment Link) を、Solana、BNB Chain、
6
- Ethereum、Polygon、Base、Stellar 上の USDT/USDC、または Lightning 経由の BTC で支払います。所要 5 分。
6
+ Ethereum、Polygon、Arbitrum、Base、Stellar 上の USDT/USDC、Lightning 経由の BTC、またはネイティブコイン(Ethereum・Base・Arbitrum の ETH、BNB、SOL、POL)で支払います。所要 5 分。
7
7
  仕組みと設計意図については [README.md](../README.md) を参照してください。
8
8
 
9
9
  ## ワンライナー
@@ -25,10 +25,16 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
25
25
 
26
26
  `--with` に指定できる通貨: `usdt-solana`、
27
27
  `usdc-solana`、`usdt-bnb`、`usdc-bnb`、`usdt-ethereum`、`usdc-ethereum`、
28
- `usdt-polygon`、`usdc-polygon`、`usdc-base`、`usdc-stellar`、`btc-lightning`。
28
+ `usdt-polygon`、`usdc-polygon`、`usdt-arbitrum`、`usdc-arbitrum`、`usdc-base`、`usdc-stellar`、`btc-lightning`、
29
+ ネイティブコインの `eth-ethereum`、`eth-base`、`eth-arbitrum`、`bnb-bnb`、`sol-solana`、`pol-polygon`。
29
30
  スクリプトやエージェントでは必ず `--with` を渡してください。対話式の選択は端末でのみ
30
31
  表示され、既定の通貨はありません。
31
32
 
33
+ ネイティブコインは、インボイスの見積もりに含まれている場合のみ使えます(上限 $2,000、Ethereum の ETH は最低 $1)。
34
+ 受取額固定(exact-out)なので、表示された数量を価格固定の期限(約 1 時間)までに正確に送り、ガス代として同じコインを少し残してください。
35
+ オンチェーンの BTC と Tron には対応していません。
36
+ Zcash の ZEC(Beta)は https://checkout.rozo.ai/zec を使ってください。この CLI では ZEC の注文は作れません。
37
+
32
38
  既定では、任意のウォレットから支払うためのアドレスを表示するだけです — 鍵も設定も
33
39
  不要です。CLI にホットウォレットから署名させたい場合にだけ `--send` を、機械可読な
34
40
  出力が必要な場合は `--json` を追加してください。
@@ -52,7 +58,7 @@ LINK="https://payments.coinbase.com/payment-links/pl_01YOURLINKID"
52
58
  ```
53
59
 
54
60
  チェーン id: `1` Ethereum · `56` BNB Chain · `137` Polygon · `8453` Base ·
55
- `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning。
61
+ `42161` Arbitrum · `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning。
56
62
 
57
63
  ## どのウォレットが必要ですか?
58
64
 
@@ -3,7 +3,8 @@
3
3
  **English** | [简体中文](QUICKSTART.zh.md) | [日本語](QUICKSTART.ja.md) | [Español](QUICKSTART.es.md)
4
4
 
5
5
  Pay an OpenRouter Coinbase Payment Link with USDT/USDC on Solana, BNB Chain,
6
- Ethereum, Polygon, Base or Stellar, or with BTC over Lightning. Five minutes.
6
+ Ethereum, Polygon, Arbitrum, Base or Stellar, with BTC over Lightning, or with a
7
+ native coin (ETH on Ethereum, Base or Arbitrum, BNB, SOL, POL). Five minutes.
7
8
  For how it works and why, see [README.md](../README.md).
8
9
 
9
10
  ## The one-liner
@@ -25,9 +26,17 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
25
26
  ```
26
27
 
27
28
  Coins for `--with`: `usdt-solana`, `usdc-solana`, `usdt-bnb`, `usdc-bnb`,
28
- `usdt-ethereum`, `usdc-ethereum`, `usdt-polygon`, `usdc-polygon`, `usdc-base`,
29
- `usdc-stellar`, `btc-lightning`. Scripts and agents must pass `--with`: the
30
- picker only appears on a terminal, and there is no default coin.
29
+ `usdt-ethereum`, `usdc-ethereum`, `usdt-polygon`, `usdc-polygon`,
30
+ `usdt-arbitrum`, `usdc-arbitrum`, `usdc-base`, `usdc-stellar`, `btc-lightning`,
31
+ and the native coins `eth-ethereum`, `eth-base`, `eth-arbitrum`, `bnb-bnb`,
32
+ `sol-solana`, `pol-polygon`. Scripts and agents must pass `--with`: the picker
33
+ only appears on a terminal, and there is no default coin.
34
+
35
+ A native coin is offered only when the invoice's quote lists it, for invoices up
36
+ to $2,000 (native ETH on Ethereum: $1 minimum). It is exact-out: send exactly
37
+ the coin amount shown, before its price lock ends (about an hour), and keep a
38
+ little of the same coin for gas. On-chain BTC and Tron are not supported.
39
+ ZEC on Zcash (Beta): use https://checkout.rozo.ai/zec, this CLI does not create ZEC orders.
31
40
 
32
41
  By default it just prints an address for you to pay from any wallet — no key
33
42
  and no configuration needed. Add `--send` only if you want the CLI to sign
@@ -52,7 +61,7 @@ LINK="https://payments.coinbase.com/payment-links/pl_01YOURLINKID"
52
61
  ```
53
62
 
54
63
  Chain ids: `1` Ethereum · `56` BNB Chain · `137` Polygon · `8453` Base ·
55
- `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning.
64
+ `42161` Arbitrum · `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning.
56
65
 
57
66
  ## Which wallet do I need?
58
67
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  [English](QUICKSTART.md) | **简体中文** | [日本語](QUICKSTART.ja.md) | [Español](QUICKSTART.es.md)
4
4
 
5
- 用 Solana、BNB Chain、Ethereum、Polygon、Base 或 Stellar 上的 USDT/USDC,或者用走
6
- Lightning 的 BTC,去支付一个 OpenRouter Coinbase 收款链接 (Payment Link)。五分钟搞定。
5
+ 用 Solana、BNB Chain、Ethereum、Polygon、Arbitrum、Base 或 Stellar 上的 USDT/USDC,用走
6
+ Lightning 的 BTC,或者用原生币(Ethereum、Base、Arbitrum 上的 ETH,BNB、SOL、POL),去支付一个 OpenRouter Coinbase 收款链接 (Payment Link)。五分钟搞定。
7
7
  工作原理与设计理由见 [README.md](../README.md)。
8
8
 
9
9
  ## 一行命令搞定
@@ -20,7 +20,9 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
20
20
  npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLINKID --with usdt-solana
21
21
  ```
22
22
 
23
- `--with` 可选的币种有:`usdt-solana`、`usdc-solana`、`usdt-bnb`、`usdc-bnb`、`usdt-ethereum`、`usdc-ethereum`、`usdt-polygon`、`usdc-polygon`、`usdc-base`、`usdc-stellar`、`btc-lightning`。脚本和 agent 必须显式传 `--with`:交互式选择只在终端里出现,而且没有默认币种。
23
+ `--with` 可选的币种有:`usdt-solana`、`usdc-solana`、`usdt-bnb`、`usdc-bnb`、`usdt-ethereum`、`usdc-ethereum`、`usdt-polygon`、`usdc-polygon`、`usdt-arbitrum`、`usdc-arbitrum`、`usdc-base`、`usdc-stellar`、`btc-lightning`,以及原生币 `eth-ethereum`、`eth-base`、`eth-arbitrum`、`bnb-bnb`、`sol-solana`、`pol-polygon`。脚本和 agent 必须显式传 `--with`:交互式选择只在终端里出现,而且没有默认币种。
24
+
25
+ 原生币只有在这张账单的报价列出时才能用,账单上限 $2,000(Ethereum 上的 ETH 最低 $1)。原生币是精确到账(exact-out):在币价锁定结束前(约 1 小时)按显示的币数精确发送,并留一点同一种币付 gas。链上 BTC 和 Tron 不支持。Zcash 上的 ZEC(Beta):请用 https://checkout.rozo.ai/zec,本 CLI 不创建 ZEC 订单。
24
26
 
25
27
  默认情况下它只是打印一个地址,让你用任意钱包去付 —— 不需要私钥,也不需要任何配置。只有当你想让 CLI 改从热钱包签名时才加 `--send`;加 `--json` 输出机器可读格式。
26
28
 
@@ -42,7 +44,7 @@ LINK="https://payments.coinbase.com/payment-links/pl_01YOURLINKID"
42
44
  ```
43
45
 
44
46
  链 id:`1` Ethereum · `56` BNB Chain · `137` Polygon · `8453` Base ·
45
- `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning。
47
+ `42161` Arbitrum · `900` Solana · `1500` Stellar · `lightning` Bitcoin Lightning。
46
48
 
47
49
  ## 我需要什么钱包?
48
50
 
package/docs/README.es.md CHANGED
@@ -3,8 +3,9 @@
3
3
  [English](../README.md) | [简体中文](README.zh.md) | [日本語](README.ja.md) | **Español**
4
4
 
5
5
  Pagar un **enlace de pago de Coinbase (Payment Link) de OpenRouter** con una
6
- moneda que ese enlace no puede aceptar directamente: BTC por Lightning, o
7
- USDT/USDC en Solana, BNB Chain, Ethereum, Polygon, Base o Stellar. Un enlace de
6
+ moneda que ese enlace no puede aceptar directamente: BTC por Lightning,
7
+ USDT/USDC en Solana, BNB Chain, Ethereum, Polygon, Arbitrum, Base o Stellar, o
8
+ una moneda nativa: ETH en Ethereum, Base o Arbitrum, BNB, SOL o POL. Un enlace de
8
9
  pago de Coinbase solo acepta USDC en Base; esto enruta la moneda que realmente
9
10
  se posee a través de un puente, y una billetera fondeadora liquida la factura en
10
11
  nombre del usuario. Sin cuenta, sin clave de API, sin navegador.
@@ -32,12 +33,27 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
32
33
  | Ethereum | `usdt-ethereum` `usdc-ethereum` | `1` | 6 decimales |
33
34
  | BNB Chain | `usdt-bnb` `usdc-bnb` | `56` | 18 decimales |
34
35
  | Polygon | `usdt-polygon` `usdc-polygon` | `137` | 6 decimales |
36
+ | Arbitrum | `usdt-arbitrum` `usdc-arbitrum` | `42161` | 6 decimales |
35
37
  | Base | `usdc-base` | `8453` | 6 decimales |
36
- | Solana | `usdt-solana` `usdc-solana` | `900` | SPL; SOL nativo no admitido |
38
+ | Solana | `usdt-solana` `usdc-solana` | `900` | SPL |
37
39
  | Stellar | `usdc-stellar` | `1500` | memo `MEMO_TEXT` obligatorio — se muestra en el bloque de depósito |
38
40
  | Bitcoin Lightning | `btc-lightning` | `lightning` | BOLT11; importes en satoshis |
39
41
 
40
- Las monedas de gas nativas (SOL, BNB, ETH, MATIC) y el BTC on-chain no se aceptan.
42
+ **Monedas nativas**, cada una en su propia cadena:
43
+
44
+ | Moneda | `--with` | Id de cadena | Notas |
45
+ |---|---|---|---|
46
+ | ETH en Ethereum | `eth-ethereum` | `1` | 18 decimales (wei); mínimo $1 |
47
+ | ETH en Base | `eth-base` | `8453` | 18 decimales (wei) |
48
+ | ETH en Arbitrum | `eth-arbitrum` | `42161` | 18 decimales (wei) |
49
+ | BNB | `bnb-bnb` o `bnb` | `56` | 18 decimales |
50
+ | SOL | `sol-solana` o `sol` | `900` | 9 decimales (lamports) |
51
+ | POL | `pol-polygon` o `pol` | `137` | 18 decimales |
52
+
53
+ Una moneda nativa solo se ofrece cuando la cotización de la factura la incluye (`quote` lo muestra), y solo para facturas de hasta $2,000. La orden es **exact-out**, como Lightning: envía exactamente la cantidad de moneda del bloque de depósito. Su precio queda fijado solo hasta la hora indicada (alrededor de una hora); pasada esa hora, no la envíes: deja que la orden expire y crea una nueva. La cantidad incluye un diferencial cambiario además de la comisión de servicio, y la billetera necesita un poco más de la misma moneda para la comisión de red. Si pagas desde un exchange, debe llegar la cantidad completa: comprueba que la comisión de retiro no se descuente de ella. `--send` también paga monedas nativas, como una transferencia normal de la cantidad exacta.
54
+
55
+ El BTC on-chain y Tron no están soportados.
56
+ ZEC en Zcash (Beta): usa https://checkout.rozo.ai/zec, esta CLI no crea órdenes en ZEC.
41
57
 
42
58
  ## ¿Qué wallet necesito?
43
59
 
package/docs/README.ja.md CHANGED
@@ -3,8 +3,8 @@
3
3
  [English](../README.md) | [简体中文](README.zh.md) | **日本語** | [Español](README.es.md)
4
4
 
5
5
  **OpenRouter の Coinbase 決済リンク (Payment Link)** を、そのリンクが直接受け取れない
6
- 通貨で支払います — Lightning 経由の BTC、または Solana、BNB Chain、Ethereum、
7
- Polygon、Base、Stellar 上の USDT/USDC です。Coinbase の決済リンクは Base 上の USDC しか
6
+ 通貨で支払います:Lightning 経由の BTC、Solana、BNB Chain、Ethereum、
7
+ Polygon、Arbitrum、Base、Stellar 上の USDT/USDC、またはネイティブコイン(Ethereum・Base・Arbitrum の ETH、BNB、SOL、POL)です。Coinbase の決済リンクは Base 上の USDC しか
8
8
  受け付けません。本ツールは、あなたが実際に保有している通貨をブリッジ経由で中継し、
9
9
  資金提供ウォレット (funder wallet) があなたに代わってインボイスを決済します。
10
10
  アカウントも API キーもブラウザーも不要です。
@@ -31,12 +31,27 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
31
31
  | Ethereum | `usdt-ethereum` `usdc-ethereum` | `1` | 小数点以下 6 桁 |
32
32
  | BNB Chain | `usdt-bnb` `usdc-bnb` | `56` | 小数点以下 18 桁 |
33
33
  | Polygon | `usdt-polygon` `usdc-polygon` | `137` | 小数点以下 6 桁 |
34
+ | Arbitrum | `usdt-arbitrum` `usdc-arbitrum` | `42161` | 小数点以下 6 桁 |
34
35
  | Base | `usdc-base` | `8453` | 小数点以下 6 桁 |
35
- | Solana | `usdt-solana` `usdc-solana` | `900` | SPL。ネイティブの SOL は非対応 |
36
+ | Solana | `usdt-solana` `usdc-solana` | `900` | SPL |
36
37
  | Stellar | `usdc-stellar` | `1500` | `MEMO_TEXT` のメモが必須 — 入金ブロックに表示されます |
37
38
  | Bitcoin Lightning | `btc-lightning` | `lightning` | BOLT11。金額は satoshi 単位 |
38
39
 
39
- ネイティブのガス通貨(SOL、BNB、ETH、MATIC)およびオンチェーンの BTC は受け付けません。
40
+ **ネイティブコイン**(それぞれ自分のチェーン上のみ):
41
+
42
+ | コイン | `--with` | チェーン id | 備考 |
43
+ |---|---|---|---|
44
+ | Ethereum の ETH | `eth-ethereum` | `1` | 小数点以下 18 桁(wei)。最低 $1 |
45
+ | Base の ETH | `eth-base` | `8453` | 小数点以下 18 桁(wei) |
46
+ | Arbitrum の ETH | `eth-arbitrum` | `42161` | 小数点以下 18 桁(wei) |
47
+ | BNB | `bnb-bnb` または `bnb` | `56` | 小数点以下 18 桁 |
48
+ | SOL | `sol-solana` または `sol` | `900` | 小数点以下 9 桁(lamports) |
49
+ | POL | `pol-polygon` または `pol` | `137` | 小数点以下 18 桁 |
50
+
51
+ ネイティブコインは、そのインボイスの見積もりに含まれている場合にのみ使えます(`quote` で確認できます)。上限は 1 件 $2,000 です。注文は Lightning と同じく**exact-out(受取額固定)**で、入金ブロックのコイン数量をそのまま正確に送ってください。価格は表示された時刻(約 1 時間)までしか固定されません。それを過ぎたら送らず、注文の期限切れを待って新しく作り直してください。コイン数量にはサービス手数料に加えて為替スプレッドが含まれます。ウォレットにはネットワーク手数料用に同じコインが少し余分に必要です。取引所から出金する場合は、着金額が全額になるよう、出金手数料が差し引かれないことを確認してください。`--send` もネイティブコインに対応しており、正確な数量の通常送金として送ります。
52
+
53
+ オンチェーンの BTC と Tron には対応していません。
54
+ Zcash の ZEC(Beta)は https://checkout.rozo.ai/zec を使ってください。この CLI では ZEC の注文は作れません。
40
55
 
41
56
  ## どのウォレットが必要ですか?
42
57
 
package/docs/README.zh.md CHANGED
@@ -3,8 +3,8 @@
3
3
  [English](../README.md) | **简体中文** | [日本語](README.ja.md) | [Español](README.es.md)
4
4
 
5
5
  用一种 **OpenRouter Coinbase 收款链接 (Payment Link)** 本身收不了的币去付款 —— 走
6
- 闪电网络的 BTC,或者 Solana、BNB Chain、Ethereum、Polygon、Base、Stellar 上的
7
- USDT/USDC。Coinbase 收款链接只接受 Base 上的 USDC;本工具把你实际持有的币通过
6
+ 闪电网络的 BTC,Solana、BNB Chain、Ethereum、Polygon、Arbitrum、Base、Stellar 上的
7
+ USDT/USDC,或者原生币:Ethereum、Base、Arbitrum 上的 ETH,以及 BNB、SOL、POL。Coinbase 收款链接只接受 Base 上的 USDC;本工具把你实际持有的币通过
8
8
  一座桥路由过去,再由一个出资钱包代你结清账单。无需账号、无需 API key、无需浏览器。
9
9
 
10
10
  ```bash
@@ -28,12 +28,27 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
28
28
  | Ethereum | `usdt-ethereum` `usdc-ethereum` | `1` | 6 位小数 |
29
29
  | BNB Chain | `usdt-bnb` `usdc-bnb` | `56` | 18 位小数 |
30
30
  | Polygon | `usdt-polygon` `usdc-polygon` | `137` | 6 位小数 |
31
+ | Arbitrum | `usdt-arbitrum` `usdc-arbitrum` | `42161` | 6 位小数 |
31
32
  | Base | `usdc-base` | `8453` | 6 位小数 |
32
- | Solana | `usdt-solana` `usdc-solana` | `900` | SPL;不支持原生 SOL |
33
+ | Solana | `usdt-solana` `usdc-solana` | `900` | SPL |
33
34
  | Stellar | `usdc-stellar` | `1500` | 必须带 `MEMO_TEXT` memo —— 会在充值信息块里给出 |
34
35
  | Bitcoin Lightning | `btc-lightning` | `lightning` | BOLT11;金额单位为聪 |
35
36
 
36
- 原生 gas 币(SOL、BNB、ETH、MATIC)以及链上 BTC 均不接受。
37
+ **原生币**,各自只在自己的链上:
38
+
39
+ | 币 | `--with` | 链 id | 备注 |
40
+ |---|---|---|---|
41
+ | Ethereum 上的 ETH | `eth-ethereum` | `1` | 18 位小数(wei);最低 $1 |
42
+ | Base 上的 ETH | `eth-base` | `8453` | 18 位小数(wei) |
43
+ | Arbitrum 上的 ETH | `eth-arbitrum` | `42161` | 18 位小数(wei) |
44
+ | BNB | `bnb-bnb` 或 `bnb` | `56` | 18 位小数 |
45
+ | SOL | `sol-solana` 或 `sol` | `900` | 9 位小数(lamports) |
46
+ | POL | `pol-polygon` 或 `pol` | `137` | 18 位小数 |
47
+
48
+ 只有当这张账单的报价列出某个原生币时才能用它(`quote` 会显示),且账单不超过 $2,000。原生币订单是**精确到账(exact-out)**,和闪电网络一样:按充值信息块里的币数一分不差地发送。币价只锁定到显示的时间(约 1 小时);过了这个时间就不要再发,让订单过期后重新下单。币数里在服务费之外还含汇率价差,钱包里还需要多留一点同一种币付网络费。从交易所提币时,到账金额必须是完整金额:确认提币手续费没有从中扣除。`--send` 也能付原生币,按精确金额做一笔普通转账。
49
+
50
+ 链上 BTC 和 Tron 不支持。
51
+ Zcash 上的 ZEC(Beta):请用 https://checkout.rozo.ai/zec,本 CLI 不创建 ZEC 订单。
37
52
 
38
53
  ## 我需要什么钱包?
39
54
 
package/llms.txt CHANGED
@@ -3,7 +3,8 @@
3
3
  > When your agent needs to pay OpenRouter (or any Coinbase invoice) with the crypto you
4
4
  > already hold. Pays a Coinbase Payment Link (payments.coinbase.com/payment-links/pl_* or
5
5
  > /payment-sessions/paymentSession_*) with BTC over Lightning, USDT/USDC on Solana,
6
- > BNB Chain, Ethereum or Polygon, or USDC on Base or Stellar. No Coinbase account, public HTTP
6
+ > BNB Chain, Ethereum, Polygon or Arbitrum, USDC on Base or Stellar, or a native coin
7
+ > (ETH on Ethereum, Base or Arbitrum, BNB, SOL, POL). No Coinbase account, public HTTP
7
8
  > endpoints, no API key. Crypto payments to OpenRouter are never refundable.
8
9
  > The payer funds a one-time deposit address; a bridge and a funder wallet settle the
9
10
  > Coinbase link automatically. No discount: you pay the invoice amount, plus the
@@ -22,8 +23,10 @@ calls with every safety rule already enforced:
22
23
  npx @rozoai/checkout status <rozoPaymentId | coinbase-link>
23
24
 
24
25
  --with accepts usdt-solana, usdc-solana, usdt-bnb, usdc-bnb, usdt-ethereum,
25
- usdc-ethereum, usdt-polygon, usdc-polygon, usdc-base, usdc-stellar, btc-lightning
26
- (or raw: --chain 900 --token USDT).
26
+ usdc-ethereum, usdt-polygon, usdc-polygon, usdt-arbitrum, usdc-arbitrum, usdc-base,
27
+ usdc-stellar, btc-lightning, and the native coins eth-ethereum, eth-base,
28
+ eth-arbitrum, bnb-bnb (or bnb), sol-solana (or sol), pol-polygon (or pol)
29
+ (or raw: --chain 900 --token USDT, --chain 8453 --token ETH).
27
30
 
28
31
  Optional: --email <addr> stores a contact email with the order so ROZO can reach
29
32
  the user if the payment needs attention. Ask the user once if they are present;
@@ -95,11 +98,24 @@ copy-pastable block. Creating an order moves no money; an unfunded order expires
95
98
 
96
99
  ## Supported sources
97
100
 
98
- chainId "1" Ethereum (USDC, USDT) · "56" BNB Chain (USDC, USDT; 18-decimals) ·
99
- "137" Polygon (USDC, USDT) · "8453" Base (USDC) · "900" Solana (USDC, USDT) ·
100
- "1500" Stellar (USDC; deposit memo REQUIRED) · "lightning" (BTC; BOLT11 invoice,
101
- amounts in integer satoshis via source.amountUnit=="sats").
102
- Native SOL/ETH/BNB are NOT supported — stablecoins (or Lightning BTC) only.
101
+ chainId "1" Ethereum (USDC, USDT, native ETH) · "56" BNB Chain (USDC, USDT;
102
+ 18-decimals; native BNB) · "137" Polygon (USDC, USDT, native POL) · "42161" Arbitrum
103
+ (USDC, USDT, native ETH) · "8453" Base (USDC, native ETH) · "900" Solana (USDC, USDT,
104
+ native SOL) · "1500" Stellar (USDC; deposit memo REQUIRED) · "lightning" (BTC;
105
+ BOLT11 invoice, amounts in integer satoshis via source.amountUnit=="sats").
106
+ USDT is not accepted on Base or Stellar. On-chain BTC and Tron are NOT supported.
107
+ ZEC on Zcash (Beta): use https://checkout.rozo.ai/zec, this CLI does not create ZEC orders.
108
+ Native coins (tokenSymbol "ETH", "BNB", "SOL" or "POL" on the chains above; ETH, BNB
109
+ and POL have 18 decimals, SOL 9): offer one only when quote-invoice lists it in
110
+ supportedSources for that invoice ({"<chainId>": ["USDC", "ETH", ...]}). A native
111
+ order is exact-out like Lightning: source.amount is the exact coin amount to send,
112
+ and the price is locked only until quoteExpiresAt (returned by create-invoice and by
113
+ the payments GET; the order's own expiresAt is later). Never send after
114
+ quoteExpiresAt. The coin amount includes an FX spread on top of the service fee, and
115
+ the payer also needs some of the same coin for gas. Native orders are limited to
116
+ $2,000 per invoice (native ETH on Ethereum: $1 minimum; quote-invoice may report
117
+ per-coin minimums in nativeMinUsd). The CLI enforces all of this, and --send pays a
118
+ native coin as a plain transfer of the exact amount.
103
119
 
104
120
  WALLET: one wallet on one of these chains is enough — not one per chain. Any
105
121
  wallet, or an exchange withdrawal, can fund the deposit address; nothing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@rozoai/checkout",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
- "description": "Pay OpenRouter, or any Coinbase invoice, with the crypto you already hold: USDT/USDC on Solana, BNB Chain, Ethereum or Polygon, USDC on Base or Stellar, or BTC over Lightning. No Coinbase account.",
5
+ "description": "Pay OpenRouter, or any Coinbase invoice, with the crypto you already hold: USDT/USDC on Solana, BNB Chain, Ethereum, Polygon or Arbitrum, USDC on Base or Stellar, BTC over Lightning, or native ETH, BNB, SOL or POL. No Coinbase account.",
6
6
  "license": "MIT",
7
7
  "author": "Rozo AI",
8
8
  "homepage": "https://github.com/RozoAI/rozo-checkout-skill#readme",
@@ -24,10 +24,15 @@
24
24
  "bnb-chain",
25
25
  "ethereum",
26
26
  "polygon",
27
+ "arbitrum",
27
28
  "base",
28
29
  "stellar",
29
30
  "lightning",
30
31
  "bitcoin",
32
+ "eth",
33
+ "bnb",
34
+ "sol",
35
+ "pol",
31
36
  "crypto-payments",
32
37
  "agent",
33
38
  "ai-agent",