Atomic Multipath Payments (AMP)

A Lightning technique where several shards of a payment travel different routes and only complete together.

Basically

AMP is a Lightning Network protocol that lets you split a large payment across several paths. The recipient can claim the money only when every part arrives, so no partial payment is possible.

Key Takeaways

  • AMP uses additive secret sharing for atomicity. The payment preimage is split into shares distributed across payment paths, and the recipient can reconstruct the preimage and claim any funds only when all shares arrive.
  • AMP enables spontaneous multipath payments. Unlike invoice-based approaches, senders can initiate split payments without requiring the recipient to generate a payment request first.
  • AMP provides an all-or-nothing guarantee. Either every payment part succeeds and the recipient claims the full amount, or the payment fails entirely, protecting both sender and receiver from partial payments.

What Are Atomic Multipath Payments?

Atomic Multipath Payments (AMP) solve one of the Lightning Network's core scaling challenges: sending payments larger than any single channel can handle. You can send 100,000 sats even when your largest channel has only 60,000 sats of outbound capacity by splitting the payment across multiple channels and routes.

Atomicity is the key guarantee in AMP. Either all payment parts complete successfully, or none do, so the recipient cannot claim partial payment. AMP achieves this through additive secret sharing, a cryptographic technique that splits the secret needed to claim funds into pieces that must all be combined.

Conner Fromknecht and Olaoluwa Osuntokun (roasbeef) of Lightning Labs proposed AMP in 2018. AMP represents the original approach to multipath payments, designed before the simpler Base AMP, now called MPP, was standardised. MPP has become more widely deployed because of its simplicity, while AMP offers unique properties that make it valuable for specific use cases.

How AMP Works

AMP uses additive secret sharing to create atomicity without requiring coordination between payment paths. The process splits the secret needed to claim the funds across the payment parts.

The cryptographic construction ensures that knowing n-1 shares reveals nothing about the nth share. The recipient must wait for all parts before they can claim anything.

AMP vs MPP (Base AMP)

The Lightning Network has two multipath payment protocols with confusingly similar names. Their differences affect how invoices, payment hashes and atomicity work.

MPP (Multi-Path Payments / Base AMP)

MPP, standardised in BOLT specifications, uses the same payment hash for all parts of a split payment. The recipient generates an invoice with a single payment hash, and the sender can split payment across multiple paths using that same hash. Atomicity comes from the recipient waiting until sufficient payment parts arrive before releasing the preimage.

AMP (Original/OG AMP)

AMP uses different payment hashes for each path, with atomicity enforced cryptographically through secret sharing. The sender can initiate payment without an invoice because they generate all the cryptographic material.

When to Use Each

MPP is the standard choice for invoice-based payments and has broader wallet support. AMP is useful when you need spontaneous payments without asking for an invoice first, or want the privacy benefits of unlinkable payment parts.

Additive Secret Sharing

AMP uses a form of additive secret sharing. The sender generates a root preimage BP, or base preimage, and derives child preimages for each payment part through a deterministic process.

The XOR operation ensures that knowing any subset of child preimages reveals nothing about the base preimage. The recipient can reconstruct BP only with all pieces.

Hash Derivation

Each payment part uses its own payment hash, derived from that part's child preimage. Every part therefore has a distinct hash.

The construction makes each HTLC in the multipath payment cryptographically independent. Network observers cannot link the payment parts together by examining payment hashes.

Onion Payload Structure

AMP extends the standard HTLC onion payload with additional fields in the TLV (Type-Length-Value) section. These fields carry the extra data required by AMP.

Spontaneous Payments

AMP enables keysend-style spontaneous payments with multipath splitting. You can send to any node without requesting an invoice first and still split the payment across multiple channels. These features are useful for tips, donations and programmatic payments.

Enhanced Privacy

AMP gives each payment part a different hash, so observers cannot trivially link the parts together. MPP uses the same hash for all parts, making correlation straightforward for routing nodes. AMP's unlinkable parts provide stronger payment privacy.

Larger Payment Capacity

AMP aggregates liquidity across multiple channels and routes, allowing payments that would be impossible through any single path. A user with ten 100,000 sat channels can send a 500,000 sat payment by using five of them simultaneously.

Cryptographic Atomicity

AMP guarantees atomicity mathematically, unlike MPP, where atomicity depends on recipient behaviour. The recipient literally cannot claim partial payment because they need all shares to derive any preimage.

High-Value Transfers

Businesses and exchanges moving significant value benefit from AMP's ability to route around single-channel capacity limits. The payment finds multiple paths instead of failing when one channel lacks liquidity.

Streaming Payments

Applications such as podcast streaming sats can use AMP to send accumulated micropayments in batches. They can split these payments across available channels for reliability.

Privacy-Sensitive Applications

AMP's unlinkable payment parts provide better protection against network analysis than MPP's shared hash approach. Applications can use these parts when payment privacy matters.

Automated Systems

Systems that need to send payments without user interaction benefit from AMP's spontaneous payment capability. Automation is simpler because no invoice exchange is required.

Implementation Complexity

AMP requires more sophisticated cryptographic handling than MPP. Wallet developers must implement secret sharing, coordinate multiple HTLCs and handle the additional onion payload fields. This complexity has slowed adoption.

Limited Wallet Support

As of 2026, AMP support is primarily found in LND. Other implementations like Core Lightning and Eclair have focused on MPP. AMP payments may fail if the recipient's node does not support the protocol.

No Proof of Payment by Default

Standard AMP spontaneous payments do not provide the same proof of payment that invoice-based payments offer. The sender knows they sent funds but lacks a signed invoice proving the recipient requested a specific amount.

Stuck Payments

Successful payment parts remain pending until timeout if some parts reach the recipient but others fail. The recipient cannot claim partial payment, but the sender's funds are locked until HTLCs expire. Proper timeout handling is essential.

0

← All 1876 glossary terms