Glossary

Virtual Channel

A payment channel constructed on top of existing channels, enabling end-to-end channel relationships without on-chain transactions.

Key Takeaways

  • A virtual channel creates a logical payment channel between two parties who do not share a direct on-chain funding transaction, using one or more intermediaries that already have channels with both endpoints.
  • After setup, intermediaries drop out of the picture: the two endpoints transact directly without intermediary involvement, reducing fees, latency, and reliance on intermediary uptime compared to standard multi-hop payments.
  • Virtual channels remain an active area of academic research, with constructions like Perun (Ethereum) and Donner (Bitcoin-compatible) exploring how to bring this scaling technique to production state channel and Lightning networks.

What Is a Virtual Channel?

A virtual channel is a payment channel that exists entirely off-chain, built on top of one or more existing channels rather than funded by a new on-chain transaction. It allows two parties who have no direct channel between them to transact as if they do, without touching the blockchain at all in the optimistic case.

In a typical payment channel network like the Lightning Network, sending a payment between two nodes that lack a direct channel requires routing through intermediaries. Each intermediary must be online, must forward the payment, and typically charges a routing fee. Virtual channels eliminate this per-payment intermediary burden by having the intermediary participate only once during channel setup. After that, the endpoints transact directly.

The concept was first formalized in the 2017 Perun paper by Dziembowski, Faust, and Hostáková, who introduced the term "channel virtualization." Their original construction required Turing-complete smart contracts and was prototyped on Ethereum. Later research extended the concept to Bitcoin-compatible designs that require only digital signatures and timelocks.

How It Works

Understanding virtual channels requires first understanding how standard payment channel networks route payments. In a network like Lightning:

  1. Alice wants to pay Carol, but they share no direct channel
  2. Alice has a channel with Bob, and Bob has a channel with Carol
  3. Alice routes the payment through Bob using an HTLC
  4. Bob forwards the HTLC to Carol, who reveals the preimage to claim funds
  5. The preimage propagates back, settling each hop

Every payment requires Bob to be online and to actively forward HTLCs. Bob charges a fee for this service, and the payment fails if Bob goes offline.

A virtual channel changes this dynamic. Instead of routing every payment through Bob, Alice and Carol create a virtual channel with Bob's help:

  1. Alice, Bob, and Carol execute a setup protocol where Bob locks collateral in his channels with Alice and Carol
  2. This creates a new logical channel directly between Alice and Carol, backed by Bob's locked funds
  3. Alice and Carol can now exchange as many payments as they want, updating their virtual channel state bilaterally
  4. Bob is not involved in any of these payments and does not need to be online
  5. When Alice and Carol are done, they close the virtual channel cooperatively, and Bob's collateral is released

Settlement Guarantees

The security of a virtual channel depends on the intermediary's locked funds providing settlement guarantees. If a dispute arises between Alice and Carol, either party can force the virtual channel's latest state on-chain by triggering a dispute in the underlying channels with Bob. The intermediary's collateral ensures that the virtual channel's balances can always be enforced, even without the intermediary's cooperation.

This is conceptually similar to how a generalized channel supports arbitrary state transitions off-chain. The key difference is that virtual channels span multiple underlying channels, creating a higher-layer abstraction on top of the existing channel network.

Protocol Overview

At a high level, a virtual channel protocol involves three phases:

Phase 1: Setup
  - Alice and Bob update their channel to lock funds for the VC
  - Bob and Carol update their channel to lock funds for the VC
  - A new virtual channel state is initialized between Alice and Carol

Phase 2: Usage
  - Alice and Carol exchange signed state updates directly
  - No intermediary involvement per payment
  - Standard channel update semantics apply

Phase 3: Teardown
  - Cooperative: Alice, Bob, and Carol agree on final balances
    and unlock the underlying channels
  - Dispute: either endpoint publishes the latest VC state
    on-chain, triggering settlement through the underlying channels

Virtual Channels vs. Multi-Hop Payments

The most common alternative to virtual channels is simply routing payments through intermediaries on every transaction, as Lightning does today with multi-hop payments. Each approach has distinct tradeoffs:

PropertyMulti-Hop PaymentVirtual Channel
Setup costNone per paymentOne-time setup protocol
Per-payment feesFee at each hopNo intermediary fees
Intermediary onlineRequired for every paymentOnly during setup and teardown
Latency per paymentGrows with path lengthConstant (direct exchange)
PrivacyIntermediaries see payment flowIntermediaries uninvolved after setup
Liquidity lockLocked only during paymentLocked for entire VC lifetime
Best forOne-off or infrequent paymentsFrequent payments between same parties

