From 7c4e0cff0aad9934e9fb9362b64b036079978456 Mon Sep 17 00:00:00 2001 From: Harry <14015057+HarryVasanth@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:37:18 +0000 Subject: [PATCH] fix(readme): fmt --- subjects/blockchain/local-node-info/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/subjects/blockchain/local-node-info/README.md b/subjects/blockchain/local-node-info/README.md index 8155568ec9..c24d142c16 100644 --- a/subjects/blockchain/local-node-info/README.md +++ b/subjects/blockchain/local-node-info/README.md @@ -9,15 +9,15 @@ Create a web page called `localNodeInfo.html` that does the following: 1. Loads an Ethereum library, such as `ethers.js` or `web3.js`. 2. Connects to a local Ethereum node at `http://localhost:8545`. 3. Displays the following information on the page: - - The ID of the current network in an element with `chainId` as `id`. - - The number of blocks in the chain in an element with `blockNumber` as `id`. +- The ID of the current network in an element with `chainId` as `id`. +- The number of blocks in the chain in an element with `blockNumber` as `id`. ![image](network-infos.png) ### Hint -🚫 Please be aware that the test environment restricts internet access for security reasons. Therefore, you need to download the library and import it locally. +🚫 Please be aware that the test environment restricts internet access for security reasons. Therefore, you need to download the library and import it locally. 🎨 Automated tests only check for the content of elements with specific IDs; the rest of the design is up to you. @@ -38,5 +38,6 @@ Create a web page called `localNodeInfo.html` that does the following: ``` ### Notions + - [ethers Provider transaction-methods](https://docs.ethers.io/v5/api/providers/provider/#Provider--network-methods) -- [web3 providers](https://docs.web3js.org/guides/web3_providers_guide/) \ No newline at end of file +- [web3 providers](https://docs.web3js.org/guides/web3_providers_guide/)