Agent Skills: Usage

Add bitcoin lightning wallet capabilities to your app using Nostr Wallet Connect (NIP-47), LNURL, and WebLN. Send and receive payments, handle payment notifications, fetch wallet balance and transaction list, do bitcoin to fiat currency conversions, query lightning addresses, conditionally settle payments (HOLD invoices), parse BOLT-11 invoices, verify payment preimages.

UncategorizedID: getalby/alby-agent-skill/alby-bitcoin-builder

Install this agent skill to your local

pnpm dlx add-skill https://github.com/getAlby/builder-skill/tree/HEAD/alby-bitcoin-builder

Skill Files

Browse the full folder contents for alby-bitcoin-builder.

Download Skill

Loading file tree…

alby-bitcoin-builder/SKILL.md

Skill Metadata

Name
alby-bitcoin-builder
Description
Add bitcoin lightning wallet capabilities to your app using Nostr Wallet Connect (NIP-47), LNURL, and WebLN. Send and receive payments, subscribe to real-time payment notifications (use this instead of polling), fetch wallet balance and transactions, do bitcoin to fiat currency conversions, query lightning addresses, conditionally settle payments (HOLD invoices), parse BOLT-11 invoices, verify payment preimages.

Usage

Use this skill to understand how to build apps that require bitcoin lightning wallet capabilities.

Prefer Typescript

When the user says to use "JS" or "Javascript" or "NodeJS" or something similar, use typescript unless the user explicitly says to not use typescript or the project does not support it.

Imports

Do NOT import from the dist directory.

Read the Typings

Based on what functionality you require, read the relevant typings:

Testing Wallets

If the user doesn't have a wallet yet, or needs one for development or testing, testing wallets can be created with a single request.

Automated Testing

Testing wallets should be used for automated testing.

It is recommended to write tests so that the agent can test its own work and fix bugs itself without requiring human input.

Production Wallet

If they do not have a wallet yet here are some options