3 ms·
How does the web3 or whatever js running in your web browser know what gateway to use to interface with the blockchain? What if that gateway goes down? How does
by EGreg 7y ago
How does the web3 or whatever js running in your web browser know what gateway to use to interface with the blockchain? What if that gateway goes down? How does it or any ETH or Bittorent node bootstrap in general?
- Acrobatic_Road 7y agoThe web3.js file doesn't pick your gateway. MetaMask uses a default gateway from Infura, but you can switch to another such as Cloudflare's gateway or a local node.
- dboreham 7y agoThe web3 service host name is configurable by the user (with some defaults for batteries included user experience).