算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
lightning-consumer-wallets【设计与创意】Consumer Lightning wallet integration patterns: Phoenix, Breez SDK, Zeus, BlueWallet (LN), Aqua, Bitkit. Custodial vs non-custodial, LSP partnerships, mobile-specific UX (push notifications, background sync). USE WHEN: integrating with consumer wallets, designing self-custodial mobile UX, evaluating wallet SDK options.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Most users access Lightning via mobile/desktop wallets. This skill catalogues major options and integration patterns.
| Wallet | Architecture | Custody | LSP |
|---|---|---|---|
| Phoenix | Eclair core, mobile | Self-custodial via ACINQ trampoline | ACINQ exclusive |
| Breez SDK | Nodeless: Spark (current), Liquid (legacy) | Self-custodial | n/a (nodeless) |
| Mutiny (defunct, shut down end of 2024) | LDK web/mobile | Was self-custodial | n/a |
| Zeus | LND/CLN/Embedded LND | Self-custodial; supports remote nodes | Configurable |
| BlueWallet (LN) | LndHub backend | Custodial typically | LndHub provider |
| Aqua | LDK + Liquid | Self-custodial multi-asset | Multi |
| Wallet of Satoshi | Backend custodial | Custodial | n/a |
| Cash App | LDK backend | Custodial | n/a |
| Strike | Backend custodial | Custodial | n/a |
| Bitkit | LDK | Self-custodial | Synonym (their LSP) |
| Alby | Hybrid (NWC + custodial backend) | Custodial default; can connect own | n/a |
breez/spark-sdk) — the recommended line.
Nodeless, keys held only by the user; Lightning + Spark L2 with
on-chain interop. 0.25.0 released 2026-09-10.breez/breez-sdk-liquid) —
still published (0.12.4, 2026-06-17), nodeless via submarine swaps
against the Liquid sidechain, but the docs now tell existing
partners to move to the Spark implementation.breez/breez-sdk-greenlight repo no longer resolves.Shut down; do not recommend it. Kept here because the design is still a useful reference point for browser-based LDK.
MutinyWallet/mutiny-node and mutiny-web are archived on GitHub,
last commits Aug/Sep 2024 (checked September 2026); the company moved
on to other products.LN nodes need to be online to:
Mobile devices: NOT always online.
Solutions:
LSP has a way to reach the user's device. When a channel event needs a response:
Requires careful coordination (Apple/Google background limits).
The standardised form of the above. bLIP-55 (Status: Active,
created 2024-12-02) in lightning/blips; the same text is LSPS5
webhook_registration version 1, status "For Implementation", in the
BitcoinAndLightningLayerSpecs/lsp repo (both checked September
2026). Registration rides the ordinary LSPS0 BOLT 8 transport:
lsps5.set_webhook (app_name up to 64 bytes + HTTPS webhook
URL up to 1024 chars, insert-or-replace up to an LSP-imposed
limit), lsps5.list_webhooks, lsps5.remove_webhook.POSTs to the webhook
of a notification delivery service run by the app developer,
which holds the push credentials and turns the POST into a
mobile-OS push. The client SHOULD bury the LSP node id, an
authorization proof and a device identifier inside the webhook
URL, and MAY do so by registering those with the delivery service
and putting only the returned token in the URL.lsps5.webhook_registered (sent to the one just registered),
lsps5.payment_incoming, lsps5.expiry_soon (params timeout,
the block height of the forced close; fired within 24 blocks of
timeout), lsps5.liquidity_management_request,
lsps5.onion_message_incoming. All take empty params except
expiry_soon.ln_signature scheme (zbase32), so the
delivery service can reject forged or replayed wakeups.lightning-liquidity crate has an
lsps5 module (rust-lightning tree, checked September 2026).See lsp/SKILL.md for LSPS0 transport and the rest of the LSPS series.
/.well-known/lnurlp/<user> endpoint.| SDK | Backends | Bindings | Self-custody |
|---|---|---|---|
| Breez SDK - Spark | Spark L2 + Lightning, nodeless | many | yes |
| Breez SDK - Nodeless (Liquid) | Liquid swaps + Lightning | many | yes |
| Breez SDK - Greenlight | CLN cloud | many | yes, but deprecated/unmaintained |
| LDK Node | LDK | Rust + bindings | yes |
| Lightning Toolkit / Bitkit SDK | LDK | native | yes |
| LndHub | LND | REST | no (custodial) |
| Greenlight Client | CLN cloud | many | yes |
For new mobile app integrations as of September 2026, Breez SDK - Spark or LDK Node are the top choices. Do not start a new integration on Breez SDK - Greenlight (deprecated) or, per Breez's own guidance, on Breez SDK - Nodeless (Liquid).