Avatar
denis2342
3036e986c4cef0b2615e6bcf2d6d411310c73872f30c99b19ab7ba58a2df9f98
following bitcoin since difficulty 157416

#[0] https://github.com/denis2342/cln-nostr-zapper changed your script to use the unix socket directly and avoid calling a binary. rpc.js by #[1]

“Woke up, felt like shit. Went to work, felt like shit.” https://iwdrm.tumblr.com/post/20910300400

would be nice if the zap bolt would show if it is supporting nip-57. makes more fun to zap then

Replying to Avatar walker

yeah, I remember that one :)

it’s zappening again!

Replying to Avatar klabo

Yeah, sure. Here it is: https://github.com/joelklabo/blog/blob/main/lib/lightning/rpc.js

I haven’t done JS in a while so I’m not sure if this is any good or not but it’s been working

cool it works, after converting all requires in lnurl-commando to imports while still learning javascript (doing js since two weeks). even made the rpc a global so the unix socket connection stays alive

I converted lnurl-commando away from lnsocket and I use spawn to call lightning-cli. but directly using the unix socket is of course better. so I wanted to borrow that from you

#[0] website down?

#[0] tried your zapper, but I couldn’t see it sending something to the relay

“Oh, I lie now and then. Sometimes I’d tell them the truth and they still wouldn’t believe me, so I prefer to lie.” https://iwdrm.tumblr.com/post/9088204713

the book nostromo was written by joseph conrad who also wrote the heart of darkness which was the inspiration for apocalypse now.