For a single payment, multi-hop routing is more efficient because there is no setup overhead. Virtual channels become advantageous when two parties expect to exchange many payments over time. Research suggests the break-even point depends on the path length and fee structure: for n sequential payments over a path with intermediaries, a virtual channel requires fewer total bytes exchanged once n exceeds a relatively small threshold.

Research Constructions

Perun (2017)

The original virtual channel construction, Perun, was published at IEEE S&P 2019 (ePrint 2017). It introduced "channel virtualization" as a technique for building virtual payment channels on top of "multistate channels," a generalization of state channels. Perun requires Turing-complete smart contracts and was prototyped on Ethereum. The project later became a Hyperledger Labs project, with implementations contributed by TU Darmstadt and Robert Bosch.

Bitcoin-Compatible Virtual Channels

Extending virtual channels to Bitcoin's more constrained scripting language proved challenging. Early designs required only digital signatures and timelocks, making them compatible with Bitcoin's UTXO model. However, these designs had limitations: they supported only a single intermediary, and dispute resolution required on-chain transactions linear in the path length.

Donner (NDSS 2023)

The Donner protocol addressed critical vulnerabilities in earlier Bitcoin-compatible virtual channel designs. The authors (Aumayr, Moreno-Sanchez, Kate, and Maffei) first demonstrated the "Domino attack," where an adversary exploits virtual channel disputes to cascade failures across the payment channel network. Donner fixes this by reducing on-chain dispute transactions from linear in the path length to a single transaction, and by reducing per-user storage overhead from logarithmic to constant. The authors describe Donner as Bitcoin-compatible and integrable into the Lightning Network.

Use Cases

Frequent Trading Partners

Two merchants or services that regularly exchange payments benefit most from virtual channels. Rather than paying routing fees on every transaction, they set up a virtual channel once and transact for free afterward. This mirrors how businesses in traditional finance negotiate direct settlement relationships to avoid per-transaction intermediary costs.

Improved Availability

In standard multi-hop payments, a single offline routing node can block the entire payment path. Virtual channels remove this dependency: once set up, the intermediary can go offline without affecting the endpoints' ability to transact. This is particularly valuable for mobile or intermittently connected nodes.

Privacy Enhancement

Multi-hop payments expose transaction details to every intermediary along the route. While onion routing conceals the full path from any single hop, intermediaries still learn that a payment passed through them, its amount, and its timing. Virtual channels eliminate intermediary visibility entirely after setup, providing stronger privacy guarantees for the payment relationship.

Layer 2 Scaling

Virtual channels complement other Layer 2 scaling techniques by reducing the on-chain footprint of payment networks. Combined with constructions like channel factories, virtual channels could enable large-scale payment networks where most activity never touches the blockchain. Research into optimizing virtual channel placement within network topologies continues to explore how to maximize these scalability benefits.

Risks and Considerations

Intermediary Liquidity Lock

The intermediary must lock collateral in both underlying channels for the entire lifetime of the virtual channel. Unlike multi-hop payments, where liquidity is locked only for the duration of a single payment (typically seconds), virtual channels can lock intermediary funds for hours, days, or longer. This creates an opportunity cost and limits the intermediary's ability to route other payments through those channels.

Domino Attack

The NDSS 2023 paper demonstrated that earlier Bitcoin-compatible virtual channel designs were vulnerable to the Domino attack. An adversary could trigger a dispute in one virtual channel, causing cascading on-chain transactions that disrupt the broader payment channel network. While the Donner protocol mitigates this specific attack, it illustrates the broader risk that virtual channel designs can introduce systemic vulnerabilities into channel networks.

Setup Complexity

Virtual channel protocols require multi-party coordination during setup and teardown. All parties (endpoints and intermediaries) must be online and exchange multiple rounds of signed messages. This adds latency and complexity compared to simply routing a payment. For one-off transactions, the setup cost outweighs the benefits.

Research Maturity

As of 2026, virtual channels remain primarily a research construction. While protocols like Donner demonstrate Bitcoin compatibility, no major payment channel network has deployed virtual channels in production. The gap between formal security proofs and production readiness includes challenges around optimal VC placement, fee models for intermediary compensation, and integration with existing routing protocols. A 2025 paper in Computer Communications notes that clear guidelines on how and where to set up virtual channels are still missing.

Comparison with Spark

While virtual channels address some limitations of traditional payment channel networks, Spark takes a fundamentally different approach to Bitcoin scaling. Instead of building channels on top of channels, Spark uses virtual UTXOs (vUTXOs) and statechains to provide off-chain payments without requiring channel management at all. This eliminates the channel liquidity constraints and routing complexity that virtual channels aim to solve, while preserving self-custody guarantees.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.