caelum0x 1b38e24f1f feat(x402-facilitator): Postgres nonce store and closed-by-default recipient allowlist
- PgX402NonceStore (x402_nonces, migration 0012): reserve is INSERT ... ON
  CONFLICT DO NOTHING on the primary key, so one settle wins across replicas.
  The API wires it whenever DATABASE_URL is set; otherwise the facilitator
  falls back to the in-memory store and logs a boot warning. One store is
  now shared by every per-environment facilitator part.
- allowedPayTo defaults to this deployment's own EVM receiving addresses
  (X402_EVM_PAY_TO + X402_PAY_TO_<CHAIN>); an empty allowlist refuses every
  recipient, and only X402_FACILITATOR_ALLOWED_PAY_TO=* opens the relayer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:59:42 +03:00

97 lines
1.9 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1781510132250,
"tag": "0000_init",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1781513837110,
"tag": "0001_escrow_refunds_reviews",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1781530930791,
"tag": "0002_fullproduct_stores",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1781560160034,
"tag": "0003_commerce_engines",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1781561725869,
"tag": "0004_auth_persistence",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1781562882868,
"tag": "0005_worker_persistence",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1782000000000,
"tag": "0006_auth_web3",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1782000100000,
"tag": "0007_auth_wallet_unique",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1782000200000,
"tag": "0008_agent_economy",
"breakpoints": true
},
{
"idx": 9,
"version": "7",
"when": 1782000300000,
"tag": "0009_payments_tx_hash_unique",
"breakpoints": true
},
{
"idx": 10,
"version": "7",
"when": 1782000400000,
"tag": "0010_onchain_billing",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1782000500000,
"tag": "0011_coupons_organization",
"breakpoints": true
},
{
"idx": 12,
"version": "7",
"when": 1782000600000,
"tag": "0012_x402_nonces",
"breakpoints": true
}
]
}