DETERMINISTIC STATE MACHINE
The Four-Step HTTP 402 Challenge-Receipt Flow
Every AI API call settles deterministically over standard HTTP headers without human login screens, recurring credit-card seats, or unbounded API keys.
Agent Requests Metered AI Inference or Tool Endpoint
The autonomous client sends a standard HTTP request advertising its ERC-8004 identity registry address (0x8004...0001) and preferred clearing interface.
GET /v1/inference HTTP/1.1
Host: api.agent-provider.example
X-Agent-Registry: 0x8004000000000000000000000000000000000001
X-Preferred-Asset: LUSDGateway Issues Deterministic HTTP 402 Challenge
The resource gateway responds with HTTP 402 Payment Required, pinning ChainID 88888, the exact per-call amount, the ERC-8004 Validation recipient (0x8004...0003), and an assigned 2D-Nonce lane (0..31).
HTTP/1.1 402 Payment Required
WWW-Authenticate: x402 chainId=88888 asset=LUSD
X-Payment-Amount: 0.0025
X-Payment-Recipient: 0x8004000000000000000000000000000000000003
X-Payment-NonceLane: 14Bounded EIP-712 Receipt Signed via SessionKeyManager
After passing the non-LLM Pre-Sign Firewall via wallet_x402_mcp_challenge, the local gateway signs an ERC-7715 bounded EIP-712 receipt routed to SessionKeyManager (0x8402...0001) on lane 14 via NONCE_MANAGER_2D (0x4e4f...0000).
POST /v1/inference HTTP/1.1
X-Payment-Receipt: eip712:88888:lane14:0x8402...0001
X-ERC8004-Split: 20-skillAuthor/80-agentPayee250ms Finality & TIP-403 Verified HTTP 200 Delivery
The gateway confirms 250ms single-slot finality and kernel TIP-403 (0x403c...0000) authorization status (X-TIP403-Policy-Status: AUTHORIZED) before streaming the inference payload—or clearing cross-chain in ~936ms via ERC-7683.
HTTP/1.1 200 OK
X-Finality-SlotMs: 250
X-TIP403-Policy-Status: AUTHORIZED
X-Omnichain-Fill-TargetMs: 936PAYMENT ARCHITECTURE COMPARISON
Legacy SaaS Subscriptions & Card Rails vs. MYRILUM x402
| Dimension | Legacy SaaS Subscriptions & Card Rails | MYRILUM x402 Protocol (88888) |
|---|---|---|
| Billing Granularity | Fixed monthly seats + $0.30 minimum card fee floor | Sub-cent per-inference / per-tool metering native to HTTP 402 |
| Settlement Latency | T+2 to T+7 clearing with 120-day chargeback reversal risk | 250ms deterministic finality on-chain (~936ms omnichain fill); zero chargebacks |
| Agent Autonomy | Requires human KYC credit-card onboarding per vendor | Programmatic ERC-8004 identity + ERC-7715 bounded sessions |
| Multi-Party Revenue Split | Manual end-of-month reconciliation & 15-30% platform fees | Atomic 20% skillAuthor / 80% agentPayee split on 0x8004...0003 (0% MYRILUM rake) |
| Regulatory Auditability | Opaque off-chain ledger fragments with high PII exposure | Kernel TIP-403 screening + 24h Zero-PII Travel Rule hash envelopes |
HK CAP. 656 BENCHMARK DISCLOSURE
LUSD & LHKD Clearing Benchmark Interfaces (Non-Circulating)
Under Hong Kong Cap. 656 ss. 8 & 9, MYRILUM LIMITED operates strictly as a non-issuer software R&D author. LUSD and LHKD on ChainID 88888 are non-circulating synthetic benchmark states with zero public deposits or retail liabilities.
LUSD Synthetic Clearing Interface
Rust enshrined TIP-20 interface anchored to synthetic benchmark Merkle root 0x5c3f82332fbffc0be49434232a9a97e2bf2c797423aa3fde4afd19b2c264f410 (100.50% test-vector coverage, r_holder === 0, S_token === 0, NOT_PUBLIC_RETAIL_ISSUED).
LHKD Synthetic Clearing Interface
Rust enshrined TIP-20 + TIP-403 interface anchored to synthetic benchmark Merkle root 0xa3e5fd1ee51db26128c49f848bc4eb6d71443fbfee51a40b9159832a21beae6e (101.20% test-vector coverage, zero real bank deposits) awaiting licensed issuer integration.
Linked-Rate Invariant & Merkle PoR Telemetry
The Compliance Reserve Audit Vault (0x8800...0001) enforces the [7.7500, 7.8500] HKD/USD corridor check and binary Merkle PoR proofs inspectable publicly via /status and the read-only MCP tool linghe_verify_cap656_por.
x402 PROTOCOL FAQ
Technical Questions on x402 Machine Settlement
Each HTTP 402 response assigns one of 32 independent 2D-Nonce lanes via X-Payment-NonceLane (0..31) handled by NONCE_MANAGER_2D (0x4e4f...0000), allowing a single agent session to settle 20 concurrent tool receipts in 1004ms.
Yes. Through ERC-7683 cross-chain intent escrows and the MCP tool wallet_omnichain_x402_invoke, solvers bridge and fulfill x402 settlement intents across 6 EVM ecosystems and Solana in ~936ms on benchmark testbeds.
No. ERC-8004 Validation (0x8004...0003) enforces a 20% skillAuthor / 80% agentPayee bilateral split with strictly 0% MYRILUM rake, consistent with MYRILUM LIMITED's IFRS 15 software-only commercial model.
No. Both are non-circulating synthetic test-vector clearing benchmarks (NOT_PUBLIC_RETAIL_ISSUED, r_holder === 0, S_token === 0) built so licensed Hong Kong Cap. 656 institutions can audit and integrate deterministic clearing rails.