Can't seem to get browser js-ipfs functioning over the net using webrtc-star or circuit-relay

  1. webrtc-star allows browser-browser communication, circuit-relay is useful when this isn’t possible
  2. Yes.
  3. For star, connecting to local peers is expected, for relay, this:
await ipfs.swarm.connect("/dns6/ipfs.thedisco.zone/tcp/4430/p2p/12D3KooWChhhfGdB9GJy1GbhghAAKCUR99oCymMEVS4eUcEy67nt/p2p-circuit/p2p/<TARGET_PEERID>");
  1. js-ipfs doesn’t implement a keepalive, you have to do this yourself: Peers disconnect every 10 minutes
  2. Not sure
  3. For now I’m going to put an additional software on my node that looks for js-ipfs peers and announces their p2p-circuit multiaddress over a pubsub channel