so, i'm trying a new thing with Junie

i've asked it to take the NWC package of https://github.com/getAlby/js-sdk and translate it to #golang

i'm sure it's gonna not work but it might be good enough that i can fix it and make it work.

why alby built half of their infra with go and never considered building the client/server parts of the NWC SDK so they can be used by go based apps is beyond me. but hopefully i will fix this, and i'm NOT porting it to go-nostr, because that is a bag of dicks, slathered in blueberry and pickles.

Maybe this can help. It's an implementation of me hijacking the spec to transfer utxos and other data via nostr for a silent payment thing I've been working on. It's server side code but at least it's GO...

https://github.com/setavenger/blindbit-scan/tree/master/pkg/networking/nwc

Reply to this note

Please Login to reply.

Discussion

looks ok, but i have to meld it with my highly modified fork of go-nostr... i've done the server part, just gotta connect up the client parts and then i'll be able to start building a relay bot that manages subscriptions based on payments

followed you because i haven't got an ear to listen to people who are all in on the Cult of Dev

i'm just wondering also why the client is only doing nip-04 crypto though, now i'm working through the client part. easy enough to change it probably but maybe there is a reason nostr:npub1xv8mzscll8vvy5rsdw7dcqtd2j268a6yupr6gzqh86f2ulhy9kkqmclk3x ?