Re: [Lightning-dev] Lightning JavaScript implementation that conforms BOLT

2018-04-23 Thread Tyler H
Aleksey, Considering the security situation with browsers, I think a better approach would be to write an extension that interfaces with a daemon already running on the system thrlugh REST or similar. Lightning Charge would help here for c-lightning, or lnd has REST and gRPC built in. The key di

Re: [Lightning-dev] Lightning JavaScript implementation that conforms BOLT

2018-04-22 Thread Igor Cota
Hi Aleksey, Your biggest obstacle is probably the fact that c-lightning spawns several processes (subdaemons) and depends on the bitcoin-cli binary for bitcoind RPC. If WebAssembly supports multiple processes (not just threads) that's a good start I guess. There is a c-lightning specific mailing

[Lightning-dev] Lightning JavaScript implementation that conforms BOLT

2018-04-22 Thread Быхун , Алексей Викторович
Hi everyone! 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 a more easy way. Has anyone succeed in compiling, for example, c-lightning project ( https://github.com/ElementsProject/lightning) under We