AlacrisIO / meta

Internal management of Legicash/Legilogic/Alacris
0 stars 0 forks source link

Establish a protocol for off-chain communication #121

Open fare opened 5 years ago

fare commented 5 years ago

As we start using State Channels and/or side-chains instead of direct style as backend to Alacrity, we need some reliable means of off-chain communication. But which?

web3.js 0.20 and 1.0 have an shh module that implements a protocol named Whisper (not to be confused with many other protocols named Whisper), based on a devp2p protocol still being actively developed by the Ethereum foundation. That looks like the most natural candidate.

The Bitcoin Lightning network, Nervos, Celer, Tezos, and more systems that we may or may not want to interact with, probably have their own solutions that may or may not make more sense for us to use considering our use case.

We need to decide what we use, and use it in our runtime.