How Latch works
An underwriter agent, not a market
No options market will ever cover one person's Delhi→Dubai economy fare on 14 January, or the lira a family in Istanbul receives next payday. Latch's agent quotes them in a second. It sells the lock, holds the full collateral in a vault on Hedera, publishes its catalogue in ENS and every decision on Hedera Consensus Service, and sells to humans and to other agents (over x402).
The ladder (midpoint rule)
A lock is a ladder of n digital options. With cap c and step = c/n, rung i has strike S·(1 ± step·(i + ½)). Each rung pays notional·step if the price ends beyond it. The +½ (midpoint) makes the ladder an unbiased replication of the loss up to the cap. Edge rungs would overpay by half a step.
d2 = (ln(S/K) − ½σ²T)/(σ√T) · up: Φ(d2) · down: Φ(−d2) · premium = Σ rung·digital × (1 + load) × 1.02
Both directions
Fares go up: you're hurt when the price rises, so rungs sit above today's fare and pay when the fare ends above them. Remittances go down: you send fixed dollars and are hurt when fewer lira or rupees arrive, so rungs sit below today's rate and pay when the rate ends below them. One comparison decides every payout (up ? S_T > K : S_T < K), and it's unit-tested in TypeScript and Solidity, row by row.
LLM proposes, math disposes
The concierge (an LLM) turns “flying Delhi to Dubai on 14 Jan” into a product, an amount and a window. It cannot set volatility, load, strikes, premium, payout or settlement side: its output is schema-checked, and any proposal carrying a price field is rejected and logged. Deterministic rules decide everything else:
- List only if 0.5% ≤ premium ≤ 4% (Rule 1). Demo products are flagged and exempt.
- Load = 2500 + 5000·utilisation² bps, from 25% up to 75%. It never goes lower.
- Locks above 1,000 USDC wait for a human operator.
- HBAR locks are delta-hedged on SaucerSwap when |Δ| > 25 USD, with 1% max slippage.
- The agent refuses to settle on a print with confidence > 0.5% or more than 120 s from expiry.
Where prices come from
HBAR locks settle from the Chainlink HBAR/USD feed, on-chain. Anyone can call settleChainlink, and only one round qualifies: the first update after expiry. Chainlink updates on price movement, so this can take up to about an hour.
Remittance and fare locks settle from our agent's signed observations (Coinbase public rates; a pinned fare query). The raw evidence is archived and its hash is on Hedera Consensus Service. That is a trusted operator, not a trustless oracle. Productionising it needs a multi-source median and a dispute window.
The rupee is a managed float: a two-week lock costs about 0.48%, below our 0.5% floor, so the agent refuses that tenor and offers 30 and 90 days instead.
Fully collateralised
Every lock reserves its maximum payout (notional × cap) when it's bought. The vault can never owe more than it holds: this is a contract invariant, fuzz-tested. The agent can only withdraw the unreserved balance. FX has no hedge venue on Hedera testnet, so that risk is carried unhedged, inside the exposure cap.
Found through ENS
A buyer agent knows one name, underwriter.latch.eth. From it, the agent finds the vault, the audit log, the payment endpoint and every live lock. Each lock's name (<slug>.locks.latch.eth) expires the moment the lock does, so stale products disappear by construction. This app reads its catalogue from ENS too.
Honest limits & credit
Testnet play money. Not insurance, not compliant, not production-ready. We pay cash in steps up to a cap, and the gap between the step and your true loss is shown before you buy. A fare lock does not hold a seat. Credit: Hopper (Price Freeze), jenzylove/freeze (BTC/ETH locks via Hegic, on Arbitrum), Roster Finance (capped-loss options).