Adds DeployArcMainnet.s.sol and deploy-arc-mainnet.sh. The script checks the
chain id (5042) and USDC, simulates, prints the cost in USDC, asks for
confirmation, then verifies on Sourcify and Blockscout. Also adds the
bounty runbook. SettleKitCctpHook is excluded: it is not called by CCTP V2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner/operator roles, USDC buckets, allowlist + per-tx + UTC daily caps,
TAX lock, owner approve/reject/expire escalations, USYC adapter hooks,
pause kill switch and DecisionAnchored on every mutation. 21 forge tests
including a reentrant-token CEI check, plus DeployOperator script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 DeployLepton.s.sol — deploys RecursiveSplitDistributor, LeptonStreamSettlement,
and AgentReputationBond to Arc in one forge script, mirroring the existing
Deploy.s.sol style (minimal Vm surface, no forge-std). USDC (the native gas token
at 0x3600…0000) is the default settlement asset, overridable via ARC_USDC_ADDRESS.
Verified by dry-run: simulates all three deploys (gas ~1.46M) and returns their
addresses; broadcast needs a faucet-funded deployer key.
Document the full live-testnet runbook in the plan: CLI auth, contract deploy
(dry-run + broadcast), and flipping the sidecars to SETTLEMENT_PROVIDER=circle.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Live-wiring (flip to production by config, no code change):
- settlementProviderFromEnv (local/Circle) wired into every sidecar startSidecar
- createFeedPoller fetches a live RSSHub JSON feed and ingests on an interval
On-chain contracts (Foundry, Solc 0.8.30, forge test green):
- RecursiveSplitDistributor.sol: settle a citation/remix lineage in one tx (RFB 6)
- LeptonStreamSettlement.sol: per-second stream w/ reserve, proof-of-flow
pause/resume, settle, close+refund (RFB 4)
- AgentReputationBond.sol: ERC-8004-style USDC bond, release/slash (RFB 3)
All green: full typecheck, 885 JS tests, 25 Foundry tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>