# PeerSwap

PeerSwap is a self-hosted crypto currency app. PeerSwap enables Lightning Network nodes to balance their channels by facilitating atomic swaps with direct peers. It is open source and self-hosted, installable on Umbrel.

Canonical page: https://ourlocalhost.com/app/3545/peerswap

## Description

PeerSwap enables Lightning Network nodes to balance their channels by facilitating atomic swaps with direct peers. PeerSwap enhances decentralization of the Lightning Network by enabling all nodes to be their own swap provider. No centralized coordinator, no 3rd party rent collector, and lowest cost channel balancing means small nodes can better compete with large nodes. Includes channel AutoFees, Liquid Peg-in and BTC send with coin select + fee bump functionality.

## Platform availability

Available on 1 of 10 platforms: Umbrel.

## Health score

56/100 (Fair), based on 4 of 5 factors.
- Maintained: 97 (last commit 39 days ago)
- Popular: 42 (128 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 10 (3 serious findings, 8 minor, CI, tests)

## Security check

3 serious findings: Uses github.com/docker/docker v24.0.7+incompatible, which has a known critical vulnerability; Uses github.com/jackc/pgx/v5 v5.3.1, which has a known critical vulnerability; Uses github.com/jackc/pgx/v5 v5.3.1, which has a known critical vulnerability.
Automated checks on commit 62b80bf, 8 Nov 2026. Not an audit.

## Links

- Umbrel: https://apps.umbrel.com/app/peerswap
- Official website: https://status.blockstream.com
- GitHub: https://github.com/ElementsProject/peerswap

## Common questions

### Does PeerSwap have a fee model for swaps?

The upstream repository says there is no proven fee model yet, so swaps are only allowed with allowlisted peers.

### How do I enable swaps with a specific channel peer?

Your peer must also run PeerSwap and either whitelist you in its config or set accept_all_peers. You must whitelist them in your config, and you can check connected peers that support it with pcli listpeers.

### Can swaps avoid on-chain or channel-graph links?

A community thread notes that swaps can be sized to UTXOs without on-chain or channel-graph records linking the nodes.

### How does PeerSwap avoid routing problems?

A fork FAQ says it is more reliable because it avoids reliance on unknown channel balances, random network degradation, and slow routing attempts.

---
Source: Our Local Host (https://ourlocalhost.com/app/3545/peerswap), the self-hosted and open-source app directory.
