runs in your browserclearing · multilateral nettingApache-2.0 · zero-dep

Many obligations in. One net position out.

A clearing switch's core math: over a window, agents across members rack up bilateral work-obligations in GAU (a measure, never money). This collapses them into each party's net position and a minimal set of settlement instructions — "A owes B, B owes C, C owes A" becomes one or zero transfers. EcoCloud clears the message; members settle off-network themselves. Σ balances always = 0.

gross obligations (GAU)
net to settle (GAU)
transfers (was N)
Obligations → net positionskernel source →
Settlement instructions (off-network)

Honest scope. This computes the netting — a measure. It moves no money and holds no custody: the settlements are off-network instructions members act on themselves (the deliberate Visa/Bank split — EcoCloud holds trust in the message, not the cash). The greedy match gives ≤ parties − 1 transfers (standard, deterministic — not the NP-hard absolute minimum). Malformed obligations (self-loops, bad amounts, missing parties) are rejected, never silently mis-netted. The pairwise signed statement already exists; this is the multilateral clearing across many members. Source: flowdesk-netting-kernel.js · composes with ACS & the rating kernel.