{"id":18928832,"url":"https://github.com/lightninglabs/pool","last_synced_at":"2025-05-15T19:09:49.823Z","repository":{"id":36961811,"uuid":"273404118","full_name":"lightninglabs/pool","owner":"lightninglabs","description":"Lightning Pool: a non-custodial batched uniform clearing-price auction for Lightning Channel Leases (LCL). An LCL packages up inbound channel liquidity (ability to receive funds) as a fixed income asset with a maturity date expressed in blocks.  ","archived":false,"fork":false,"pushed_at":"2025-05-08T08:15:38.000Z","size":26218,"stargazers_count":258,"open_issues_count":52,"forks_count":47,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-08T09:20:14.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightninglabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-19T04:33:12.000Z","updated_at":"2025-05-08T08:02:11.000Z","dependencies_parsed_at":"2023-09-28T10:44:24.289Z","dependency_job_id":"41f6a233-770e-409b-8171-eb3d1c5eb167","html_url":"https://github.com/lightninglabs/pool","commit_stats":{"total_commits":965,"total_committers":31,"mean_commits":"31.129032258064516","dds":0.5316062176165803,"last_synced_commit":"f41389e103febe0176353ce5ff6895f19a62a709"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Fpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Fpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Fpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Fpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightninglabs","download_url":"https://codeload.github.com/lightninglabs/pool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254404356,"owners_count":22065641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:28:12.196Z","updated_at":"2025-05-15T19:09:49.802Z","avatar_url":"https://github.com/lightninglabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightning Pool\n\nLightning Pool is a non-custodial, peer-to-peer marketplace that allows node\noperators that need inbound liquidity to pay node operators with available\ncapital to open channels in their direction while retaining full custody of\ntheir funds. Pool’s first product is a Lightning Channel Lease - an inbound\nchannel with a pre-agreed duration.\n\nEfficient capital allocation is one of the most widely felt pain points when\nusing the Lightning Network. Existing node operators do not have access to\npricing signals to help determine where in the network their outbound liquidity\nshould be allocated, and new node operators have no way to signal that they\nneed new inbound liquidity. Lightning Pool brings these two sides together into\na single market while allowing them to maintain custody of their funds.\n\nCheckout our [documentation](https://pool.lightning.engineering/) to learn\nmore. For more [technical details, check out the technical white\npaper](https://github.com/lightninglabs/pool-paper/blob/main/liquidity.pdf).\n\n## How it works\nLightning Pool is a non-custodial auction for liquidity where bids are kept\nprivate and trades clear periodically. Key aspects of Pool include:\n\n- **Periodic clearing** - Market does not clear continuously, instead, it\n  clears every block (or after multiple blocks, if there are no bids that match\n  with existing asks).\n\n- **Non-custodial** - Clients maintain an on-chain account that is a\n  timelocked, 2-of-2 multisig with the auctioneer. These funds are fully in the\n  user’s control at all times.\n\n- **Sealed-bid** - All orders are submitted off-chain to the auctioneer, so\n  bidders don’t have visibility into the bids of other participants\n\n- **Uniform clearing price** - All participants in a batch clear at the same\n  price. If your ask is for 2% annualized interest, you will receive \u003e=2%. If\n  you bid 5%, you will pay \u003c=5%.\n\n- **Batched execution** - Due to the account structure, the auctioneer is able\n  to batch all completed orders into a single transaction, greatly reducing\n  individual chain fees.\n\n## Installation\nDownload the latest binaries from the\n[releases](https://github.com/lightninglabs/pool/releases) page.\n\n## LND\n\nNote that Pool requires `lnd` to be built with **all of its subservers** and\nrequires running at least `v0.15.4`. Download the latest [official release\nbinary](https://github.com/lightningnetwork/lnd/releases/latest) or build `lnd`\nfrom source by following the [installation\ninstructions](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md).\nIf you choose to build `lnd` from source, use the following command to enable\nall the relevant subservers:\n\n```\nmake install tags=\"signrpc walletrpc chainrpc invoicesrpc\"\n```\n\n## Usage\nRead our [quickstart guide](https://pool.lightning.engineering/quickstart) to\nlearn more about how to use Pool. \n\n## Marketplace Fee \nFees are calculated based on the amount of liquidity purchased. During the\nmainnet alpha, fees will range from 5-25 basis points of the matched amount.\n\n## Development\nThe Pool client is currently in early alpha and offers a simple command line\napplication.\n\nThe Pool daemon exposes a [gRPC\nAPI](https://lightning.engineering/poolapi/index.html#pool-grpc-api-reference)\nand [REST\nAPI](https://lightning.engineering/poolapi/index.html#pool-rest-api-reference).\n\n## Troubleshooting\n[Join us on Slack](https://lightning.engineering/slack.html) and we'd be happy\nto help in any way we can. In the meantime please see our\n[FAQs](https://pool.lightning.engineering/faq).\n\n## Build from source\nIf you’d prefer to compile from source code, you’ll need at least `go 1.18` and\n`make`.\n\nRun the following commands to download the code, compile and install Pool:\n\n```shell\n$ git clone https://github.com/lightninglabs/pool\n$ cd pool\n$ make install\n```\n\nThis will install the binaries into your `$GOPATH/bin` directory.\n\n## Compatibility\nLightning Pool requires `lnd` version `0.15.4-beta` or higher (`v0.16.0-beta` or\nlater is recommended).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Fpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightninglabs%2Fpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Fpool/lists"}