Skip to content

🧩 Libp2p in go-perun #418

@NhoxxKienn

Description

@NhoxxKienn

🧩 Feature: Integrate libp2p into go-perun

Objective

Integrate libp2p as a transport layer in go-perun to enable modular, peer-to-peer communication, replacing or augmenting the existing communication backend.

Motivation

  • Standardize transport using a widely adopted p2p framework
  • Benefit from libp2p’s NAT traversal, multiplexing, encryption, and peer discovery
  • Facilitate interoperability with other libp2p-based systems

Location: wire/net/libp2p

Tasks

  • Migrate perun-libp2p-wire implementation to go-perun.
  • Integrate with go-perun wire protocol and peer address resolution
  • Add tests for transport integration (unit + integration)
  • Update documentation and examples to support libp2p usage

References

Related

Notes

This integration should be designed in a modular way to preserve backward compatibility and allow future transport backends.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions