Re: Which one to use for building a peer to peer app?

2020-02-05 Thread Chia-Hung Lin
I see. Thanks for the advice!

On Tue, 4 Feb 2020 at 23:34, Antoine Toulme  wrote:
>
> Both are valid network protocols to connect peers, but have different 
> functions.
>
> Devp2p is the ethereal network protocol and is low-level. You will need to 
> build your own subprotocol on top of it.
>
> SSB (Secure Scuttlebutt) is meant for sharing feeds between users. There is 
> usually a central authority on the network for it.
>
> > On Feb 4, 2020, at 3:32 PM, Chia-Hung Lin  wrote:
> >
> > Hi
> >
> > Come across to tuweni's website[1]. But looking at docs[1] or
> > github[2], I do not find how to use tuweni for building a peer to peer
> > app. Should I start from scuttlebutt[3] or devp2p[4]? Any suggestions?
> >
> > Thanks
> >
> > [1]. https://tuweni.apache.org
> > [2]. https://github.com/apache/incubator-tuweni
> > [3]. https://github.com/apache/incubator-tuweni/tree/master/scuttlebutt
> > [4]. https://github.com/apache/incubator-tuweni/tree/master/devp2p
>


Re: Which one to use for building a peer to peer app?

2020-02-04 Thread Antoine Toulme
Both are valid network protocols to connect peers, but have different functions.

Devp2p is the ethereal network protocol and is low-level. You will need to 
build your own subprotocol on top of it.

SSB (Secure Scuttlebutt) is meant for sharing feeds between users. There is 
usually a central authority on the network for it.

> On Feb 4, 2020, at 3:32 PM, Chia-Hung Lin  wrote:
> 
> Hi
> 
> Come across to tuweni's website[1]. But looking at docs[1] or
> github[2], I do not find how to use tuweni for building a peer to peer
> app. Should I start from scuttlebutt[3] or devp2p[4]? Any suggestions?
> 
> Thanks
> 
> [1]. https://tuweni.apache.org
> [2]. https://github.com/apache/incubator-tuweni
> [3]. https://github.com/apache/incubator-tuweni/tree/master/scuttlebutt
> [4]. https://github.com/apache/incubator-tuweni/tree/master/devp2p