js-ipfs
js-ipfs copied to clipboard
Support Circuit Relay v2 for Hole Punching
After https://github.com/libp2p/js-libp2p/issues/1029 ships, and we have v2 relays on the network, js-ipfs should have v2 client support enabled to be able to do the hole punching (https://github.com/libp2p/specs/blob/master/relay/DCUtR.md).
Hole punching is a big blocker for getting js-ipfs to work reliably for p2p use cases. 😅
Currently stuck with using the npm-go-ipfs repo since stuff often doesn't resolve or takes a very long time.
- LBL will add this in js-libp2p
- This will be supported in Helia
- This probably won't be enabled in js-ipfs
@tinytb What is LBL?
For anyone stumbling across this, the good news is that Circuit Relay V2 is being implemented in js-libp2p https://github.com/libp2p/js-libp2p/pull/1533 so that NAT hole punching is available for the JS part of the stack.
LBL is Little Bear Labs
js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here https://github.com/ipfs/js-ipfs/issues/4336 and read the migration guide.
This issue has been resolved in Helia! if this does not address your concern please let us know by reopening this issue before 2023-06-05!