No description
Find a file
dependabot[bot] 1ea558831e
build(deps): bump github.com/docker/cli
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.0.1+incompatible to 29.2.0+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.0.1...v29.2.0)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.2.0+incompatible
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 03:21:04 +00:00
.github .github: update GO_VERSION 2025-03-05 12:37:50 +02:00
account multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
auctioneer multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
auctioneerrpc mod: bump dependencies 2025-03-13 11:55:57 -05:00
chaninfo multi: add simple taproot channel type to order 2023-10-25 10:04:23 +02:00
clientdb multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
cmd cmd/pool+tools: update Go version of linter, fix issues 2024-05-31 10:39:24 +02:00
codec codec: simplify switch cases 2023-05-16 17:30:59 -05:00
docs docs: update min go version 2025-03-05 12:41:32 +02:00
event multi: prepare for upcoming lnd v0.14.0-beta release 2021-10-20 19:25:54 -07:00
funding funding: fix stream handling issues in consumePendingOpenChannels 2025-07-01 17:59:02 -07:00
gen docker: update dockerfile go versions 2025-03-05 12:37:49 +02:00
internal/test mod: bump lnd to final version 2025-05-26 10:50:43 +02:00
make build: remove Pool release targets no longer built for lnd 2023-03-07 21:18:14 +00:00
order multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
poolrpc perms: move perms.go into poolrpc 2025-05-08 00:36:26 +01:00
poolscript multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
scripts scripts: use git describe --tags 2022-11-08 13:36:50 -08:00
sidecar tools: bump go version and linter version 2025-03-05 12:37:49 +02:00
terms multi: bump btcec/v2 and btcutil to new versions 2022-03-28 15:22:41 +02:00
tools build(deps): bump github.com/go-viper/mapstructure/v2 in /tools 2025-08-21 15:31:04 +00:00
.editorconfig add .editorconfig as copied from lnd 2022-11-02 14:25:37 +00:00
.gitignore multi: rename project from llm to pool 2020-09-09 19:55:10 -07:00
.golangci.yml .github: update GO_VERSION 2025-03-05 12:37:50 +02:00
auto_sidecar.go multi: update to lnd v0.17.0-beta 2023-10-03 19:38:20 +02:00
backoff.go multi: fix linter issues 2023-02-23 11:26:42 +01:00
book.json docs: re-organize docs into new Gitbook compatible structure 2020-10-13 17:02:46 -07:00
channel_acceptor.go multi: add simple taproot channel type to order 2023-10-25 10:04:23 +02:00
config.go multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
Dockerfile docker: update dockerfile go versions 2025-03-05 12:37:49 +02:00
gen.go rpcserver: add Marshaler interface 2021-12-14 20:40:02 -08:00
go.mod build(deps): bump github.com/docker/cli 2026-03-05 03:21:04 +00:00
go.sum build(deps): bump github.com/docker/cli 2026-03-05 03:21:04 +00:00
interfaces.go rpcserver: add Marshaler interface 2021-12-14 20:40:02 -08:00
LICENSE pool: add MIT license 2021-02-02 10:09:45 +01:00
log.go multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
macaroons.go multi: move RequiredPermissions to dedicated dir 2022-06-14 15:07:39 +02:00
Makefile makefile: add tags to install cmd 2025-03-05 12:31:27 +02:00
marshaler.go multi: calculate locked value based on account version 2022-09-12 17:20:12 +02:00
mock_interfaces.go multi: switch gomock to go.uber.org 2024-05-31 10:39:24 +02:00
README.md server+README: bump minimum required lnd version to v0.15.4-beta 2023-03-08 17:42:05 +01:00
rpcserver.go multi: bump aperture and rename L402 to LSAT where possible 2024-05-23 14:07:48 +02:00
rpcserver_test.go server: bump lnd minimum compatible version to v0.18.5-beta 2025-03-13 11:55:57 -05:00
run.go multi: update lnd, aperture and lndclient deps 2025-03-05 12:31:15 +02:00
server.go perms: move perms.go into poolrpc 2025-05-08 00:36:26 +01:00
sidecar_acceptor.go fmt: run go fmt 2023-01-06 01:53:15 -08:00
sidecar_acceptor_test.go multi: switch gomock to go.uber.org 2024-05-31 10:39:24 +02:00
version.go version: bump to version v0.6.6-beta 2025-05-26 10:50:55 +02:00

Lightning Pool

Lightning Pool is a non-custodial, peer-to-peer marketplace that allows node operators that need inbound liquidity to pay node operators with available capital to open channels in their direction while retaining full custody of their funds. Pools first product is a Lightning Channel Lease - an inbound channel with a pre-agreed duration.

Efficient capital allocation is one of the most widely felt pain points when using the Lightning Network. Existing node operators do not have access to pricing signals to help determine where in the network their outbound liquidity should be allocated, and new node operators have no way to signal that they need new inbound liquidity. Lightning Pool brings these two sides together into a single market while allowing them to maintain custody of their funds.

Checkout our documentation to learn more. For more technical details, check out the technical white paper.

How it works

Lightning Pool is a non-custodial auction for liquidity where bids are kept private and trades clear periodically. Key aspects of Pool include:

  • Periodic clearing - Market does not clear continuously, instead, it clears every block (or after multiple blocks, if there are no bids that match with existing asks).

  • Non-custodial - Clients maintain an on-chain account that is a timelocked, 2-of-2 multisig with the auctioneer. These funds are fully in the users control at all times.

  • Sealed-bid - All orders are submitted off-chain to the auctioneer, so bidders dont have visibility into the bids of other participants

  • Uniform clearing price - All participants in a batch clear at the same price. If your ask is for 2% annualized interest, you will receive >=2%. If you bid 5%, you will pay <=5%.

  • Batched execution - Due to the account structure, the auctioneer is able to batch all completed orders into a single transaction, greatly reducing individual chain fees.

Installation

Download the latest binaries from the releases page.

LND

Note that Pool requires lnd to be built with all of its subservers and requires running at least v0.15.4. Download the latest official release binary or build lnd from source by following the installation instructions. If you choose to build lnd from source, use the following command to enable all the relevant subservers:

make install tags="signrpc walletrpc chainrpc invoicesrpc"

Usage

Read our quickstart guide to learn more about how to use Pool.

Marketplace Fee

Fees are calculated based on the amount of liquidity purchased. During the mainnet alpha, fees will range from 5-25 basis points of the matched amount.

Development

The Pool client is currently in early alpha and offers a simple command line application.

The Pool daemon exposes a gRPC API and REST API.

Troubleshooting

Join us on Slack and we'd be happy to help in any way we can. In the meantime please see our FAQs.

Build from source

If youd prefer to compile from source code, youll need at least go 1.18 and make.

Run the following commands to download the code, compile and install Pool:

$ git clone https://github.com/lightninglabs/pool
$ cd pool
$ make install

This will install the binaries into your $GOPATH/bin directory.

Compatibility

Lightning Pool requires lnd version 0.15.4-beta or higher (v0.16.0-beta or later is recommended).