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