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

Example Custom Protocol Using Libp2p 0.55.0

Open sileneundula opened this issue 6 months ago • 1 comments

Libp2p Custom Protocol

Can some describe an example of all the code needed to implement a custom protocol with behavior for Libp2p 0.55.0

sileneundula avatar Jun 14 '25 13:06 sileneundula

Actually, all protocols in the protocols/ folder implement a custom behavior, so you can use any of them as example. The simplest one is protocols/ping, so that might be a good starting point.

elenaf9 avatar Jun 14 '25 17:06 elenaf9