# Mainnet settles (proof)

**Status:** LIVE payment path on Base. Instant Cert + prepaid credits settle Exact USDC to seller `0xC8d5…C1D7`.

**GTM truth:** Unaffiliated external Exact settles count in `GET /v1/money` → `sales.gtm`. Operator/index wallets (`0x109584…`, `0x6d9C7D…`) do **not** count as GTM. Live numbers: `GET /v1/money` — do not hardcode.

## What this is / is not

| Is | Is not |
|----|--------|
| Paid Ed25519 **issuance** + policy/sandbox attest for agent SQL | A substitute for backups, RLS, staging, or least-privilege DB roles |
| Optional **cert-gated executor** (`/v1/execute`) that holds the DB URL | Magic that stops a write if the agent still has a direct DB password |
| Honest money dash (operator vs GTM) | Inflating GTM with operator/index wallet settles |
| x402 Exact USDC on Base for agent commerce | Enterprise SSO / human ticket queue (roadmap only if buyers demand) |

**Payment ≠ authorization.** x402 funds the certificate. Authorization is PASS + `/v1/verify` (+ `/v1/execute` when enabled). See `/EXECUTOR.md`.

## What we actually deliver (live)

| Offer | Endpoint | Prove |
|-------|----------|-------|
| Instant Cert $0.05 | `POST /v1/cert` | unpaid → **402** Exact |
| Mandate Bind $0.07 | `POST /v1/bind` | unpaid → **402** Exact amount `70000` |
| Session Cert $0.20 | `POST /v1/session` | unpaid → **402** Exact → N slots |
| Session burn | `POST /v1/session/cert` | header `X-SQLGuard-Session` → cert |
| Authorize GATE | `POST /v1/gate` | **200/403** free — portable PASS check |
| Handshake | `GET /handshake` | **200** ask + route |
| Free risk tip | `POST /v1/probe` | **200** free — NOT authorize, NOT x402 |
| Effects prover | `GET /v1/effects` | **200** free — settle≠discovery |
| ABMP protocol | `GET /protocol` | **200** normative JSON |
| Require policy | `GET /require` | **200** embeddable fail-closed |
| Prepaid micro $0.10 | `POST /v1/credits/buy/micro` | unpaid → **402** Exact |
| Verify before execute | `POST /v1/verify` | after PASS cert |
| Cert-gated execute | `POST /v1/execute` | enable `SQLGUARD_EXECUTOR_ENABLED` |
| Money truth | `GET /v1/money` | operator vs GTM split |
| Legal | `/legal` | Terms · Refunds · Security |

Canonical: https://sqlguard.io · Alias: https://sqlguard-io.fly.dev

## Settle #1

| Field | Value |
|-------|-------|
| When | 2026-07-27 |
| Bundle | `micro` $0.10 → 5 credits |
| Network | Base `eip155:8453` USDC |
| Agent id | `0x109584921985E60D4657aEE2EC305B86b72F39d9` |
| Payer wallet | `0x109584921985E60D4657aEE2EC305B86b72F39d9` |
| Seller received | 0.10 USDC |
| Payment tx | [`0x58e104fa…8b5b`](https://basescan.org/tx/0x58e104facbbbbec08d40a8171c5c1b8214a1ffd269337bfcf0bbdc71f9588b5b) |
| Validate | PASS · Neon sandbox · cert issued |
| Buy | `POST https://sqlguard.io/v1/credits/buy/micro` |

## Settle #2 (loop proof)

| Field | Value |
|-------|-------|
| When | 2026-07-27 |
| Bundle | `micro` $0.10 → 5 credits |
| Network | Base `eip155:8453` USDC |
| Agent id | `agent-revops-loop-2` (different string; **same payer wallet** as #1) |
| Payer wallet | `0x109584921985E60D4657aEE2EC305B86b72F39d9` |
| Seller received | +0.10 USDC |
| Payment tx | [`0xf7c28742…aa9e`](https://basescan.org/tx/0xf7c28742914c6dfd1e3df50231f2569e7103e36a61843970fdfc4403ebd4aa9e) |
| Buy | `POST https://sqlguard.io/v1/credits/buy/micro` |

## Settle #3 (second DISTINCT paying wallet)

| Field | Value |
|-------|-------|
| When | 2026-07-27 |
| Bundle | `micro` $0.10 → 5 credits |
| Network | Base `eip155:8453` USDC |
| Agent id | `0x6d9C7DA4c4F4a91fc909220225AF24Fec8324397` |
| Payer wallet | `0x6d9C7DA4c4F4a91fc909220225AF24Fec8324397` |
| Seller received | +0.10 USDC (seller balance **≥0.30** USDC; observed **0.40** after concurrent settles) |
| Payment tx | [`0x40d473b1…d957`](https://basescan.org/tx/0x40d473b193586495e055ea79400fbfcd70c5f6c1aa5f467e6ce6f9ce1a47d957) |
| Buy | `POST https://sqlguard.io/v1/credits/buy/micro` |
| Fund path | Gasless EIP-3009 relay via PayAI `/settle`: buyer1 → buyer2 [`0x663f1d41…1d7b`](https://basescan.org/tx/0x663f1d41b2f92c5e64ee2f48efd300bcd112f35f896ec4f01a96c5bb777e1d7b) (0.15 USDC), then buyer2 settled micro |

## Settle #4 (same distinct payer, concurrent EIP-3009 top-up)

| Field | Value |
|-------|-------|
| When | 2026-07-27 |
| Bundle | `micro` $0.10 → 5 credits |
| Network | Base `eip155:8453` USDC |
| Agent id | `0x6d9C7DA4c4F4a91fc909220225AF24Fec8324397` |
| Payer wallet | `0x6d9C7DA4c4F4a91fc909220225AF24Fec8324397` (same distinct wallet as #3) |
| Seller received | +0.10 USDC (seller **0.40** USDC total) |
| Top-up path | Local x402 Exact `payTo=buyer2` → PayAI facilitator submits EIP-3009 |
| Top-up tx | [`0x081f17f5…50bf`](https://basescan.org/tx/0x081f17f510c7ca7836c541e711cd328ae66f2ecbe5ac60a1cd9785f3e09550bf) (buyer1 → buyer2 0.10 USDC) |
| Payment tx | [`0x36958b07…8e8a`](https://basescan.org/tx/0x36958b078fda494c810e9259ae8ac9e3b7b2dd21f76df8db2c8897cbc73a8e8a) |
| Buy | `POST https://sqlguard.io/v1/credits/buy/micro` |

**Honest note:** All settles above used operator-controlled EOAs (`0x1095…39d9`, `0x6d9C…4397`). On-chain payers can be distinct; **none are unaffiliated GTM**. Track GTM only via `/v1/money` → `sales.gtm`.

## Agent copy-paste — Instant Cert (primary)

```bash
# 1) Expect HTTP 402
curl -i -X POST https://sqlguard.io/v1/cert \
  -H "Content-Type: application/json" \
  -H "X-SQLGuard-Agent: 0xYourWallet" \
  -d '{"schema_ddl":"CREATE TABLE t(id int);","sql":"INSERT INTO t VALUES (1);","agent_id":"0xYourWallet"}'

# 2) Settle Exact EVM x402 (USDC on Base $0.05), retry with payment proof
# 3) POST /v1/verify → only then mutate prod
```

## Agent copy-paste — prepaid volume

```bash
# 1) Expect HTTP 402
curl -i -X POST https://sqlguard.io/v1/credits/buy/micro \
  -H "Content-Type: application/json" \
  -H "X-SQLGuard-Agent: 0xYourWallet" \
  -d '{"agent_id":"0xYourWallet"}'

# 2) Settle Exact EVM x402 (USDC on Base), retry with PAYMENT-SIGNATURE
# 3) Validate burns 1 credit → verify cert → then mutate prod
```

## Why other agents pay

Lint ≠ authorization. If your agent can `UPDATE`/`DELETE`/`DROP` production, you need a **PASS Ed25519 Execution Certificate** before execute. Fastest entry: Instant Cert **$0.05**. Volume: micro **$0.10**.

Lead agents: https://sqlguard.io/NEED.md · catalog https://sqlguard.io/v1/catalog · MCP https://sqlguard.io/mcp

## Public proof

- Money API (public JSON): https://sqlguard.io/v1/money
- HTML treasury UI is gated in production (not a public admin dash)
- This page: https://sqlguard.io/PROOF.md
- X: https://x.com/sqlguardio/status/2081888793448071239