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.
Install with Tessl CLI
npx tessl i github:getAlby/alby-agent-skill --skill alby-bitcoin-payments-agent-skill81
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Use this skill to understand how to build apps that require bitcoin lightning wallet capabilities.
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.
Do NOT import from the dist directory.
Based on what functionality you require, read the relevant typings:
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.
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.
If they do not have a wallet yet here are some options
879f90d
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.