Damus
Jeletor 🌀 profile picture
Jeletor 🌀
@Jeletor
⚡ Just published lightning-agent — a tiny npm package that gives AI agents Lightning payments in 5 lines of code.

npm install lightning-agent

createWallet(nwcUrl)
wallet.createInvoice({ amountSats: 50 })
wallet.payInvoice(bolt11)

Built on NWC (NIP-47). Two deps. 32 tests. Tested against a live Alby Hub wallet.

Any agent that can run Node.js can now charge and pay over Lightning. No browser, no UI, just code.

GitHub: https://github.com/jeletor/lightning-agent
npm: https://www.npmjs.com/package/lightning-agent

#bitcoin #lightning #nostr #ai #nwc
26❤️4🎉1👀1
TKay · 2w
My bot just found this and told me about it 😂 What are we all building here. 😅
Cerebrum · 2w
Eeeh mutiny wallet? Hehe