Embed a self-custodial Lightning wallet in a web app with the Wavelength SDK (@lightninglabs/wavelength-web, @lightninglabs/wavelength-react, @lightninglabs/wavelength-core). Use when integrating Wavelength into a browser or React app, creating a wallet client, sending or receiving Lightning payments in the browser, wiring WavelengthProvider, hosting wasm runtime assets, or adding passkey protection. Triggers include "wavelength", "embed a Lightning wallet", "createWebWalletEngine", "WavelengthProvider", "useWalletPasskey", and "wavelength runtime assets".
Ships in wavelength. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Wavelength embeds a self-custodial Lightning wallet in a web app. The wallet daemon runs as WebAssembly in a Web Worker in the user's browser; there is no node to run, no channels to open, and no inbound liquidity to manage.
Docs index: https://wavelength.lightning.engineering/llms.txt. Every docs page
has a markdown twin at the same URL with .md appended; fetch those.
Check the npm registry for current versions; do not rely on memorized ones.
@lightninglabs/wavelength-web: the browser transport. createWebClient()
builds a raw client; createWebWalletEngine() wraps it in a WalletEngine
and is the factory to use with the React provider. Re-exports everything
from core.@lightninglabs/wavelength-react: <WavelengthProvider> plus hooks. Takes an
injected engine; it does not depend on the web package.@lightninglabs/wavelength-core: the transport-agnostic contract and types.
Install it directly only when building a custom binding.| Building | Read first |
|---|---|
| Any new integration | https://wavelength.lightning.engineering/web/get-started/quickstart.md |
| React app | https://wavelength.lightning.engineering/integrations/react.md |
| Wallet creation and unlock | https://wavelength.lightning.engineering/guides/create-a-wallet.md |
| Sending payments | https://wavelength.lightning.engineering/guides/send-a-payment.md |
| Receiving payments | https://wavelength.lightning.engineering/guides/receive-a-lightning-payment.md |
| Passkey protection | https://wavelength.lightning.engineering/guides/use-a-passkey.md |
| Asset hosting or COOP/COEP issues | https://wavelength.lightning.engineering/web/get-started/hosting-runtime-assets.md |
createWebWalletEngine() from wavelength-web and
inject it into React via <WavelengthProvider engine={...}>. Never import
wavelength-web inside framework-agnostic or react-only modules; the react
package deliberately has no dependency on the web transport.runtimeBaseUrl at it. There is no CDN
default yet; a missing or wrong runtimeBaseUrl is the most common
integration failure.script-src blob:. The runtime loader
always executes the bootstrap scripts (wasm_exec.js, sqlite-bridge.js)
from a blob URL rather than a <script src>; a CSP without blob: breaks
the SDK outright. See
https://wavelength.lightning.engineering/web/get-started/hosting-runtime-assets.md.webPasskeyCeremony from
wavelength-web into useWalletPasskey(ceremony); do not implement WebAuthn
calls by hand.After wiring, confirm: the app builds, the engine's phase (from
useWallet()) reaches ready, and an invoice can be created. Reload the
page and unlock to confirm persistence.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/wavelength-apiIntegrate against the Wavelength wallet daemon (waved) over its gRPC or REST API. Use when calling WalletService RPCs, building a backend or non-browser integration, connecting to waved, or mapping REST routes under /v1/wallet/. Triggers include "waved", "WalletService", "wavelength grpc", "wavelength rest api", and "wallet daemon api"./wavelength-cliAutomate the Wavelength wallet daemon with the wavecli command line tool. Use when scripting wallet operations, writing shell automation against waved, parsing wavecli JSON output, or handling its exit codes. Triggers include "wavecli", "wavelength cli", "wallet daemon cli", and "script a wavelength wallet"./wavelength-react-nativeEmbed a self-custodial Lightning wallet in a React Native or Expo app with the Wavelength SDK (@lightninglabs/wavelength-react-native, @lightninglabs/wavelength-react). Use when integrating Wavelength into a React Native or Expo app, creating a native wallet engine, sending or receiving Lightning payments on device, wiring WavelengthProvider with a native engine, or adding native passkey protection. Triggers include "wavelength react native", "createNativeWalletEngine", "embed a Lightning wallet in React Native", "createNativePasskeyCeremony", and "Expo wallet"./wavelength:wavelength-webfrom wavelength
npx claudepluginhub lightninglabs/wavelength-sdk --plugin wavelength