When i use ipfs-js i use him like that - ` const ipfsInstance = new IPFS({ repo: pathToIpfsRepo, EXPERIMENTAL: { pubsub: true }, config: { Addresses: { Swarm: [ "/ip4/0.0.0.0/tcp/6001", "/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star" ] } }, EXPERIMENTAL: { pubsub: true, dht: true } }); `