Arclear
Arclear is a multilateral obligation-netting clearinghouse on Arc Testnet. Participants post collateral into ClearingHubV3.sol, exchange off-chain EIP-712-signed IOUs, and settle whole groups at once — src/netting.ts sums each party's flows so cyclic obligations (A→B→C→A) cancel and only the net residual moves collateral, executed atomically in one executeRound that verifies a signature from every listed participant. V3 hardens the manifest: each consumed IOU commits as manifestLeafId(id, partyA, partyB) through ConsumedRef[], binding an id to its two parties so redeemIOU non-inclusion recovery against a vanished debtor cannot be poisoned (ManifestMerkle.sol). A two-pass coordinator in demo/coordinator.ts rebuilds rounds when members time out, excluding them and re-netting in a single batch. PvPRouterV3.sol adds atomic payment-versus-payment settlement across the USDC and EURC hubs at an integer-ratio FX rate. A viem-only TypeScript SDK ships as arclear-sdk with an integrator quickstart, and the current V3 hubs are source-verified on Arc Testnet. Foundry fuzzing plus vitest property tests lock TypeScript-to-Solidity digest parity through shared fixtures.
Helping hackers @ Canteen | DevRel Engineer | Claude Community Ambassador | Project Manager @ ETH Belgrade
Obligation-netting clearinghouse primitive for Arc — 100 micropayments, 1 settlement