0

I would like to implement the missing p2p communication for this example repo.

Does anyone know the best library I could use to implement communication between nodes? Moreover a tutorial or guide to understand communication between nodes in a blockchain?

1

Although there are many p2p networking implementation but libp2p and ÐΞVp2p are the most popular ones.

libp2p is used in IFPS where as ÐΞVp2p is used in Ethereum. Both are well maintained and upto date p2p networking library and supports sub protocols to be developed on top of them.

Both have supported features like NAT traversal, encrypted streams, routing, peer discovery.

Going through the example code in their respective repositories is a good starting point.

Edited: Here are some sample programs for ÐΞVp2p go implementation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.