// OrbitDB uses Pubsub which is an experimental feature // and need to be turned on manually. const ipfsOptions = { EXPERIMENTAL: { pubsub: true }, config: { Addresses: { Swarm: [ '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star', // Use local signal server (https://github.com/libp2p/js-libp2p-websocket-star-rendezvous) // (e.g. rendezvous --port=9090 --host=127.0.0.1) '/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star' ] } }, preload: { enabled: false } }; export default ipfsOptions;