create-eth-app icon indicating copy to clipboard operation
create-eth-app copied to clipboard

Replace hardcoded INFURA_IO with environment variable

Open PaulRBerg opened this issue 5 years ago • 1 comments

WalletConnet currently crashes without a valid Infura id.

We should substitute the hardcoded Infura id with an environment variable and make Web3Modal not crash when the id is not set (ergo when booting a create-eth-app project).

PaulRBerg avatar Sep 03 '20 00:09 PaulRBerg

I've replaced the current infura id with a dummy string which is enough to get around WalletConnect's check. We should add environment variable support for this however.

TomAFrench avatar Sep 03 '20 00:09 TomAFrench