# Swap Lightning to USDC (and back) — no escrow needed

Swap Lightning or Arkade bitcoin to USDC or USDT0 on Arbitrum One or USDC on Base (and back), or Lightning to Arkade and back, with Mark — the open-source client for the Agent Escrow service at agentescrow.to. Standalone: no deal and no escrow. Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee; USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee, shown in every quote. BTC to USDT0 Arbitrum swap for AI agents.

Mark 0.6.1 is the open-source CLI and MCP server an agent installs to use the Agent Escrow service at agentescrow.to. Swap is standalone: no deal and no escrow. Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee; USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee, shown in the quote.

## The same rails now fund and pay out Agent Escrow

With Mark 0.7.0 you can fund an escrow from USDC or USDT0, or receive an escrow payout in USDC or USDT0, in one hop. The escrow itself still holds bitcoin in a 2-of-3 Arkade address; Agent Escrow wraps Satora for the hop. Standalone swap (this page) stays a separate tool.

`npx -y @yuvlero/mark@latest escrow fund <id> --from usdc|usdt0|usdc-base`

`npx -y @yuvlero/mark@latest escrow quote <id> --payout-stable usdc`

`npx -y @yuvlero/mark@latest escrow approve <id> --payout-stable usdc|usdt0|usdc-base --payout-address 0x…`

`npx -y @yuvlero/mark@latest escrow claim-payout <id> --wait`

Home: https://agentescrow.to/. API docs: https://agentescrow.to/docs.

## Install

```
npx -y @yuvlero/mark@latest mcp
```

MCP client config:

```json
{
  "mcpServers": {
    "mark": {
      "command": "npx",
      "args": [
        "-y",
        "@yuvlero/mark@latest",
        "mcp"
      ]
    }
  }
}
```

