Brings in packages/routing, packages/hyperliquid (hypercore network), checkout
AnyTokenPay/HyperCorePay, Node 22 pins, tenant-ownership guards and the zcash
tag lock. Only conflict: drizzle _journal.json (kept 0010_onchain_billing and
0011_coupons_organization in order).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent-buy-solana (x402 SVM via PayAI), agent-buy-evm <network> (x402 EVM
on Base/Arbitrum/Ethereum/HyperEVM/Robinhood) and agent-buy-tempo (MPP via
the mppx client with a spend guard). Adds resolveX402Network to
@settlekit/x402-client for registry network names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@x402/core, evm, svm, hono, fetch 2.27 (Apache-2.0) and mppx 0.11 (MIT)
for x402 v2 on every chain and MPP on Tempo. Scaffolds the
@settlekit/x402-facilitator package manifest. Lockfile peer churn in
unrelated importers (checkout, app-kit-viem) reverted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Root cause: isomorphic ids.ts uses globalThis.crypto (a global only in Node 20+, per engines.node>=20). A Vercel project building on Node 18 has no global crypto, so any page generating an id at build time throws and the deploy fails.
- Add .node-version=20 to repo root + every app (Vercel reads it from each app's Root Directory) so deploys use Node 20.
- ids.ts: resolve Web Crypto lazily with an actionable error instead of a cryptic undefined access — still browser-safe (no node:crypto import).
- 1304 tests / 213 suites, typecheck + full build green.
Adds @settlekit/attribution — reuse-detection, weighted provenance lineage,
and HMAC-signed proofs-of-citation — wired live into the rsshub-citation-toll
sidecar (POST /attribution/{detect,proof,verify}) and persisted via
PgLineageStore/PgProofStore over new lepton_lineage_edges + lepton_citation_proofs
tables.
Adds apps/creator-dashboard — a Next.js earnings view in the Statement
greenbar-ledger design system, driven by real domain logic (createSource +
computeRoyaltyDistribution + detectReuse, not mocks). Statement / Sources /
Payouts / Reuse & proofs (interactive) / Wallet. next build green.
Also bundles in-progress settlement hardening: settlement-core idempotency
concurrency, api env validation, bundles + contracts/worker tweaks.
Verified: 943 vitest tests, 27 Foundry tests, next build all green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add `pnpm --filter @settlekit/examples lepton` — a narrated, runnable demo that
exercises the real @settlekit packages across all four Lepton creator-payment
flows in one command:
Act 1 RFB 6 an AI agent pays an x402 citation toll to ground an answer
Act 2 RFB 6 per-listen royalties (skips free, plays charged)
Act 3 RFB 4 per-second streaming (accrue watched time, refund the reserve)
Act 4 RFB 6 OSS fund: engine-split budget, per-leg conserved, one-tx calldata
Everything settles over the local settlement provider (offline, no creds);
SETTLEMENT_PROVIDER=circle flips the identical flows to real Arc testnet USDC.
Wires the sidecars + oss-fund + settlement-core + x402-client into apps/examples
(deps + project references) and prints the total test-USDC moved. Built for the
<3min submission video / hands-on judging. Full suite 906 green; tsc -b clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>