AMP (Atomic Multi-Path Payment)
A Lightning payment that splits across several routes without needing the recipient's invoice first, using shared secrets.
Basically
AMP lets you split a payment into multiple parts and send them along different routes without needing an invoice from the recipient. It uses a shared secret that the recipient reconstructs only when all parts arrive, ensuring the payment settles all at once.
Key Takeaways
- AMP splits a payment into multiple shards, each with a unique hash, so intermediaries can't link them together.
- The recipient must collect all shards to reconstruct the root seed, enforcing atomic settlement without trusting the sender.
- AMP works only between LND nodes because the specification hasn't been merged into the official BOLT standard.
What Is AMP?
AMP (Atomic Multi-Path Payment) lets a sender split a payment into multiple parts routed across different channels. Each part carries a unique payment hash derived from a shared secret.
It was proposed in February 2018 by Conner Fromknecht and Olaoluwa Osuntokun of Lightning Labs. The formal specification remains unmerged into BOLT as of 2026.
LND has supported AMP since v0.13.0-beta in 2021. It requires no prior communication with the recipient.
How It Works
AMP uses additive secret sharing (XOR-based) combined with hash derivation. The recipient can only settle once all shards arrive.
Root Seed Generation
The sender generates a 32-byte root seed S uniformly at random. The sender never transmits S directly.
Additive Secret Sharing
The sender splits S into n shares using XOR, where n is the number of payment shards. Each share is 32 bytes. No individual share reveals any information about S.
Child Preimage Derivation
For each shard i, the sender derives a unique child preimage. The corresponding payment hash for each shard is unique. Intermediary routing nodes cannot correlate shards as belonging to the same payment.
Onion Payload Delivery
Each shard is routed using standard onion routing. The final-hop onion payload includes an amp_record TLV with three fields. Intermediary nodes see only standard HTLCs with unique hashes.
Recipient Reconstruction and Settlement
As shards arrive, the recipient accumulates shares. Once all n shards with the same set_id have been received, the recipient reconstructs the root seed. If any shard is missing, the recipient cannot reconstruct S.
AMP vs Base MPP
Both AMP and base MPP split payments across multiple routes. Base MPP relies on the recipient waiting until all shards arrive. AMP eliminates trust assumptions entirely.
AMP vs Keysend
Both AMP and keysend enable spontaneous payments without an invoice. Keysend is simpler and more widely supported. AMP is more powerful but primarily an LND feature.
LND
LND implements both sending and receiving AMP payments. To accept spontaneous AMP payments, the node must be configured with accept-amp=true. AMP invoices are reusable: the same invoice can be paid multiple times.
Retry and Share Splitting
When a shard fails mid-route, the sender can split the failed share into two new sub-shares using XOR. This recursive splitting allows adaptive re-routing without invalidating the root seed.
Spontaneous Multi-Path Payments
The most direct use case: sending a large payment to a node without first requesting an invoice. A wallet can push funds across multiple channels to any AMP-enabled node.
Reusable Payment Codes
AMP invoices can be paid multiple times because each payment uses fresh cryptographic material. A merchant can publish a single AMP invoice and receive unlimited payments.
Streaming and Recurring Payments
Applications that stream sats can use AMP to send periodic payments without round-trip invoice generation. The sender pushes funds on a schedule.
Privacy-Sensitive Transfers
Because each shard carries a unique payment hash, intermediary nodes cannot determine that two shards belong to the same payment. This decorrelation improves sender privacy.
Why It Matters
Multi-path payments are essential for Lightning Network scalability. As the network grows, no single channel reliably has enough capacity. Splitting payments across multiple routes increases success rates.
AMP advances this by removing the invoice requirement and adding cryptographic atomicity. It represents a step toward a more flexible Lightning payment layer.
No Proof of Payment
The most significant tradeoff. In a standard Lightning payment, the sender learns the recipient's preimage only after the payment succeeds. With AMP, the sender generates all preimages, so possessing them proves nothing.
Limited Cross-Implementation Support
AMP remains primarily an LND feature. The BOLT #21 specification has been open since 2019 without being merged. Core Lightning, Eclair, and LDK primarily support keysend for spontaneous payments and base MPP for multi-path.
Liquidity Lock During Assembly
While the recipient waits for all shards to arrive, each received shard locks inbound liquidity along its entire route. The specification recommends a 60-second timeout for shard assembly.
Complexity
AMP's cryptographic machinery adds implementation complexity compared to keysend or base MPP. This complexity has likely contributed to its slower adoption across Lightning implementations.