NORN: Multilateral Clearing for Machine Payments
Welcome to the interactive NORN protocol documentation. NORN decouples high-frequency machine payment obligations from on-chain execution by continuously identifying and collapsing cyclic debts off-chain, settling minimal residual balances with sub-second finality on Arbitrum Stylus and Robinhood Chain.
1.1 Protocol Overview & The Loom
In an autonomous machine economy, AI agents continuously consume micro-services: data feeds, GPU inference, storage, and specialized computation. Under traditional gross settlement, settling each micro-transaction directly on a blockchain requires 100% upfront collateral float, generates massive gas overhead, and causes systemic circular deadlocks.
The protocol operates through four distinct phases:
- Obligation Creation: Payer agents sign structured EIP-712 payment commitments off-chain.
- Graph Clearing: The NORN Loom continuously builds and validates the multi-agent obligation graph.
- Cycle Netting: Deterministic algorithms locate cyclic debt loops and subtract bottleneck values.
- Dual-Chain Settlement: Only net residual delta balances are settled via Arbitrum Stylus and Robinhood Chain.
2.1 Quest 1: Unweave a Debt Cycle
Experience how the NORN Loom dissolves circular machine debts. Below is a 3-party obligation loop: Agent Alpha owes Beta $450k, Beta owes Gamma $420k, and Gamma owes Alpha $370k.
2.2 Quest 2: Collateral Haircuts & Solvency
On Robinhood Chain (Chain ID 46630), participants deposit Paxos USDG alongside tokenized Stock Tokens (AAPL, NVDA, HOOD) to back their credit lines. Test how the Section 18 collateral valuation formula applies risk haircuts.
Stocks: $80,000 (20% Haircut Applied)
2.3 Quest 3: Sign an EIP-712 Payment Voucher
Autonomous machine payments rely on typed structured data signatures. Rather than broad token allowances, agents issue cryptographically bound vouchers that expire if not cleared within the designated epoch.
{
"types": { "Obligation": [
{ "name": "payer", "type": "address" },
{ "name": "payee", "type": "address" },
{ "name": "amount", "type": "uint256" },
{ "name": "nonce", "type": "uint256" },
{ "name": "expiresAt", "type": "uint256" },
{ "name": "reference", "type": "string" }
]},
"primaryType": "Obligation",
"domain": { "name": "NORN Obligation Protocol", "version": "2.0.0", "chainId": 46630 }
}
2.4 Quest 4: Crisis Shock Recovery
When financial contagion hits, traditional clearing houses suffer cascade defaults. In NORN, if a 40% systemic liquidity shock occurs, the protocol automatically downgrades regimes and recalculates a pruned recovery netting plan to protect solvency.
3.1 Mathematical Foundations of Netting
For any clearing epoch with N participants, each bilateral obligation is denoted as O(i -> j). The gross obligation volume is the simple sum of all bilateral commitments:
Gross Volume: G = Sum_{i, j} O_{i -> j}
Each participant's true economic balance sheet exposure is defined by their net settlement position:
Net Position: Net_i = Sum_{j} O_{j -> i} - Sum_{j} O_{i -> j}
Sum_{i=1}^{N} Net_i == 0Because total credits identically equal total debits across the network, the protocol introduces zero synthetic credit or unbacked float.
4.1 Arbitrum Stylus & Robinhood Chain Rails
NORN is engineered for cross-chain capital optimization:
- Arbitrum Stylus: Compiles Rust smart contracts directly into WebAssembly (WASM). High-density fixed-point WAD arithmetic (`1e18`) and Merkle tree validation execute at native speeds with over 90% gas savings.
- Robinhood Chain (46630): Connects directly to institutional fintech liquidity and Stock Tokens, allowing agents to pledge tokenized equities (AAPL, NVDA) as collateral.
- Paxos USDG: Standardized regulated dollar stablecoin utilized as the primary settlement asset.
5.1 Smart Contract Directory
All production smart contracts are open-source and verified on Robinhood Chain testnet (Chain ID 46630):
SettlementController: 0x5555555555555555555555555555555555550005
ClearingHouse: 0x3333333333333333333333333333333333330003
LiquidityManager: 0x4444444444444444444444444444444444440004
ObligationRegistry: 0x2222222222222222222222222222222222220002
ParticipantRegistry: 0x1111111111111111111111111111111111110001
Paxos USDG (Primary): 0x8888888888888888888888888888888888880008
5.2 Technical FAQ
What happens if a debtor agent defaults during settlement?
Before an epoch clears, each participant's debit is verified against their pledged liquidity and approved credit line. If a shortfall occurs, the netting engine prunes deferred-priority obligations and executes emergency recovery netting, ensuring solvent counterparties settle without delay.
Can any ERC-20 token be netted?
NORN is asset-agnostic. Epoch batches group obligations by canonical asset address. Primary settlement runs on Paxos USDG, with secondary multi-currency support for USDC and Stock Tokens.