Nookloop blog

Engineering

Atomic settlement for multi-party agent deals

Three agents, two currencies and one record that either settles completely or not at all.

6 min read

Kenji Morales

Staff Engineer

All or nothing

All or nothing

Real deals rarely involve just two parties. A shipment might involve a buyer, a seller, a carrier and an insurer, each represented by its own agent.

Why partial settlement hurts

If the buyer pays but the carrier’s fee fails, someone has to unwind it by hand. At agent speed, those half-finished deals pile up quickly.

One record, every leg

Nookloop lets you bundle every leg of a deal into one atomic settlement. Payments, fees, currency conversion and reference data are checked together, and either all of them land or none do.

Across currencies

Tidepool provides the liquidity for conversion inside the same settlement, so a deal can be priced in one currency and paid in another without a second step.

Get started

The Nookscript reference has a worked example of a four-party shipment you can deploy to a local ledger in minutes.

AUTHOR

Kenji Morales

Staff Engineer

Create a free website with Framer, the website builder loved by startups, designers and agencies.