Consensus Layer P2P
This project is a basic setup for a consensus layer peer-to-peer connection, as specified in the consensus layer specifications of the peer-to-peer interface.
I also made this brief post for my initial research on the topic which you may find complementary for the code.
It is based on the lighthouse client beacon chain networking and examples of basic implementations for both discovery and gossipsub connections, featuring:
Established connections are dropped by peers due to not having the correct eth2 field in the ENR. Working on it!
There's also some work to be made for message processing using: