World is Flat hackathon eligibility requires using $wif onchain on Robinhood
Chain; the existing integration only proved testnet Mock-USDC. Adds a real
robinhoodWif registry entry (18-decimal $wif, contract and chain id verified
live via eth_call), a Permit2 facilitator asset entry, and a ready-to-run
LIVE=1-gated mainnet settlement proof script (scripts/wif-mainnet-proof.ts)
with a safe default SIMULATE mode (no funds, no key) smoke-tested against
the live chain.
Also diagnoses and partially fixes settlekit-api.onrender.com timing out:
neither the migration client nor the app's DB connection set a
connect_timeout, so a stale DATABASE_URL hung boot indefinitely, and the
Dockerfile CMD's `&&` meant a migration failure blocked the server from even
starting. Adds a bounded default timeout and decouples server start from
migration success so failures are fast and visible instead of silent.
packages/chains + packages/x402-facilitator: 194/194 tests pass (registry
invariants updated for the two intentional exceptions: $wif=18 decimals,
robinhoodWif is mainnet-only).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- PaymentNetwork gains hypercore (Hyperliquid L1; EVM-style addresses and
hashes, its own family, hlcore:* CAIP-2 ids, explorer link in ui/format)
- CheckoutSession gains route (any-token route record) and requireMemo
- EVM verifier requireMemo: on Tempo only a transferWithMemo carrying
keccak256(sessionId) counts; plain transfers fail with memo_missing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- config: loadEvmChains + Zcash (ZCASH_ENABLED, explorer, confirmations)
and WORKER_ZCASH_WATCH_INTERVAL_MS (default 90s)
- payment verification routes every EVM key through @settlekit/chains
(Arc moves onto the same path; chain-id asserted), Solana as before, and
Zcash against the locked quote; late Zcash payments go to manual review;
payTo resolves per network and acceptedNetworks is honoured
- new zcash-watch job: no network call unless open watchable Zcash
sessions exist, one explorer call per payTo, exact-amount match, attaches
or records the pending payment and never reuses a txid
- chains: transport failures are retryable rpc_unavailable, never paid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- config: loadEvmChains + Zcash groups (BASE_RPC_URL/ARC_CHAIN_ID aliases
kept), per-network SettlementVerifier registry (EVM via @settlekit/chains,
Solana adapter, Zcash via Blockchair), boot refuses on RPC chain-id
mismatch and warns when an RPC is unreachable
- payments: network-aware tx id validation; confirm binds payTo per
network, session createdAt, payer, session id (Tempo memo) and the locked
quote; retryable and late (manual review) outcomes are explicit
- checkout sessions: every accepted network's payTo validated for its
chain family, acceptedNetworks/payToByNetwork, Solana reference and a
Zcash quote with a unique amount tag
- tests: per-network table (disabled fails closed, chain confirms, 409 on
reuse, 400 on wrong-family payTo or malformed tx id), bindings, registry,
boot check and env
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@settlekit/chains carries the verified EVM registry (Ethereum, Base,
Arbitrum, Robinhood Chain, HyperEVM, Tempo, Arc; mainnet + testnet), a
generic stablecoin verifier over the arc EvmRpc seam (chain-id assertion,
receipt status, token/payTo/amount, confirmations, block time vs session,
payer binding, Tempo TIP-20 memo), CAIP-2 ids, network-aware tx-hash and
payTo rules, env loaders (SETTLEKIT_CHAIN_ENV, ENABLED_EVM_CHAINS, per-chain
overrides, Zcash) and the settlement-verifier contract. Tests replay
receipts recorded from each chain's public RPC.
PaymentNetwork widens to solana|base|arc|ethereum|arbitrum|robinhood|
hyperevm|tempo|zcash and CheckoutSession gains settlementQuote,
payerAddress, acceptedNetworks and payToByNetwork. The hosted checkout
fails closed on the new networks until its wave-2 UI lands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>