{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lnd",
    "name": "Lnd",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Roasbeef/lnd",
    "canonicalUrl": "https://clawhub.ai/Roasbeef/lnd",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lnd",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lnd",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "profiles/debug.env",
      "profiles/default.env",
      "profiles/regtest.env",
      "profiles/taproot.env",
      "profiles/wumbo.env"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/lnd"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/lnd",
    "agentPageUrl": "https://openagent3.xyz/skills/lnd/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lnd/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lnd/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Lightning Terminal (litd) — Lightning Network Node",
        "body": "Install and operate a Lightning Terminal (litd) node for agent-driven payments.\nlitd bundles lnd with loop, pool, tapd, and faraday — giving agents access to\nliquidity management, channel marketplace, and taproot assets in a single\ncontainer.\n\nDefault: Docker container, neutrino backend, SQLite storage, testnet. No full\nBitcoin node required. Use --network mainnet for real coins.\n\nDefault mode: watch-only with remote signer. Private keys stay on a separate\nsigner container — the agent never touches key material. For quick testing, use\n--mode standalone (keys on disk, less secure)."
      },
      {
        "title": "Watch-Only with Remote Signer (Production)",
        "body": "# 1. Install litd image\nskills/lnd/scripts/install.sh\n\n# 2. Start litd + signer containers\nskills/lnd/scripts/start-lnd.sh --watchonly\n\n# 3. Set up signer wallet (first run only)\nskills/lightning-security-module/scripts/setup-signer.sh --container litd-signer\n\n# 4. Import credentials and create watch-only wallet\nskills/lnd/scripts/import-credentials.sh --bundle ~/.lnget/signer/credentials-bundle\nskills/lnd/scripts/create-wallet.sh\n\n# 5. Check status\nskills/lnd/scripts/lncli.sh getinfo"
      },
      {
        "title": "Standalone (Testing Only)",
        "body": "# 1. Install litd image\nskills/lnd/scripts/install.sh\n\n# 2. Start litd container\nskills/lnd/scripts/start-lnd.sh\n\n# 3. Create standalone wallet (generates seed — keys on disk)\nskills/lnd/scripts/create-wallet.sh --mode standalone\n\n# 4. Check status\nskills/lnd/scripts/lncli.sh getinfo\n\nWarning: Standalone mode stores the seed mnemonic and wallet passphrase on\ndisk. Do not use for mainnet funds you cannot afford to lose."
      },
      {
        "title": "Regtest Development",
        "body": "# Start litd + bitcoind for local development\nskills/lnd/scripts/start-lnd.sh --regtest\n\n# Create wallet and mine some blocks\nskills/lnd/scripts/create-wallet.sh --container litd --mode standalone\ndocker exec litd-bitcoind bitcoin-cli -regtest -generate 101"
      },
      {
        "title": "Container Modes",
        "body": "ModeCommandContainersUse CaseStandalonestart-lnd.shlitdTesting, developmentWatch-onlystart-lnd.sh --watchonlylitd + litd-signerProductionRegteststart-lnd.sh --regtestlitd + litd-bitcoindLocal dev"
      },
      {
        "title": "Profiles",
        "body": "Profiles customize litd behavior without editing compose files:\n\n# List available profiles\nskills/lnd/scripts/docker-start.sh --list-profiles\n\n# Start with a profile\nskills/lnd/scripts/start-lnd.sh --profile taproot\nskills/lnd/scripts/start-lnd.sh --profile debug\n\nProfilePurposedefaultStandard operation (info logging)debugTrace logging, verbose subsystemstaprootSimple taproot channels enabledwumboLarge channels up to 10 BTCregtestRegtest network preset"
      },
      {
        "title": "Network Selection",
        "body": "Default is testnet. Override with --network:\n\n# Testnet (default — no real coins)\nskills/lnd/scripts/start-lnd.sh\n\n# Mainnet (real coins — use with remote signer)\nskills/lnd/scripts/start-lnd.sh --network mainnet --watchonly\n\n# Signet (testing network)\nskills/lnd/scripts/start-lnd.sh --network signet"
      },
      {
        "title": "litd Sub-Daemons",
        "body": "litd integrates multiple daemons. Access them via the --cli flag:\n\n# lnd CLI (default)\nskills/lnd/scripts/lncli.sh getinfo\n\n# Loop — liquidity management (submarine swaps)\nskills/lnd/scripts/lncli.sh --cli loop quote out 100000\n\n# Pool — channel marketplace\nskills/lnd/scripts/lncli.sh --cli pool accounts list\n\n# Taproot Assets (tapd)\nskills/lnd/scripts/lncli.sh --cli tapcli assets list\n\n# Lightning Terminal (litd)\nskills/lnd/scripts/lncli.sh --cli litcli getinfo\n\n# Faraday — channel analytics\nskills/lnd/scripts/lncli.sh --cli frcli revenue"
      },
      {
        "title": "Installation",
        "body": "Default: pulls the litd Docker image.\n\nskills/lnd/scripts/install.sh\n\nThis pulls lightninglabs/lightning-terminal:v0.16.0-alpha from Docker Hub and\nverifies the image. The litd image includes lncli, litcli, loop, pool, tapcli,\nand frcli."
      },
      {
        "title": "Build from Source (Fallback)",
        "body": "skills/lnd/scripts/install.sh --source\n\nRequires Go toolchain. Builds lnd and lncli with all build tags."
      },
      {
        "title": "Native Mode",
        "body": "For running without Docker, use --native:\n\n# Start natively\nskills/lnd/scripts/start-lnd.sh --native --mode standalone\n\n# Stop natively\nskills/lnd/scripts/stop-lnd.sh --native\n\nNative mode uses the config template at skills/lnd/templates/lnd.conf.template\nand runs lnd as a background process."
      },
      {
        "title": "Remote Nodes",
        "body": "Connect to a remote lnd node with connection credentials:\n\nskills/lnd/scripts/lncli.sh \\\n    --rpcserver remote-host:10009 \\\n    --tlscertpath ~/remote-tls.cert \\\n    --macaroonpath ~/remote-admin.macaroon \\\n    getinfo"
      },
      {
        "title": "MCP / Lightning Node Connect",
        "body": "For read-only access without direct gRPC connectivity, use the\nlightning-mcp-server skill with Lightning Node Connect (LNC). LNC uses\nencrypted WebSocket tunnels — no TLS certs, macaroons, or open ports needed.\nJust a pairing phrase from Lightning Terminal.\n\nskills/lightning-mcp-server/scripts/install.sh\nskills/lightning-mcp-server/scripts/configure.sh\nskills/lightning-mcp-server/scripts/setup-claude-config.sh"
      },
      {
        "title": "Watch-Only Wallet (Default)",
        "body": "Imports account xpubs from the remote signer — no seed or private keys on this\nmachine.\n\n# Import credentials bundle from signer\nskills/lnd/scripts/import-credentials.sh --bundle <credentials-bundle>\n\n# Create watch-only wallet (auto-detects litd container)\nskills/lnd/scripts/create-wallet.sh"
      },
      {
        "title": "Standalone Wallet",
        "body": "Generates a seed locally. Use only for testing.\n\nskills/lnd/scripts/create-wallet.sh --mode standalone\n\nHandles the full wallet creation flow via REST API:\n\nGenerates a secure random wallet passphrase\nCalls /v1/genseed to generate a 24-word seed mnemonic\nCalls /v1/initwallet with the passphrase and seed\nStores credentials securely:\n\n~/.lnget/lnd/wallet-password.txt (mode 0600)\n~/.lnget/lnd/seed.txt (mode 0600)"
      },
      {
        "title": "Unlock Wallet",
        "body": "skills/lnd/scripts/unlock-wallet.sh\n\nAuto-unlock is enabled by default in the container via\n--wallet-unlock-password-file. Manual unlock is only needed if auto-unlock\nis disabled."
      },
      {
        "title": "Recover Wallet from Seed (Standalone Only)",
        "body": "skills/lnd/scripts/create-wallet.sh --mode standalone --recover --seed-file ~/.lnget/lnd/seed.txt"
      },
      {
        "title": "Start",
        "body": "# Docker standalone (default)\nskills/lnd/scripts/start-lnd.sh\n\n# Docker watch-only (production)\nskills/lnd/scripts/start-lnd.sh --watchonly\n\n# Docker with profile\nskills/lnd/scripts/start-lnd.sh --profile taproot\n\n# Mainnet\nskills/lnd/scripts/start-lnd.sh --network mainnet"
      },
      {
        "title": "Stop",
        "body": "# Stop (preserve data)\nskills/lnd/scripts/stop-lnd.sh\n\n# Stop and clean (remove volumes)\nskills/lnd/scripts/stop-lnd.sh --clean\n\n# Stop all litd containers\nskills/lnd/scripts/stop-lnd.sh --all"
      },
      {
        "title": "Node Operations",
        "body": "All commands auto-detect the litd container:"
      },
      {
        "title": "Node Info",
        "body": "skills/lnd/scripts/lncli.sh getinfo\nskills/lnd/scripts/lncli.sh walletbalance\nskills/lnd/scripts/lncli.sh channelbalance"
      },
      {
        "title": "Funding",
        "body": "skills/lnd/scripts/lncli.sh newaddress p2tr\nskills/lnd/scripts/lncli.sh walletbalance"
      },
      {
        "title": "Channel Management",
        "body": "skills/lnd/scripts/lncli.sh connect <pubkey>@<host>:9735\nskills/lnd/scripts/lncli.sh openchannel --node_key=<pubkey> --local_amt=1000000\nskills/lnd/scripts/lncli.sh listchannels\nskills/lnd/scripts/lncli.sh closechannel --funding_txid=<txid> --output_index=<n>"
      },
      {
        "title": "Payments",
        "body": "skills/lnd/scripts/lncli.sh addinvoice --amt=1000 --memo=\"test payment\"\nskills/lnd/scripts/lncli.sh decodepayreq <bolt11_invoice>\nskills/lnd/scripts/lncli.sh sendpayment --pay_req=<bolt11_invoice>\nskills/lnd/scripts/lncli.sh listpayments"
      },
      {
        "title": "Macaroon Bakery",
        "body": "Use the macaroon-bakery skill for least-privilege agent credentials:\n\nskills/macaroon-bakery/scripts/bake.sh --role pay-only\nskills/macaroon-bakery/scripts/bake.sh --role invoice-only\nskills/macaroon-bakery/scripts/bake.sh --inspect <path-to-macaroon>"
      },
      {
        "title": "Container Config",
        "body": "The Docker compose templates pass configuration via command-line arguments. For\nadvanced customization, mount a custom litd.conf:\n\nlitd template: skills/lnd/templates/litd.conf.template\nlnd template (native): skills/lnd/templates/lnd.conf.template\n\nNote: litd requires lnd. prefix for lnd flags (e.g., lnd.bitcoin.active).\nStandalone lnd does not use the prefix."
      },
      {
        "title": "Key Defaults",
        "body": "Backend: neutrino (BIP 157/158 light client)\nDatabase: SQLite\nNetwork: testnet (override with --network mainnet)\nAuto-unlock: enabled via password file"
      },
      {
        "title": "Container Naming & Ports",
        "body": "ContainerPurposePortslitdMain Lightning Terminal8443, 10009, 9735, 8080litd-signerRemote signer (lnd)10012, 10013litd-bitcoindBitcoin Core (regtest only)18443, 28332, 28333"
      },
      {
        "title": "Port Reference",
        "body": "PortServiceDescription8443litd UILightning Terminal web UI9735LightningPeer-to-peer Lightning Network10009gRPClncli and programmatic access8080RESTREST API (wallet, etc.)10012Signer gRPCRemote signer RPC10013Signer RESTSigner REST API"
      },
      {
        "title": "File Locations",
        "body": "PathPurpose~/.lnget/lnd/wallet-password.txtWallet unlock passphrase (0600)~/.lnget/lnd/seed.txt24-word mnemonic backup (0600, standalone only)~/.lnget/lnd/signer-credentials/Imported signer credentials (watch-only)versions.envPinned container image versionsskills/lnd/templates/Docker compose and config templatesskills/lnd/profiles/Profile .env files"
      },
      {
        "title": "Version Pinning",
        "body": "Container image versions are pinned in versions.env at the repo root:\n\nLITD_VERSION=v0.16.0-alpha\nLND_VERSION=v0.20.0-beta\n\nOverride at runtime:\n\nLITD_VERSION=v0.17.0-alpha skills/lnd/scripts/start-lnd.sh"
      },
      {
        "title": "Integration with lnget",
        "body": "Once litd is running with a funded wallet and open channels:\n\nlnget config init\nlnget ln status\nlnget --max-cost 1000 https://api.example.com/paid-data"
      },
      {
        "title": "Security Considerations",
        "body": "See references/security.md for detailed guidance.\n\nDefault model (watch-only with remote signer):\n\nNo seed or private keys on the agent machine\nSigning delegated to signer container via gRPC\nSet up with the lightning-security-module skill\n\nStandalone model (testing only):\n\nWallet passphrase and seed stored on disk (0600)\nSuitable for testnet and quick testing\n\nMacaroon security:\n\nNever give agents the admin macaroon in production\nBake scoped macaroons with the macaroon-bakery skill"
      },
      {
        "title": "\"wallet not found\"",
        "body": "Run skills/lnd/scripts/create-wallet.sh to create the wallet."
      },
      {
        "title": "\"wallet locked\"",
        "body": "Run skills/lnd/scripts/unlock-wallet.sh. Auto-unlock is enabled by default."
      },
      {
        "title": "\"chain backend is still syncing\"",
        "body": "Neutrino needs time to sync headers:\n\nskills/lnd/scripts/lncli.sh getinfo | jq '{synced_to_chain, block_height}'"
      },
      {
        "title": "Container not starting",
        "body": "docker logs litd\ndocker logs litd-signer"
      },
      {
        "title": "\"remote signer not reachable\"",
        "body": "docker ps | grep litd-signer\ndocker logs litd-signer"
      }
    ],
    "body": "Lightning Terminal (litd) — Lightning Network Node\n\nInstall and operate a Lightning Terminal (litd) node for agent-driven payments. litd bundles lnd with loop, pool, tapd, and faraday — giving agents access to liquidity management, channel marketplace, and taproot assets in a single container.\n\nDefault: Docker container, neutrino backend, SQLite storage, testnet. No full Bitcoin node required. Use --network mainnet for real coins.\n\nDefault mode: watch-only with remote signer. Private keys stay on a separate signer container — the agent never touches key material. For quick testing, use --mode standalone (keys on disk, less secure).\n\nQuick Start (Container — Recommended)\nWatch-Only with Remote Signer (Production)\n# 1. Install litd image\nskills/lnd/scripts/install.sh\n\n# 2. Start litd + signer containers\nskills/lnd/scripts/start-lnd.sh --watchonly\n\n# 3. Set up signer wallet (first run only)\nskills/lightning-security-module/scripts/setup-signer.sh --container litd-signer\n\n# 4. Import credentials and create watch-only wallet\nskills/lnd/scripts/import-credentials.sh --bundle ~/.lnget/signer/credentials-bundle\nskills/lnd/scripts/create-wallet.sh\n\n# 5. Check status\nskills/lnd/scripts/lncli.sh getinfo\n\nStandalone (Testing Only)\n# 1. Install litd image\nskills/lnd/scripts/install.sh\n\n# 2. Start litd container\nskills/lnd/scripts/start-lnd.sh\n\n# 3. Create standalone wallet (generates seed — keys on disk)\nskills/lnd/scripts/create-wallet.sh --mode standalone\n\n# 4. Check status\nskills/lnd/scripts/lncli.sh getinfo\n\n\nWarning: Standalone mode stores the seed mnemonic and wallet passphrase on disk. Do not use for mainnet funds you cannot afford to lose.\n\nRegtest Development\n# Start litd + bitcoind for local development\nskills/lnd/scripts/start-lnd.sh --regtest\n\n# Create wallet and mine some blocks\nskills/lnd/scripts/create-wallet.sh --container litd --mode standalone\ndocker exec litd-bitcoind bitcoin-cli -regtest -generate 101\n\nContainer Modes\nMode\tCommand\tContainers\tUse Case\nStandalone\tstart-lnd.sh\tlitd\tTesting, development\nWatch-only\tstart-lnd.sh --watchonly\tlitd + litd-signer\tProduction\nRegtest\tstart-lnd.sh --regtest\tlitd + litd-bitcoind\tLocal dev\nProfiles\n\nProfiles customize litd behavior without editing compose files:\n\n# List available profiles\nskills/lnd/scripts/docker-start.sh --list-profiles\n\n# Start with a profile\nskills/lnd/scripts/start-lnd.sh --profile taproot\nskills/lnd/scripts/start-lnd.sh --profile debug\n\nProfile\tPurpose\ndefault\tStandard operation (info logging)\ndebug\tTrace logging, verbose subsystems\ntaproot\tSimple taproot channels enabled\nwumbo\tLarge channels up to 10 BTC\nregtest\tRegtest network preset\nNetwork Selection\n\nDefault is testnet. Override with --network:\n\n# Testnet (default — no real coins)\nskills/lnd/scripts/start-lnd.sh\n\n# Mainnet (real coins — use with remote signer)\nskills/lnd/scripts/start-lnd.sh --network mainnet --watchonly\n\n# Signet (testing network)\nskills/lnd/scripts/start-lnd.sh --network signet\n\nlitd Sub-Daemons\n\nlitd integrates multiple daemons. Access them via the --cli flag:\n\n# lnd CLI (default)\nskills/lnd/scripts/lncli.sh getinfo\n\n# Loop — liquidity management (submarine swaps)\nskills/lnd/scripts/lncli.sh --cli loop quote out 100000\n\n# Pool — channel marketplace\nskills/lnd/scripts/lncli.sh --cli pool accounts list\n\n# Taproot Assets (tapd)\nskills/lnd/scripts/lncli.sh --cli tapcli assets list\n\n# Lightning Terminal (litd)\nskills/lnd/scripts/lncli.sh --cli litcli getinfo\n\n# Faraday — channel analytics\nskills/lnd/scripts/lncli.sh --cli frcli revenue\n\nInstallation\n\nDefault: pulls the litd Docker image.\n\nskills/lnd/scripts/install.sh\n\n\nThis pulls lightninglabs/lightning-terminal:v0.16.0-alpha from Docker Hub and verifies the image. The litd image includes lncli, litcli, loop, pool, tapcli, and frcli.\n\nBuild from Source (Fallback)\nskills/lnd/scripts/install.sh --source\n\n\nRequires Go toolchain. Builds lnd and lncli with all build tags.\n\nNative Mode\n\nFor running without Docker, use --native:\n\n# Start natively\nskills/lnd/scripts/start-lnd.sh --native --mode standalone\n\n# Stop natively\nskills/lnd/scripts/stop-lnd.sh --native\n\n\nNative mode uses the config template at skills/lnd/templates/lnd.conf.template and runs lnd as a background process.\n\nRemote Nodes\n\nConnect to a remote lnd node with connection credentials:\n\nskills/lnd/scripts/lncli.sh \\\n    --rpcserver remote-host:10009 \\\n    --tlscertpath ~/remote-tls.cert \\\n    --macaroonpath ~/remote-admin.macaroon \\\n    getinfo\n\nMCP / Lightning Node Connect\n\nFor read-only access without direct gRPC connectivity, use the lightning-mcp-server skill with Lightning Node Connect (LNC). LNC uses encrypted WebSocket tunnels — no TLS certs, macaroons, or open ports needed. Just a pairing phrase from Lightning Terminal.\n\nskills/lightning-mcp-server/scripts/install.sh\nskills/lightning-mcp-server/scripts/configure.sh\nskills/lightning-mcp-server/scripts/setup-claude-config.sh\n\nWallet Setup\nWatch-Only Wallet (Default)\n\nImports account xpubs from the remote signer — no seed or private keys on this machine.\n\n# Import credentials bundle from signer\nskills/lnd/scripts/import-credentials.sh --bundle <credentials-bundle>\n\n# Create watch-only wallet (auto-detects litd container)\nskills/lnd/scripts/create-wallet.sh\n\nStandalone Wallet\n\nGenerates a seed locally. Use only for testing.\n\nskills/lnd/scripts/create-wallet.sh --mode standalone\n\n\nHandles the full wallet creation flow via REST API:\n\nGenerates a secure random wallet passphrase\nCalls /v1/genseed to generate a 24-word seed mnemonic\nCalls /v1/initwallet with the passphrase and seed\nStores credentials securely:\n~/.lnget/lnd/wallet-password.txt (mode 0600)\n~/.lnget/lnd/seed.txt (mode 0600)\nUnlock Wallet\nskills/lnd/scripts/unlock-wallet.sh\n\n\nAuto-unlock is enabled by default in the container via --wallet-unlock-password-file. Manual unlock is only needed if auto-unlock is disabled.\n\nRecover Wallet from Seed (Standalone Only)\nskills/lnd/scripts/create-wallet.sh --mode standalone --recover --seed-file ~/.lnget/lnd/seed.txt\n\nStarting and Stopping\nStart\n# Docker standalone (default)\nskills/lnd/scripts/start-lnd.sh\n\n# Docker watch-only (production)\nskills/lnd/scripts/start-lnd.sh --watchonly\n\n# Docker with profile\nskills/lnd/scripts/start-lnd.sh --profile taproot\n\n# Mainnet\nskills/lnd/scripts/start-lnd.sh --network mainnet\n\nStop\n# Stop (preserve data)\nskills/lnd/scripts/stop-lnd.sh\n\n# Stop and clean (remove volumes)\nskills/lnd/scripts/stop-lnd.sh --clean\n\n# Stop all litd containers\nskills/lnd/scripts/stop-lnd.sh --all\n\nNode Operations\n\nAll commands auto-detect the litd container:\n\nNode Info\nskills/lnd/scripts/lncli.sh getinfo\nskills/lnd/scripts/lncli.sh walletbalance\nskills/lnd/scripts/lncli.sh channelbalance\n\nFunding\nskills/lnd/scripts/lncli.sh newaddress p2tr\nskills/lnd/scripts/lncli.sh walletbalance\n\nChannel Management\nskills/lnd/scripts/lncli.sh connect <pubkey>@<host>:9735\nskills/lnd/scripts/lncli.sh openchannel --node_key=<pubkey> --local_amt=1000000\nskills/lnd/scripts/lncli.sh listchannels\nskills/lnd/scripts/lncli.sh closechannel --funding_txid=<txid> --output_index=<n>\n\nPayments\nskills/lnd/scripts/lncli.sh addinvoice --amt=1000 --memo=\"test payment\"\nskills/lnd/scripts/lncli.sh decodepayreq <bolt11_invoice>\nskills/lnd/scripts/lncli.sh sendpayment --pay_req=<bolt11_invoice>\nskills/lnd/scripts/lncli.sh listpayments\n\nMacaroon Bakery\n\nUse the macaroon-bakery skill for least-privilege agent credentials:\n\nskills/macaroon-bakery/scripts/bake.sh --role pay-only\nskills/macaroon-bakery/scripts/bake.sh --role invoice-only\nskills/macaroon-bakery/scripts/bake.sh --inspect <path-to-macaroon>\n\nConfiguration\nContainer Config\n\nThe Docker compose templates pass configuration via command-line arguments. For advanced customization, mount a custom litd.conf:\n\nlitd template: skills/lnd/templates/litd.conf.template\nlnd template (native): skills/lnd/templates/lnd.conf.template\n\nNote: litd requires lnd. prefix for lnd flags (e.g., lnd.bitcoin.active). Standalone lnd does not use the prefix.\n\nKey Defaults\nBackend: neutrino (BIP 157/158 light client)\nDatabase: SQLite\nNetwork: testnet (override with --network mainnet)\nAuto-unlock: enabled via password file\nContainer Naming & Ports\nContainer\tPurpose\tPorts\nlitd\tMain Lightning Terminal\t8443, 10009, 9735, 8080\nlitd-signer\tRemote signer (lnd)\t10012, 10013\nlitd-bitcoind\tBitcoin Core (regtest only)\t18443, 28332, 28333\nPort Reference\nPort\tService\tDescription\n8443\tlitd UI\tLightning Terminal web UI\n9735\tLightning\tPeer-to-peer Lightning Network\n10009\tgRPC\tlncli and programmatic access\n8080\tREST\tREST API (wallet, etc.)\n10012\tSigner gRPC\tRemote signer RPC\n10013\tSigner REST\tSigner REST API\nFile Locations\nPath\tPurpose\n~/.lnget/lnd/wallet-password.txt\tWallet unlock passphrase (0600)\n~/.lnget/lnd/seed.txt\t24-word mnemonic backup (0600, standalone only)\n~/.lnget/lnd/signer-credentials/\tImported signer credentials (watch-only)\nversions.env\tPinned container image versions\nskills/lnd/templates/\tDocker compose and config templates\nskills/lnd/profiles/\tProfile .env files\nVersion Pinning\n\nContainer image versions are pinned in versions.env at the repo root:\n\nLITD_VERSION=v0.16.0-alpha\nLND_VERSION=v0.20.0-beta\n\n\nOverride at runtime:\n\nLITD_VERSION=v0.17.0-alpha skills/lnd/scripts/start-lnd.sh\n\nIntegration with lnget\n\nOnce litd is running with a funded wallet and open channels:\n\nlnget config init\nlnget ln status\nlnget --max-cost 1000 https://api.example.com/paid-data\n\nSecurity Considerations\n\nSee references/security.md for detailed guidance.\n\nDefault model (watch-only with remote signer):\n\nNo seed or private keys on the agent machine\nSigning delegated to signer container via gRPC\nSet up with the lightning-security-module skill\n\nStandalone model (testing only):\n\nWallet passphrase and seed stored on disk (0600)\nSuitable for testnet and quick testing\n\nMacaroon security:\n\nNever give agents the admin macaroon in production\nBake scoped macaroons with the macaroon-bakery skill\nTroubleshooting\n\"wallet not found\"\n\nRun skills/lnd/scripts/create-wallet.sh to create the wallet.\n\n\"wallet locked\"\n\nRun skills/lnd/scripts/unlock-wallet.sh. Auto-unlock is enabled by default.\n\n\"chain backend is still syncing\"\n\nNeutrino needs time to sync headers:\n\nskills/lnd/scripts/lncli.sh getinfo | jq '{synced_to_chain, block_height}'\n\nContainer not starting\ndocker logs litd\ndocker logs litd-signer\n\n\"remote signer not reachable\"\ndocker ps | grep litd-signer\ndocker logs litd-signer"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Roasbeef/lnd",
    "publisherUrl": "https://clawhub.ai/Roasbeef/lnd",
    "owner": "Roasbeef",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lnd",
    "downloadUrl": "https://openagent3.xyz/downloads/lnd",
    "agentUrl": "https://openagent3.xyz/skills/lnd/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lnd/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lnd/agent.md"
  }
}