Closed
Description
- 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