IPFSWebNode constructor
- IPFSConfig? config,
- List<
String> bootstrapPeers = const [],
Creates a new web IPFS node.
Implementation
IPFSWebNode({IPFSConfig? config, this.bootstrapPeers = const []}) {
_platform = getPlatform();
_config = config ?? IPFSConfig(offline: true);
// Initialize networking components
_router = Libp2pRouter(_config);
_blockStore = WebBlockStore(_platform);
// Other components initialized in start()
}