Skip to content

Improve libp2p config #576

Closed
Closed
@vasco-santos

Description

@vasco-santos
  • Version: N/A
  • Platform: N/A
  • Subsystem: N/A

Type: Enhancement

Severity: N/A

Description:

The developer experience of the current libp2p config is one of the pain points for libp2p users, particularly new users. Moreover, there are a few inconsistencies in the config structure and the distance between the modules setup and the configuration for those modules causes some confusion among libp2p users.

Here follows a few ideas already discussed around this topic:

User friendly libp2p configs

  • Pre baked configs (libp2p-browser, libp2p-node, etc)
  • Potentially test against js-libp2p suite

Known issues

  • module configuration separated from the modules
  • DHT not part of content routing / peer routing
  • transports with discovery built-in cannot be added to the discovery modules
  • transports with encryption & multiplexing built-in
  • sane defaults

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps updxDeveloper Experienceexp/expertHaving worked on the specific codebase is importantexplorationkind/enhancementA net-new feature or improvement to an existing featurekind/supportA question or request for supportstatus/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions