Description
That is not an issue, that is mostly a proposal/ask for help. I am not sure what would be the best place to ask such question.
I am looking for a way to run a LN node inside the browser. One way would be to implement BOLT protocol from scratch in JS, but I am thinking of an easy way.
Has anyone succeed in compiling this project under WebAssembly? http://webassembly.org/getting-started/developers-guide/. WebAssembly is a C/C++ compiler into browser-compatible byte-code. It can use JS-API, but can also work with low-level C functions.
What are specific things c-lighting does that would stop from running it inside browser? e.g. my main concern are sockets, because for WebAssembly you should use special wrappers given by Emscripten lib.
So, my question is what should I look for when trying to run that, and also I want to hear your general feedback on the idea.
P.S. If here's not the place for this, can you please point me to where I can get such feedback?