No description
Find a file
2020-11-20 10:17:19 +01:00
account Merge pull request #150 from wpaulino/withdraw-output-dust-check 2020-11-12 08:59:23 +01:00
auctioneer auctioneer: include input sig scripts for account deposits 2020-11-09 18:01:38 -08:00
chaninfo multi: update aperture, use lndclient, remove loop 2020-08-11 19:41:01 +02:00
clientdb Merge pull request #104 from guggero/del-order-timestamp 2020-10-13 16:21:41 -07:00
cmd order+pool: round default min chan amt to nearest unit 2020-11-11 14:28:23 -08:00
docs docs: mention LSAT payment 2020-11-20 10:17:19 +01:00
event event: add new event package 2020-10-01 13:16:45 +02:00
internal/test mod+test: update deps to latest tagged versions 2020-10-30 09:09:57 +01:00
make build: remove darwin/386 as no longer supported by Go 1.15 2020-10-30 20:00:22 -07:00
order Merge pull request #158 from wpaulino/account-reserved-value-underflow 2020-11-12 15:56:54 -08:00
poolrpc auctioneer: include input sig scripts for account deposits 2020-11-09 18:01:38 -08:00
poolscript pool: rename clmscript to poolrpc 2020-09-09 19:55:04 -07:00
scripts build: add release script ane Makefile modifications 2020-10-30 19:07:21 -07:00
terms auctioneer: add next batch tick and fee params to Terms RPC 2020-10-30 16:28:00 -07:00
.gitignore multi: rename project from llm to pool 2020-09-09 19:55:10 -07:00
.golangci.yml Makefile+lint: only limit concurrency on Travis 2020-06-24 09:58:17 +02:00
.travis.yml travis: disable coverage for private repo 2020-06-24 10:53:59 +02:00
book.json docs: re-organize docs into new Gitbook compatible structure 2020-10-13 17:02:46 -07:00
config.go multi: label all account modification txns with optional prefix 2020-10-05 17:54:10 -07:00
Dockerfile multi: rename project from llm to pool 2020-09-09 19:55:10 -07:00
fundingmgr.go funding: increase batch step timeout 8s->15s 2020-10-20 19:40:46 +02:00
fundingmgr_test.go mod+test: update deps to latest tagged versions 2020-10-30 09:09:57 +01:00
go.mod mod+test: update deps to latest tagged versions 2020-10-30 09:09:57 +01:00
go.sum mod+test: update deps to latest tagged versions 2020-10-30 09:09:57 +01:00
log.go multi: fix import order 2020-09-09 19:55:16 -07:00
macaroons.go rpc: add new NextBatchInfo RPC 2020-10-30 16:28:02 -07:00
Makefile build: add release script ane Makefile modifications 2020-10-30 19:07:21 -07:00
README.md docs: fix formatting in readme 2020-11-02 10:24:34 -05:00
rpcserver.go rpc: add new NextBatchInfo RPC 2020-10-30 16:28:02 -07:00
run.go multi: extract config validation 2020-09-12 09:08:13 +02:00
server.go server: allow poold to be used as external subserver 2020-09-17 08:37:22 +02:00
version.go build: bump version to v0.3.3-alpha 2020-11-12 16:00:17 -08: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.11.1. 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 per user.

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.14 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.11.1-beta or higher