I’m hoping to be able to do it outside any app, as if I just run a python command on my computer or a server and it hits your API… is that kind of thing possible?

Reply to this note

Please Login to reply.

Discussion

totally. And you want to access one specific account and interact with that? or do you want to allow users to connect their accounts to your app?

a start is: https://getalby.com/developers

but I am happy to help here.

Just interact with one account that I own and control - so I can send zaps (or just regular payments to lightning addresses specifically without having to deal with invoices) programmatically (like a bot that zaps people)

Hi, you can use alby-tools and alby-js-sdk to send payments with Nostr Wallet Connect. You can see some example code at https://replit.com/@bumi17/nwc-demo and ZapPlanner (https://github.com/getAlby/ZapPlanner/)

At first glance those projects look like they require a user to manually authorize alby to connect - does it also have a feature to send payments to lightning addresses without requiring alby extension interaction or manual interaction ?

With NWC, yes. You setup the app connection once and then it can send payments on your behalf

I saw that guide and wasn’t sure if that same functionality would work if I didn’t care about external users and just wanted to send out payments or zaps from just my one account I control