pull down to refresh
What other API's would you use with LN if they were available?
The most pressing: I'd pay a few sats for getting a direct libgen download instead of all the captcha shit. Heck I'd pay the science mafia if it were a reasonable amount of sats, and no captchas or edgesuite tor-blocking bs and no KYC... lol.
Other than that: I'd love it if I could pay hetzner or even AWS as I go. Daily billing, in sats.
I'm not a fan of L402 specifically, I have a potentially unhealthy obsession with obviating web-server setups and SSL certificates for each service.
There's so much shit that I cannot use because I don't use the ca-certificates pki. Just this afternoon I thought "let's use @bubblewrap/cli and this shit doesn't work with a private pki. tf goog.
So I'm with ya. I'd be fine with getting a gift wrapped nostr note instead of L402, except I don't like the "identity" so I'd do something like Authorization: NPub <npub...> with a single-use bip32 KDF. Because eff identity. As long as I pay it shouldn't matter what my identity is.
Agent could get a Pub account, from any Pub really, and use that.
Is that bootstrappable somehow? I know you have a custodial bootstrap on shockwallet - but I haven't touched it, yet. The challenge is the solution for nocoiners.
Would having a command line tool or dashboard button to create a guest nsec work?
Would actually work for an already graduated bot owner, but not for the nocoiner whose agent is their first exposure to LN.
What other API's would you use with LN if they were available?
I'm not a fan of L402 specifically, I have a potentially unhealthy obsession with obviating web-server setups and SSL certificates for each service. If you wanted to rent out your basement hardware for example, we should be able to do that quasi-p2p in a way such that you could send completions back, or at least notify that a job is done, without imparting an http req/res flow or my setting up my own endpoint for you to callback to.
As you see with Pub, the full API is nostr-based, and high bandwidth stuff can upgrade to RTC after a Nostr-based handshake.
Yea Pub is ideal for this because every account unprivileged, then only a single node admin gets promoted. Agent could get a Pub account, from any Pub really, and use that.
So like the agent operator gives the bot a guest account, but the operator themselves maybe has a graduated node? Pub does that by default, your guests are unprivleged but if the underlying node is illiquid it can bootstrap of another Pub, so the Pub itself is graduated... never need to re-point anything, agent always talks to the same Pub, but then the Pub quits bootstrapping once it can afford to do so and opens its own channel.
Would having a command line tool or dashboard button to create a guest nsec work? Then you just give the nsec to the agent and it can talk over Nostr to the Pub as its own account. With the nsec it would only be able to spend what it receives, via its own Lightning Address, offer, or from invoices it generates via the API.