Skip to content

Commit

Permalink
fixup infura provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Geihs committed Mar 31, 2024
1 parent 88d3f8e commit 3c0199a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function initWeb3(): Promise<EARTH> {
var provider: ethers.providers.Provider;
var signer: ethers.Signer;
if ((document.getElementById('connector-infura') as HTMLInputElement).checked) {
provider = new ethers.providers.InfuraProvider("ethereum", "de775d75c32e4d7f98f1e73caff8c616");
provider = new ethers.providers.InfuraProvider("homestead", "de775d75c32e4d7f98f1e73caff8c616");
signer = null;
} else {
// Instantiate Ethereum provider.
Expand Down

0 comments on commit 3c0199a

Please sign in to comment.