You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tuweni.apache.org by Chia-Hung Lin <cl...@googlemail.com> on 2020/02/04 23:32:10 UTC

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

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?

Posted by Chia-Hung Lin <cl...@googlemail.com>.
I see. Thanks for the advice!

On Tue, 4 Feb 2020 at 23:34, Antoine Toulme <an...@toulme.name> 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 <cl...@googlemail.com> 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?

Posted by Antoine Toulme <an...@toulme.name>.
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 <cl...@googlemail.com> 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