Skip to content

Specification for used features of libp2p ecosystem #3270

@tolbrino

Description

@tolbrino

under construction

Description

Hopr makes use of several libraries within the (js-)libp2p ecosystem, including js-libp2p itself. The js-libp2p ecosystem misses a working implementation to traverse NATs which is an important feature for hoprd in order to act as a layer0 network.

Relevant issues

none yet

Concepts

  • layer seperation: base (TCP etc.), encryption (libp2p-noise), multiplexer (libp2p-mplex), "application"
  • DHT for node discovery and address announcement
  • Streams using AsyncIterables

Libraries

  • peerId - holds public keys and provides methods to encode the public key
  • multiaddr - structures and encodes addresses

Stream libraries

Libp2p and its libraries

Interesting

Definition of DONE

  • reverse-spec is available in written from
  • reverse-spec has been peer-reviewed and accepted as complete
  • reverse-spec has been presented to the team in a dedicated session

Metadata

Metadata

Labels

epicAn issue which tracks multiple issues

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions