Blake's avatar
Blake
_@wako.ws
npub1ktw5...mrvj
#Bitcoin #Nostr #Freedom wss://relay.nostrgraph.net
Blake's avatar
wakoinc 2 years ago
#[0]​ for nodeless.io, do you have documented webhook payload JSON? I can see the CRUD APIs, just not what the webhook should expect. Does it return the same as the types GET _type_ Request for each?
Blake's avatar
wakoinc 2 years ago
Anyone have a Nostr Tor onion address relay? I’m testing a PR to add support for nostcat.
Blake's avatar
wakoinc 2 years ago
If you’re not sure what WebLN is, below is a good primer. My only next question is when will we get serious a web browser option that isn’t failzilla or gloatware? Safari extensions have issues too. These corporations are literally stonewalling alternative browser payment integrations where they don’t get a cut. https://medium.com/@pavan.techie/making-bitcoin-transactions-smart-with-structured-metadata-1c3be0ab428 It’s also used by snort and Nostr web clients to support paying invoices and zapping.
Blake's avatar
wakoinc 2 years ago
Updated my Nostr Event parser POC. Now extracts events, relays, bech-32 encoded nostr: entities. If you want to get an idea of how much data a single fairly short event can parse into.. it’s worth a look. It’s kind of like an AST for Nostr events - that ideally can be used by rendering engines or whatever. May look at adding #[0]​ ‘s NDK to optionally query pubkeys/events for more info.
Blake's avatar
wakoinc 2 years ago
TLDR: they are making usernames/handles globally unique (previously case insensitive and appended with 4+ digit number). Display names can be anything. Usernames and handles only really used to connect or differentiate/compare profiles. Effectively in a Nostr world, pubkeys are too hard to share, use a NIP-05 as handle, (Display) Name yourself whatever. Maybe “Nostr Username” or “Nostr Handle” are a better lexicons for NIP05 identifiers. It helps take away the ‘verified/verification’ misunderstanding. I guess it’s possible to read-only login using your nip05 as a username too.
Blake's avatar
wakoinc 2 years ago
#[0]​ my NostrGraph relay’s status in Damus has been flapping. Only started the last couple weeks or so. No changes my end, and server data seems fine. Anything I should check? Maybe rate limiting or something is getting triggered.
Blake's avatar
wakoinc 2 years ago
Holy shit. This game nails the problem with moderation. Literally give it a go if you think moderation works. You’ll see how it’s near impossible to do quickly, it’s always biased, 70% accuracy gets applauded, you regularly make decisions (on behalf of everyone else) without any real way to know, decisions are highly contextual or location based - like legality, and so on. And don’t forget moderators have KPIs today based on number of items reviewed.. they are literally paid more to think the exact same as each other and moderate with the same action (as many moderations are sent to multiple people to check consensus and that people are working and not blindly swiping/clicking). View quoted note → image
Blake's avatar
wakoinc 2 years ago
Having been prototyping a Nostr payed lightning CDN, I’m circling back to read up on LSAT again. Effectively it leverages the 402 Payment Required HTTP response, and a WWW-Authentication header (exactly my approach) and acts as a reverse proxy in front of a service. It doesn’t require private key auth, which seems great, but you also need to store state for a macaroon and a payment hash (which also allows sharing). LSAT does enable fine grain pay as you go payment models - perhaps interesting for Nostr services. LSAT doesn’t seem to have really taken off since 2020. Maybe Nostr’s zap and lightning adoption could help growth. #[0]​ just released this LSAT demo as well, with split payments. https://weather-lightning.bumi17.repl.co Anyway, I think it’s worth exploring more and understanding what options and approaches we have, that may be useful as part of Nostr functionality and economy.
Blake's avatar
wakoinc 2 years ago
I’ve updated my rust Lightning webhook library example code for both BTCPay and LNbits - you literally can set some ENV vars, uncomment some code, and set your desired SQL payment code. Then you just create your invoices with metadata like a pubkey, enable web hooks, and you’re 😎.