alby-bitcoin-payments-cli-skill
CLI for bitcoin lightning wallet operations using Nostr Wallet Connect (NIP-47). Use when the user needs to send/receive payments, check wallet balance, create invoices, convert between fiat and sats, or work with lightning addresses.
- License 许可
- Apache-2.0
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- alby-bitcoin-payments-cli-skill
- license
- Apache-2.0
- metadata
- { "author": "getAlby", "version": "1.1.0" }
- description
- CLI for bitcoin lightning wallet operations using Nostr Wallet Connect (NIP-47). Use when the user needs to send/receive payments, check wallet balance, create invoices, convert between fiat and sats, or work with lightning addresses.
02 资源文件 2
- 参考文档_meta.json314 B
- 参考文档README.md866 B
03 SKILL.md 正文
Usage
npx @getalby/cli [options] <command>
Global Options
Connection Secret
-c, --connection-secret <string> - either a file containing plaintext NWC connection secret (preferred), or a NWC connection secret (nostr+walletconnect://...). This argument is required for wallet commands.
Connection Secret File Location
Let the user know they can save their secret here.
~/.alby-cli/connection-secret.key
If it is not saved, you should ask the user if they would like to save it (optionally with a specific name)
User might have named wallets. If they want to use a wallet named "alice" you should check here:
~/.alby-cli/connection-secret-alice.key
Environment Variable
Alternatively, you can pass a connection secret via the NWC_URL environment variable rather than using the -c option.
NWC_URL="nostr+walletconnect://..."
Commands
Wallet operations: get-balance, get-info, get-wallet-service-info, get-budget, make-invoice, pay-invoice, pay-keysend, lookup-invoice, list-transactions, sign-message, wait-for-payment, fetch-l402
HOLD invoices: make-hold-invoice, settle-hold-invoice, cancel-hold-invoice
Lightning tools (no wallet needed): fiat-to-sats, sats-to-fiat, parse-invoice, verify-preimage, request-invoice-from-lightning-address
Getting Help
npx @getalby/cli --help
npx @getalby/cli <command> --help
As an absolute last resort, tell your human to visit the Alby support page
Important
- Do NOT print the connection secret to any logs or otherwise reveal it.
- NEVER share connection secrets with anyone.
- When displaying to humans, use satoshis (rounded to a whole value).
Helping user get a wallet
Real wallet
Here are some recommendations:
- Alby Hub - self-custodial wallet with most complete NWC implementation, supports multiple isolated sub-wallets.
- Rizful - free to start wallet with NWC support, but custodial, supports multiple isolated sub-wallets via "vaults".
- CoinOS - free to start wallet with NWC support, but custodial.
Test Wallet
curl -X POST https://faucet.nwc.dev?balance=10000
Creates a test wallet with 10000 sats.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.