CLI: `npx -y @yuvlero/mark@latest swap routes`. Node 20.19+. Package: [@yuvlero/mark](https://www.npmjs.com/package/@yuvlero/mark). Source: https://github.com/yuvlero/mark. Agent skill: https://agentescrow.to/skill.md.

## Routes

Fourteen routes on bitcoin mainnet, all via Satora: Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) (USDC on Base travels over Circle's CCTP bridge; back to bitcoin, the deposit address also pays a little Base gas in ETH); and Lightning ↔ Arkade both ways. Live min/max: `npx -y @yuvlero/mark@latest swap routes` (read-only).

| From | To | Mark flags | Token contract (chain) |
| --- | --- | --- | --- |
| Lightning | USDC on Arbitrum One | `--from lightning --to usdc` | 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 (42161) |
| Lightning | USDT0 on Arbitrum One | `--from lightning --to usdt0` | 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 (42161) |
| Lightning | USDC on Base | `--from lightning --to usdc-base` | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (8453) |
| Arkade | USDC on Arbitrum One | `--from arkade --to usdc` | 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 (42161) |
| Arkade | USDT0 on Arbitrum One | `--from arkade --to usdt0` | 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 (42161) |
| Arkade | USDC on Base | `--from arkade --to usdc-base` | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (8453) |
| USDC on Arbitrum One | Lightning | `--from usdc --to lightning` | 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 (42161) |
| USDC on Arbitrum One | Arkade | `--from usdc --to arkade` | 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 (42161) |
| USDT0 on Arbitrum One | Lightning | `--from usdt0 --to lightning` | 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 (42161) |
| USDT0 on Arbitrum One | Arkade | `--from usdt0 --to arkade` | 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 (42161) |
| USDC on Base | Lightning | `--from usdc-base --to lightning` | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (8453) |
| USDC on Base | Arkade | `--from usdc-base --to arkade` | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (8453) |
| Lightning | Arkade | `--from lightning --to arkade` | — |
| Arkade | Lightning | `--from arkade --to lightning` | — |

Arkade-source swaps must be paid from an Arkade wallet on https://arkade.computer, not Bark / Second. Lightning payouts need a BOLT11 invoice with an amount, not a Lightning address. Mainnet only.

## Bitcoin to USDC or USDT0

```
npx -y @yuvlero/mark@latest swap quote --from lightning --to usdc --sats 100000
npx -y @yuvlero/mark@latest swap --from lightning --to usdc --sats 100000 --address 0xYourArbitrumAddress --yes --wait
npx -y @yuvlero/mark@latest swap --from lightning --to usdc-base --sats 100000 --address 0xYourBaseAddress --yes --wait
```

`--address` is your 0x address on the payout network. **USDC on Base** (`--to usdc-base`): Satora settles on Arbitrum One, and at the claim Circle's CCTP bridge delivers the USDC to the same address on Base. USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); the quote's `receive` is after it.

MCP: `swap_routes`, `swap_quote`, `swap_create` (needs `confirm: true`), then `swap_claim` with `wait: true`. Pay the invoice or Arkade address once.

## USDC or USDT0 on Arbitrum One, or USDC on Base, back to bitcoin

```
npx -y @yuvlero/mark@latest swap quote --from usdc --to lightning --amount 1.5
npx -y @yuvlero/mark@latest swap --from usdc --to lightning --invoice lnbc… --yes --wait
npx -y @yuvlero/mark@latest swap --from usdc-base --to lightning --invoice lnbc… --yes --wait
```

From Arbitrum One it is gasless (no ETH). **From USDC on Base** (`--from usdc-base`): send the USDC on Base, plus a little ETH on Base once, to the deposit address; Mark signs the approve and Circle's CCTP burn there and refuses, before signing anything, if the ETH is short. USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both.

MCP: `swap_to_btc_quote`, `swap_to_btc_create` (needs `confirm: true`), then `swap_fund` with `wait: true`. Send the printed deposit amount once on the network it names; never twice. Recovery: `swap_refund`, `swap_recover`.

## Lightning ↔ Arkade

```
npx -y @yuvlero/mark@latest swap quote --from lightning --to arkade --sats 100000
npx -y @yuvlero/mark@latest swap --from lightning --to arkade --sats 100000 --address ark1… --yes --wait
npx -y @yuvlero/mark@latest swap --from arkade --to lightning --invoice lnbc… --yes --wait
```

MCP: `swap_routes`, `swap_quote`, `swap_create` (needs `confirm: true`). After Lightning to Arkade, `swap_claim` with `wait: true`. Pay the hold invoice or the Arkade VHTLC address once, from an Arkade wallet on https://arkade.computer (not Bark) when the source is Arkade.

## Fees

Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee; USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee. Every quote shows the live total before a swap is created; /network-fees can differ, so use the quote.

## FAQ

**Can my AI agent swap Lightning to USDC without using escrow?**

Yes. mark swap is standalone: no deal, no escrow, no arbiter. It swaps bitcoin (paid over Lightning or from an Arkade wallet) to USDC or USDT0 on Arbitrum One or USDC on Base (and back), and Lightning ↔ Arkade, through Satora. Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee; USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee. Start with npx -y @yuvlero/mark@latest swap routes. The same rails also fund and pay out Agent Escrow deals in one hop with Mark 0.7.0 (see / and /docs); that is a different tool.

**Can I use these rails to fund or cash out an escrow?**

Yes, with Mark 0.7.0. Fund an escrow from USDC or USDT0 with npx -y @yuvlero/mark@latest escrow fund <id> --from usdc|usdt0|usdc-base, or receive an escrow payout with npx -y @yuvlero/mark@latest escrow approve <id> --payout-stable usdc|usdt0|usdc-base --payout-address 0x…, then npx -y @yuvlero/mark@latest escrow claim-payout <id> --wait. Preview with npx -y @yuvlero/mark@latest escrow quote <id> --payout-stable usdc. The escrow itself still holds bitcoin in a 2-of-3 Arkade address; Agent Escrow wraps Satora for the hop. This /swap page is the standalone tool (no deal).

**What is Mark?**

Mark is the open-source client (CLI and MCP server) an agent installs to use the Agent Escrow service at agentescrow.to. The same client also runs standalone swaps. It holds the agent's keys locally; the service cannot move those funds on its own.

**Which routes are supported?**

Fourteen routes on bitcoin mainnet, all via Satora: Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) (USDC on Base travels over Circle's CCTP bridge; back to bitcoin, the deposit address also pays a little Base gas in ETH); and Lightning ↔ Arkade both ways. Live minimum and maximum amounts come from mark swap routes. There is no working mutinynet path. Lightning addresses are not accepted as a payout (use a BOLT11 invoice with an amount). Bark / Second wallets cannot pay an Arkade-source swap; use Lightning or an Arkade wallet on arkade.computer.

**What does a swap cost?**

Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 on Arbitrum One or USDC on Base (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee; USDC on Base also pays Circle's CCTP bridge fee (about 0.05 USDC, in USDC, taken from the payout; the live quote shows it); USDC from Base also pays Circle's CCTP fee (about 0.02% of the amount, in USDC, taken from the deposit) and Base gas for two transactions (approve and burn), paid in ETH on Base by the deposit address (usually well under 0.0001 ETH); the live quote shows both. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee. The Agent Escrow part is a 50 basis-point markup (capped at 100). Swaps from USDC or USDT0 on Arbitrum One to bitcoin are gasless: you need no EVM wallet in Mark and no ETH to lock the deposit. From USDC on Base, the deposit address also needs a little ETH on Base for two transactions (approve and burn); Mark checks it before signing anything.

**How does my agent start?**

Install Mark and run it as an MCP server: npx -y @yuvlero/mark@latest mcp. Then use swap_routes, swap_quote and swap_create (BTC to stablecoins, or Lightning ↔ Arkade; confirm: true to create) or swap_to_btc_quote and swap_to_btc_create (stablecoins back to bitcoin). Or the CLI: npx -y @yuvlero/mark@latest swap routes. Real money on mainnet; Mark previews unless you pass --yes (MCP: confirm true).

HTML page: https://agentescrow.to/swap. Escrow (a different tool in the same Mark client; the same stablecoin rails fund and pay out deals in Mark 0.7.0): https://agentescrow.to/.
