This article was translated from Japanese with AI. Read the original (日本語) · Report a translation issue

In a typical Lightning payment, the sender finds a payment route through the network to the recipient, calculates the fees and other costs along that route, and then sends the payment.

This means the sender has to keep constantly synced with the latest state of the Lightning Network (LN) so it has the information needed to compute routes, such as fee policies, timelocks and forwarding capacity.

For a mobile wallet, however, keeping the app running 24 hours a day to stay synced is extremely difficult.

If a mobile wallet does sync the LN graph, it has to request the changes since its last stored snapshot of the graph. The round trips needed to request those changes every time the app launches or reconnects add overhead in themselves and end up eating bandwidth.

Continuous syncing also takes up storage, and downloading the changes when the wallet starts can take a while, creating a UX problem where users can't get to the point of actually sending a Lightning payment.

This article explains trampoline routing (trampoline payments), one approach to solving the LN graph sync problem that mobile wallets face.

First, for comparison, let's review how a typical Lightning payment works.

Typical Lightning payments: source routing

The current approach, in which the sender determines every hop (the payment path) in advance based on information from the invoice and gossip, is called source routing.

As an example, consider a payment from A to B.

Simplified LN graph

When A and B are not directly connected by a channel, as in the diagram above, the payment goes through multiple hops. A, the sender, builds an LN graph from the information it synced beforehand and searches for candidate routes itself.

  1. \(A→N_1→N_2→B\)
  2. \(A→N_6→N_2→B\)
  3. \(A→N_6→N_7→N_2→B\)
  4. \(A→N_5→N_6→N_2→B\)
  5. \(A→N_5→N_6→N_7→N_2→B\)

For the channels shown with thick lines, A can see how the channel balance is split. For the channels shown with thin lines, the information propagated across the LN (gossip) only reveals their capacity. Channels with insufficient balance or capacity for the payment can therefore be ruled out right away.

Suppose that for this payment, \(A→N_5\) and \(N_6→N_7\) lack enough balance or capacity for the amount being sent.

The candidate payment routes are then narrowed down to the following three.

  1. \(A→N_1→N_2→B\)
  2. \(A→N_6→N_2→B\)
  3. \(A→N_1→N_3→N_2→B\)

When sending, the wallet calculates the fees along each route, weights the routes accordingly, and tries the cheapest one first. If the payment fails, it falls back to trial and error and tries another route.

If payments fail repeatedly on a particular route, heuristics (rules of thumb) lower that route's priority, which reduces payment failures overall.

That is how typical source routing works.

It is also possible to split a payment into multiple parts, which is called multipart payments (MPP). In that case, source routing is performed separately for each part, and the payment completes when all the parts come together at the destination.

💡
Because source routing (the pathfinding algorithm) requires no coordination or interoperability between implementations, it is not standardized in the BOLTs.
This is why the payment experience differs from one implementation to another: each uses its own strategies and algorithms.

What is trampoline routing?

Trampoline routing is a mechanism that lets nodes that don't sync the full LN graph, such as mobile wallets, delegate part of the route calculation to intermediate nodes (trampoline nodes). The key point is that the node does not hand over the entire route calculation to the trampoline nodes, but only part of it.

💡
Even though route calculation is outsourced, HTLCs guarantee that the payment is atomic, so a trampoline node cannot run off with the funds.

Routing through two or more trampoline nodes also makes it possible to send payments while preserving privacy. (The case of using only one trampoline node is discussed later.)

💡
I couldn't find a primary source for the origin of the name, but my guess is that it was called "trampoline" because the payment looks like it's bouncing its way to the destination.

The payment flow in trampoline routing

As an example, consider a payment from A to F, where A is a mobile wallet node.

Simplified LN graph

With trampoline routing, nodes A and F don't need to sync the entire graph, only their own local neighborhood, which saves a great deal of bandwidth. The pathfinding algorithm also runs on a very small graph, so it's much faster.

1. Creating the invoice

The first step is for the recipient, F, to create an invoice. The invoice needs to include several trampoline nodes near F, and these trampoline nodes will route the payment to F.

In this example, F includes a single trampoline node, D, in the invoice.

When the sender, A, scans F's invoice, it learns that trampoline node D must be included, so A chooses a trampoline node near itself, C, and includes it in the payment route.

  • \(A→C→D→F\)
A decides to route the payment through the blue nodes

2. Sending to a nearby trampoline node

The red line is the payment route

Because sender A has synced its local LN graph, it can find a route to trampoline node C. (It doesn't know the route to D, since it doesn't hold that part of the LN graph.)

Here, A sends the payment to trampoline node C via B.

  • \(A→B→C\)

B knows the hops immediately before and after it, but not where the payment came from or where it is going. And since this is ordinary routing from B's point of view, B doesn't know that trampoline routing is taking place.

💡
For those who want more detail: what sender A constructs is a regular onion for A→B→C. Inside its final payload (the part C receives), A embeds a small trampoline onion that guides the payment along C→D→F.

