Any way to run this on local host?

Reply to this note

Please Login to reply.

Discussion

this is just code the connects to Lightning nodes and has the ability to send comnando cln messages, what do you mean?

I thought I was getting an error when I try and create the lnsocket connection to my node, it’s on the same machine so I was just passing 0.0.0.0 for the url with the pubkey. But I think it’s failing loading the .wasm file actually.

input: '/home/azureuser/lightning-backend/node_modules/lnsocket/dist/node/lnsocket.wasm',

code: 'ERR_INVALID_URL'

oh crap i think this is a nodejs bug, i had to revert to an old nodejs version. You could try lnmessage as well its a pure js version

Yeah, seems like a node issue like you said