nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Feat: Implement PING example in nim-libp2p from rust-libp2p

Open muddlebee opened this issue 2 years ago • 4 comments

Implement PING example in nim-libp2p from rust-libp2p

https://github.com/libp2p/rust-libp2p/blob/master/examples/ping.rs

muddlebee avatar Jan 16 '22 16:01 muddlebee

Hi, you'll find something similar here: https://github.com/status-im/nim-libp2p/blob/master/examples/tutorial_1_connect.md

Menduist avatar Jan 16 '22 18:01 Menduist

hey @Menduist thanks.

I was exploring nim-language and nim-libp2p. Goal of this feature was to get a hands on with nim-lang and get the idea of nim-libp2p so that it helps me in contributing to other eth-1/2 projects :)

Will it be okay if I implement some of the examples from https://github.com/libp2p/rust-libp2p/tree/master/examples to here? to get a learning grasp and also some value added here at nim-libp2p?

muddlebee avatar Jan 17 '22 06:01 muddlebee

Also I am pariticipating in Ethereum Core Developer Apprenticeship program https://blog.ethereum.org/2021/09/06/core-dev-apprenticeship-second-cohort/ . So I found the status projects for contribution.

muddlebee avatar Jan 17 '22 06:01 muddlebee

Will it be okay if I implement some of the examples from https://github.com/libp2p/rust-libp2p/tree/master/examples to here?

Of course, any contribution is welcomed :) From your link, we already have a ping & chat examples, but you're welcome to revisit them if you want

Note that we currently don't have a DHT implementation (it's in progress), which may limit you for some of the examples

Menduist avatar Jan 17 '22 12:01 Menduist