3. The trampoline node finds a route

The green line is the route along which trampoline node C sent the payment

On receiving the payment, C learns that, as a trampoline node, it must forward the payment to D, and it searches for a route. In this example, it sends the payment to D via N1, N2, N3 and N4.

  • \(C→N_1→N_2→N_3→N_4→D\)

Like B, N1, N2, N3 and N4 can see the hops immediately before and after them, but they cannot learn who the sender or recipient is, nor can they tell that it is a trampoline payment.

4. Another trampoline node relays the payment

The purple line is the route along which D, acting as a trampoline node, sent the payment

When D receives the payment from N4, it learns that, as a trampoline node, it needs to send it on to F.

💡
If the node D is sending to is a mobile wallet, which by nature doesn't route payments, D can tell that this node is the payment's final recipient.
In other words, with only one trampoline node in the path, that node could infer both the sender and the recipient at the same time, which is why using two or more trampoline nodes is recommended.

Here, trampoline node D finds a route and forwards the payment to F via E.

  • \(D→E→F\)

Because E can see the hops before and after it, it can tell that F is the final recipient if F is a mobile wallet. But the same is true of ordinary routing, so this is not a problem specific to trampolines. (What is specific to trampolines is that trampoline node D can also identify the final recipient.)

To solve the problem of the final recipient being identifiable, a mechanism called a "blinded path," used in BOLT12, can turn the last segment of the route into a black box and preserve anonymity.

Note, however, that trampoline routing does not necessarily send the payment along the shortest route. For example, a shorter route like the orange line below may exist.

Trampoline routing doesn't necessarily take the shortest route

Because trampoline routing can involve more hops, fees may be higher than for a regular payment. Also keep in mind that sender A can't know what fees the route searches performed by trampoline nodes C and D will produce, so it has to include a generous fee margin when sending.

💡
In trampoline routing, any surplus left over when the sender overestimates the fee goes to the trampoline nodes as their reward.

Implementation support for trampoline routing

Here is a brief summary of which implementations support trampoline routing as of August 2026.

Eclair (used in Phoenix) Electrum LND CLN LDK
Yes Yes No No In development

Trampoline routing is used by Eclair, an LN implementation, in the mobile wallet Phoenix, and by Electrum, a software wallet that has existed since 2011, as part of its Lightning support.

💡
Because trampoline routing is a feature ACINQ implemented for its own mobile wallet, Phoenix, it exists as PR #829 but has not been merged into the BOLT specification.
As a result, the major LN implementations LND and CLN still don't support it as of August 2026.

Eclair, the LN implementation developed independently by ACINQ, is covered in Kishin Kato's article, so be sure to check it out.

ライトニングノード実装としてEclairはどう差別化しているのか?
ライトニングノード実装と言われて多くの方が最初に連想するのはLightning Labs社が開発を主導するLnd、その次にBlockstream社主導のCLNかと思います。世の中のライトニングノードの98%以上がこの2つのいずれかのノード実装に該当するような勢いでシェアを寡占していますが、ライトニングノード実装自体は他にもあります。そのような「第3勢力」的なノード実装の中で一番古くからやっていて存在感を放っているのはACINQ社のEclairでしょう。 ライトニングネットワークの最初の数年間は一般ユーザーでもEclairを選んで利用する人もいましたが、今ではすっかりC向けでは存在感がなくなってしまったEclairについて、なぜ今も生き残っているのか、どういう差別化ポイントがあるのか見ていきます。 ・ACINQ社の、ACINQ社による、ACINQ社のための実装 ・大規模ノードとしてなら採用価値あり? ・もっと周辺ツールが公開されればシェアは増えそうだが、そうはならない理由 ACINQ社の、ACINQ社による、ACINQ社のための実装 まずEclairの一番の特徴はというと、

Bonus: proposed gossip extensions for the future

For those who are interested, here are some proposed extensions to the gossip protocol. They aren't required for trampoline routing to work, but they would be useful additions.

The problem to start with is that current gossip offers no way to request "only channel_updates within distance N," so even constrained nodes that only want to sync their neighborhood end up wasting bandwidth.

As far as I know, there are two proposed future BOLT7 extensions that address this.

The first is to introduce a filter that asks peers not to relay updates originating from nodes farther away than distance N.

The second is to implement distance-based gossip queries.

Since nodes are normally expected to sync all gossip, the demand for this is limited, but I found it an interesting proposal, so I'm noting it here.

Improving Routing in the Lightning Network with Trampoline Payments

Summary

Trampoline routing is a mechanism that delegates part of the route search to intermediate "trampoline nodes" so that mobile wallets can send payments without syncing the entire LN graph. It reduces bandwidth and storage load, but there are caveats: privacy is weaker if the payment passes through only one trampoline node, and the route may not be the shortest, which tends to push fees up.

Eclair (Phoenix) and Electrum currently support it, LND and CLN do not, and it has not yet been incorporated into the official BOLT specification.