Skip to content
Agentmart
Submit a tool

archon-lightning

Lightning Network payments via Archon DIDs - create wallets, send/receive sats, verify payments, Lightning Address zaps

Skill by LeoYeAI

IndexedMIT★ 2,168
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/leoyeai-archon-lightning

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Lightning Network payments via Archon DIDs - create wallets, send/receive sats, verify payments, Lightning Address zaps

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/archon-lightning

What's inside

Skill name
archon-lightning
Description
Lightning Network payments via Archon DIDs - create wallets, send/receive sats, verify payments, Lightning Address zaps
License
MIT
Instructions
654 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • body: 654 lines (spec recommends under 500)

Files (13)

  • README.md
  • SKILL.md
  • _meta.json
  • add-lightning.sh · scripts/lightning/
  • lightning-balance.sh · scripts/lightning/
  • lightning-check.sh · scripts/lightning/
  • lightning-decode.sh · scripts/lightning/
  • lightning-invoice.sh · scripts/lightning/
  • lightning-pay.sh · scripts/lightning/
  • lightning-payments.sh · scripts/lightning/
  • lightning-zap.sh · scripts/lightning/
  • publish-lightning.sh · scripts/lightning/
  • unpublish-lightning.sh · scripts/lightning/

SKILL.md (first lines)

# Archon Lightning - Lightning Network Payments for DIDs

Lightning Network integration for Archon decentralized identities. Send and receive Bitcoin over Lightning using your DID.

**Related skills:**
- `archon-keymaster` — Core DID identity management
- `archon-vault` — Encrypted backups

## Capabilities

- **Lightning Wallet Management** - Create Lightning wallets for DIDs
- **Invoice Generation** - Create BOLT11 invoices to receive payments
- **Invoice Payment** - Pay BOLT11 invoices
- **Payment Verification** - Verify payments settled (critical security pattern)
- **Lightning Address Zapping** - Send to Lightning Addresses (`user@domain.com`)
- **Payment History** - Track all Lightning transactions
- **Balance Checking** - Query wallet balance
- **DID Integration** - Publish Lightning endpoint to DID document
- **Invoice Decoding** - Inspect BOLT11 invoice details

## Prerequisites

- Node.js installed (for `npx @didcid/keymaster`)
- Archon identity configured (`~/.archon.env` with `ARCHON_WALLET_PATH`, `ARCHON_PASSPHRASE`)
- `jq` recommended for JSON parsing

All created by `archon-keymaster` setup. If you don't have Archon configured yet, see the `archon-keymaster` skill first.

## Security Notes

This skill handles Lightning Network payments:

1. **Non-custodial**: You control your Lightning node and private keys
2. **Payment verification is built-in**: `lightning-pay.sh` automatically verifies payments; if using keymaster directly, you must verify manually with `lightning-check` (see Payment Verification Pattern below)
3. **Environment access**: Scripts source `~/.archon.env` for wallet access
4. **Network connectivity**: Connects to Lightning Network via Archon gatekeeper

## Quick Start

### Create Lightning Wallet

```bash
./scripts/lightning/add-lightning.sh [id]
```

Creates a Lightning wallet for your current DID (or specified DID alias).

Examples:
```bash
./scripts/lightning/add-lightning.sh          # Current DID
./scripts/lightning/add-lightning.sh work     # Specific DID alias
```

### Check Balance

```bash
./scripts/lightning/lightning-balance.sh [id]
```

Returns current balance in satoshis.

Example output:
```
2257 sats
```

## Receiving Payments

### Create Invoice

```bash
./scripts/lightning/lightning-invoice.sh <amount> <memo> [id]
```

Creates a BOLT11 invoice to receive payment.

**Arguments:**
- `amount` - Amount in satoshis (1000 = 0.00001 BTC)
- `memo` - Description/memo for the invoice
- `id` - (optional) DID alias, defaults to current identity

**Example:**
```bash
./scripts/lightning/lightning-invoice.sh 1000 "Coffee payment"
```

**Output:**
```json
{
  "paymentRequest": "lnbc10u1p...",
  "paymentHash": "a3f7b8c9..."
}
```

Share this invoice with the payer. They can:
- Scan as QR code
- Paste into any Lightning wallet
- Pay via Lightning-enabled app

## Sending Payments

### Pay Invoice (Basic)

```bash
./scripts/lightning/lightning-pay.sh <bolt11> [id]
```

Pay a BOLT11 invoice with automatic payment verification.

**Arguments:**
- `bolt11` - BOLT11 invoice string
- `id` - (optional) DID alias to pay from

**Output:** Success or failure message with exit code

**Example:**
```bash
./scripts/lightning/lightning-pay.sh lnbc10u1p...
# ✅ Payment confirmed

From LeoYeAI/openclaw-master-skills, MIT.

More from LeoYeAI/openclaw-master-skills

Signals

Stars
2,168
Forks
325
Open issues
13
Last commit (this folder)
Jul 20, 2026 (3 months ago)
Last release
Jul 20, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
myclaw.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from LeoYeAI

Cite this page

archon-lightning skill. Agent Mart. https://agentmart.dev/skills/leoyeai-archon-lightning (last updated 2026-10-24)