Replies: 2 comments
-
I want to make sure for this test we don't need protocol negotiation, security, muxer and only a ping protocol on tcp transport, right? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@GrapeBaBa : ping protocol on tcp transport is a good start. We will later use protocol negotiation, security, muxer when we do hole punching interop and transport interop. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🔄 Zig ↔ Py libp2p Interoperability:
/ipfs/ping/1.0.0
This project aims to establish seamless interoperability between
zig-libp2p
andpy-libp2p
, starting with the canonical/ipfs/ping/1.0.0
protocol.We treat
ping
as the minimal working example to ensure multi-language libp2p compatibility and set the foundation for deeper protocol testing (e.g., hole punching, identify, relay).🎯 Goal
Enable a
py-libp2p
node to dial azig-libp2p
node and successfully:/ipfs/ping/1.0.0
🛠️ Tech Stack
zig-libp2p
py-libp2p
/ipfs/ping/1.0.0
✅ Phase 0: Setup & Verification
[ ] Zig
/ipfs/ping/1.0.0
listener.[ ] Python
py-libp2p
node using TCP transport.🔍 Phase 1: Interop Tests
📦 Test Suite
Create a simple
interop/
test folder with:zig_node.zig
— runs the ping serverpy_ping_test.py
— dials and verifies pingtest.sh
— launches both nodes and runs test✅ Interop Success Criteria
/ipfs/ping/1.0.0
opens successfully🚧 Phase 2: Optional Enhancements
📦 Future Work
After
ping
is stabilized:/libp2p/identify/1.0.0
for peer metadata sync/libp2p/dcutr
+ relays (hole punching)Beta Was this translation helpful? Give feedback.
All reactions