Lightning Service Provider Integration

VerifiedSafe

LSP specifications and services to solve inbound liquidity problem on the Lightning Network.

Sby Skills Guide Bot
DevelopmentAdvanced
7/24/2026
Claude CodeCursorCodex
#lightning#lsp#bitcoin#blip#liquidity

Recommended for

Automated summary

Reference skill on Lightning Service Providers: service models (paid static channel-open, JIT channels, liquidity ads, MPP-trampoline routing), BLIP-50 to 53 specifications, and an overview of the main providers.

Strengths

  • Precisely covers BLIP-50 through 53 including the HTTPS endpoints (get_info, create_order, get_order)
  • Walks through the JIT flow step by step, including the trust risk between payment receipt and channel confirmation
  • Comparative list of major LSPs (ACINQ, Voltage, Olympus, Megalith, Flashsats, Magma) with each one's specialty
  • Includes a common-bugs section and self-custodial verification checks useful during integration

Limitations

  • Purely documentary, read-only skill: no API calls and no code generation provided
  • LSP fees and behaviour change quickly; quoted figures (1-2%) are indicative only
  • Does not go deep on LDK or Breez SDK implementation beyond a few lines
When to use it

Use it when designing or evaluating an LSP integration in a Lightning wallet, or when picking a provider based on inbound liquidity needs.

When not to use it

Skip it if you need ready-to-run implementation code or up-to-date LSP pricing, since the skill provides neither.

Security analysis

Safe
Quality score85/100

This is a pure documentation/reference skill about Lightning Service Providers. The declared allowed-tools are limited to Read, Grep, and Glob — no bash, network, or write access. The content contains only conceptual explanations, tables, and example HTTP API sketches for illustration; there is no executable code, no curl|sh, no credential/token handling, no obfuscation, and no instructions that would cause destructive or exfiltrating behavior. Listing it presents no meaningful execution risk.

No concerns found

How this analysis is made

Examples

Design a JIT flow
Our mobile wallet needs to receive a first payment without an existing channel. Walk me through a BLIP-52 JIT channel flow, including the invoice route hints, the fee deduction, and what happens if the payment arrives close to invoice expiry.
Compare LSP options
Compare ACINQ, Voltage and the Breez SDK for a self-custodial wallet that needs inbound liquidity, focusing on custody model, splicing behaviour and what the user should verify on-chain.
Debug a failed LSP payment
A payer got 'incorrect_or_unknown_payment_details' on an invoice our LSP issued. Using the common-bugs list for LSP integrations, list the likely causes and how to check each one.

name: lightning-lsp description: | LSP (Lightning Service Provider) specifications: BLIPs, JIT channels, on-pay channel open, MPP-trampoline, BOLT12 hosted invoice. Major LSPs: ACINQ (Phoenix backend), Voltage, Olympus, Megalith, Flashsats. USE WHEN: integrating with an LSP, designing LSP services, evaluating LSP options for a wallet. allowed-tools: Read, Grep, Glob

LSPs (Lightning Service Providers)

LSPs solve the inbound liquidity problem: a new Lightning user has no inbound capacity — they can't receive without first opening a channel. LSPs offer hosted, JIT, or "channel-on-pay" services.

Service types

Static channel-open (paid)

  • Customer pays LSP a fee (sats) for a fixed inbound capacity.
  • Typically dual-funded or zero-conf.

JIT (Just-in-Time) channels

  • Customer requests an invoice.
  • LSP intercepts the payment and opens a channel during the payment flow, paying out via the new channel.
  • Customer needs no pre-existing channel.

Typical fee: 1-2% of channel amount, deducted from payment.

Liquidity ads (BOLT 9 features)

  • LSP advertises liquidity for sale on Lightning gossip.
  • Customers buy via dual-funded channel open.

MPP-trampoline routing

  • LSP runs trampoline node.
  • Mobile clients route through LSP without full graph knowledge.

BLIP-50+ specifications

BLIPs (BOLT-Lightning Improvement Proposals) at github.com/lightning/blips. Key for LSPs:

  • BLIP-50: LSP API: GetInfo, CreateOrder, GetOrder.
  • BLIP-51: Channel-open via CreateOrder.
  • BLIP-52: JIT channels (channel opens during payment forward).
  • BLIP-53: HODL invoices for LSP integration.

LSP API typically over HTTPS with API key:

POST /v1/get_info
POST /v1/create_order   { lspBalance, clientBalance, expiry }
POST /v1/get_order

Major LSPs (late 2025)

| LSP | Specialty | |-----|-----------| | ACINQ | Phoenix's hosted backend, splice-on-demand | | Voltage | Cloud LN nodes + LSP services | | Olympus by ZBD | Zaps + LN payments LSP | | Megalith Node | Public liquidity provider | | Flashsats | LSP service for app integrators | | Magma (Amboss) | LSP marketplace |

Many LSPs operate via custom HTTP APIs in addition to BLIP-50+.

Mobile wallet / LSP patterns

Phoenix + ACINQ

  • Phoenix mobile is the wallet, ACINQ hosts an Eclair node as the customer's "LSP".
  • ACINQ auto-splices to maintain liquidity.
  • Fees: small per-transaction percentage.

Mutiny + multiple LSPs

  • Mutiny Wallet uses LDK + can rotate between LSPs.
  • Customer can choose LSP per channel.

Breez SDK

  • Spec-driven LSP integration via BLIPs.
  • Self-custodial; LSP provides liquidity only.

Channel-open during payment (JIT) flow

1. Customer opens app, requests invoice for 50,000 sats.
2. App talks to LSP: "I need an invoice; here's my static node info."
3. LSP returns:
   - BOLT11 invoice with route_hint pointing through LSP.
   - Promise to open channel on first payment.
4. Customer shares invoice with payer.
5. Payer pays. LSP receives the payment. LSP opens a channel to
   customer with `value = payment - fee`. Forwards remainder via
   the new channel as final HTLC. Channel funded with the inbound
   payment.

Risk: between LSP receiving payment and channel funding tx confirming (zero-conf), customer trusts LSP not to keep funds.

Self-custodial verification

When using an LSP, customer should:

  • Verify channel open tx confirms (or has min_depth).
  • Monitor channel state (no surprises in commitment).
  • Have a watchtower in case LSP cheats.

Common bugs

  • LSP fee not communicated to user → user surprised by reduced amount received.
  • Race: invoice expiry too short for LSP's channel-open path.
  • LSP rejects payment → customer's payer is confused (sees error "incorrect_or_unknown_payment_details" but the invoice was valid).
  • Channel close due to LSP cycling: customer needs new channel on next payment, more fees.

See also

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/lightning-service-provider-integration-mryiqgi4' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/lightning-service-provider-integration-mryiqgi4/download' --output '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md.part' && mv '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md.part' '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Glob

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && test -s '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/lightning-lsp' && cp -R '.skill-downloads/lightning-service-provider-integration-mryiqgi4' '.claude/skills/lightning-lsp'

Cursor
test -f '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && test -s '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/lightning-lsp' && cp -R '.skill-downloads/lightning-service-provider-integration-mryiqgi4' '.cursor/skills/lightning-lsp'

Codex
test -f '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && test -s '.skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/lightning-lsp' && cp -R '.skill-downloads/lightning-service-provider-integration-mryiqgi4' '.agents/skills/lightning-lsp'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/lightning-service-provider-integration-mryiqgi4'

openskills read 'lightning-service-provider-integration-mryiqgi4'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/lightning-service-provider-integration-mryiqgi4/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills