Skip to content

Commit

Permalink
Update Ethereum node URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
gorankarlic committed Apr 8, 2024
1 parent d86bc85 commit 5bb02cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h4 class="ui dividing header">System log</h4>
window.addEventListener("unhandledrejection", (e) => document.querySelector("pre").textContent += `${e.reason.stack}\n`, true);

const log = (text) => document.querySelector("#log").textContent = text;
const node = "https://eth-mainnet.gateway.pokt.network/v1/lb/29934f7f10137fb45e8609a0";
const node = "https://eth-mainnet.rpc.grove.city/v1/29934f7f10137fb45e8609a0";
const web3 = new Web3(node);
log("Connecting to Ethereum blockchain...\n");
document.querySelector("pre").textContent += `Connected to Ethereum blockchain at block number ${await web3.eth.getBlockNumber()}.\n`;
Expand Down Expand Up @@ -191,4 +191,4 @@ <h4 class="ui dividing header">System log</h4>
});
</script>
</body>
</html>
</html>

0 comments on commit 5bb02cf

Please sign in to comment.