Addresses for transport listening and to advertise to the network
Optional
connectionA connection gater can deny new connections based on user criteria
libp2p Connection Manager configuration
Optional
connectionA ConnectionProtector can be used to create a secure overlay on top of the network using pre-shared keys
Optional
contentAn optional datastore to persist peer information, DHT records, etc.
An in-memory datastore will be used if one is not provided.
Optional
dhtPass a DHT implementation to enable DHT operations
libp2p fetch protocol options
libp2p identify protocol options
keychain configuration
Optional
metricsA Metrics implementation can be supplied to collect metrics on this node
The NAT manager controls uPNP hole punching
Optional
peerpeerId instance (it will be created if not provided)
Optional
peerlibp2p Peer routing service configuration
libp2p PeerStore configuration
libp2p ping protocol options
Optional
pubsubIf a PubSub implmentation is supplied, PubSub operations will become available
If configured as a relay this node will relay certain types of traffic for other peers
Optional
streamlibp2p transport manager configuration
An array that must include at least 1 compliant transport
For Libp2p configurations and modules details read the Configuration Document.