- defaultLibp2p(pubsubTopics, wakuGossipSub?, options?, userAgent?): Promise<Libp2p>
Parameters
- pubsubTopics: string[]
Optional
wakuGossipSub: ((components) => GossipSub)- (components): GossipSub
Returns GossipSub
Optional
options: Partial<CreateLibp2pOptions>Optional
userAgent: string
Returns Promise<Libp2p>