LNbits Wallet Manager for Openclaw

A secure integration for AI agents to manage Bitcoin Lightning Network wallets via the LNbits API.

talvasconcelos
v1.0.0
Jan 29, 2026
0
2.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lnbits

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lnbits using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is LNbits Wallet Manager?

The LNbits Wallet Manager is a robust tool designed to give AI agents the ability to interact with the Bitcoin Lightning Network. By leveraging the LNbits API, this skill allows for sophisticated financial automation, including real-time balance monitoring, payment settlement, and invoice generation. It is built with a focus on security, ensuring that agents can participate in the circular economy without compromising sensitive credentials.

As part of the broader ecosystem of Openclaw Skills, this integration provides a standardized interface for Lightning operations. Whether you are building an automated tipping bot or a programmatic payment gateway, this skill ensures that your agent follows strict confirmation protocols before moving funds, making it both powerful and safe for production environments.

LNbits Wallet Manager Use Cases

  • Automating micro-payments for digital services and API access.
  • Creating dynamic payment requests for AI-driven e-commerce workflows.
  • Managing project-based funding and automated disbursement of Satoshis.
  • Integrating Bitcoin rewards into community engagement bots.

How LNbits Wallet Manager Works

  1. The AI agent initializes the connection using the LNbits API Key and Base URL environment variables.
  2. For outgoing payments, the agent first decodes the Bolt11 invoice to verify the recipient and amount.
  3. A mandatory confirmation step is triggered to ensure human oversight before any satoshis are sent.
  4. For incoming funds, the agent generates a unique Bolt11 invoice which is then presented to the user or client.
  5. The agent monitors the wallet state using the balance command to confirm transaction success.

LNbits Wallet Manager Setup

To enable this skill, you must provide your LNbits credentials as environment variables. If you do not have a wallet, you can generate one using the CLI tool included in Openclaw Skills.

export LNBITS_BASE_URL=https://demo.lnbits.com
export LNBITS_API_KEY=your_admin_key_here

To create a new wallet on the demo server:

python3 scripts/lnbits_cli.py create --name "Agent Wallet"

LNbits Wallet Manager Data Schema & Taxonomy

The skill utilizes environment variables for configuration and structured JSON for transaction metadata.

Attribute Description
LNBITS_API_KEY The secret admin key used to authorize wallet actions.
LNBITS_BASE_URL The endpoint of the LNbits instance (e.g., demo or self-hosted).
bolt11 The standard encoded string for Lightning Network invoices.
sats The unit of currency (Satoshis) used for all transactions.

LNbits Wallet Manager Advanced Features

  • Human-in-the-loop security protocols requiring explicit confirmation for all outgoing transactions.
  • Automatic invoice decoding to prevent payment errors and ensure destination accuracy.
  • Support for both demo and self-hosted LNbits instances for maximum privacy and control.
  • Streamlined wallet creation workflow for rapid deployment of new agent identities.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*