Payment Network Design with Fees

Georgia Avarikioti, Gerrit Janssen, Yuyi Wang, Roger Wattenhofer

Abstract

Blockchain scalability remains a significant hurdle for the mass adoption of cryptocurrencies like Bitcoin and Ethereum. While "Layer 2" solutions such as the Lightning Network mitigate this by moving transactions off-chain, the strategic design of these networks from a provider's perspective is often overlooked. This paper investigates the Channels Network Design with Fees (CNDF) problem, where a Payment Service Provider (PSP) seeks to maximize profit by optimizing network topology and fee structures. We analyze the complexity of this problem across various topologies, proving that while optimal fees for trees and paths can be found efficiently, a simple star network (payment hub) provides a near-optimal solution for the general case.

Introduction

As blockchain networks face congestion, transaction fees rise and confirmation times slow down. Off-chain payment networks allow users to conduct numerous transactions through private channels, only settling the final balance on the main blockchain. This ecosystem has given rise to Payment Service Providers (PSPs)—entities that provide the liquidity and infrastructure for these channels in exchange for routing fees.

Most existing literature focuses on user-centric routing—how a sender finds the cheapest path through an existing network. This research shifts the focus to the PSP's design challenge: given a predicted set of transactions, how should the PSP structure its network and set its fees to maximize net profit?

The PSP Optimization Problem

The authors define the Channels Network Design with Fees (CNDF) problem based on three primary constraints:

  1. Blockchain Competition: The PSP competes directly with the underlying blockchain. If the total fee to route a payment through the PSP's network exceeds the cost of a standard on-chain transaction (normalized to 1), the customer will bypass the PSP.
  2. Operational Costs: Opening a channel requires an on-chain transaction, incurring a cost for the PSP.
  3. Profit Maximization: The PSP must balance the revenue from fees against the capital costs of establishing the network topology.

Algorithmic Analysis of Network Topologies

The study explores the computational complexity of finding optimal fee assignments across different graph structures.

Tree Networks

When a PSP chooses a tree structure to facilitate all potential transactions, the problem of finding the most profitable fee assignment is shown to be solvable in polynomial time. The authors demonstrate that this can be modeled as a Linear Program (LP), making tree optimization computationally efficient for large-scale networks.

Path (Chain) Networks

For linear path networks, the authors identify a unique property: the optimal fee for any given edge is binary—either 0 or 1. There is no mathematical advantage to charging fractional fees (e.g., 0.5) in this configuration. Leveraging this insight, the authors developed a Dynamic Programming (DP) algorithm with a time complexity of $O(n^5)$ to determine the exact optimal fee assignment for any path.

Star Networks and the Case for Centralization

A "star" network consists of a single central hub connected to all participants. This structure is particularly relevant given the observed trend toward centralization in real-world payment networks. The authors provide a mathematical proof comparing the profit of a star network ($S$) to any other optimal connected network ($G_{opt}$):

$$p(S, T, f_{E_S}) \ge opt(G_{opt}, T, f_{E_{opt}}) - 1$$

This theorem indicates that a star network's profit is at most one unit (the cost of a single blockchain transaction) less than the absolute best possible network design.

Key Insights

  • The Efficiency of Hubs: The research provides a rigorous mathematical justification for the prevalence of payment hubs. Because a star network is near-optimal and significantly simpler to manage than complex bespoke graphs, it is the rational choice for a profit-maximizing PSP.
  • Fee Simplification: The discovery that binary fees (0 or 1) are optimal in path networks simplifies the strategic landscape for providers, suggesting that complex pricing models may not be necessary for certain topologies.

Limitations and Future Research

While this model provides a foundational framework for PSP strategy, it operates under several simplifying assumptions:

  • Infinite Capital: The model assumes the PSP has unlimited liquidity to fund channels, ignoring the real-world constraints of channel capacity.
  • Static Transaction Matrix: The analysis assumes a fixed set of transactions and does not account for the dynamic rebalancing of channel balances over time.
  • Monopolistic Environment: The study focuses on a single PSP competing against the blockchain, rather than a competitive market with multiple PSPs.

Future work should incorporate capital constraints and multi-provider competition to better reflect the evolving dynamics of decentralized finance.

Summary updated

BibTeX
@inproceedings{avarikioti2018payment,
  author = {Georgia Avarikioti and Gerrit Janssen and Yuyi Wang and Roger Wattenhofer},
  title = {{Payment Network Design with Fees}},
  booktitle = {DPM/CBT@ESORICS},
  year = {2018},
  url = {https://openreview.net/forum?id=5a0-mXZE_pF},
}
Figure