From 807e63f328562f465108b07dc037a00599b3bfe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BT3GL=20/ba=C9=AAt=C9=A1=C9=9D=C9=AB/?= <1130416+bt3gl@users.noreply.github.com> Date: Sat, 14 May 2022 13:51:11 -0700 Subject: [PATCH] Update README.md --- geth_and_k8s/README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/geth_and_k8s/README.md b/geth_and_k8s/README.md index 6e4d99a..5a5364a 100644 --- a/geth_and_k8s/README.md +++ b/geth_and_k8s/README.md @@ -11,10 +11,16 @@ A custom Ethereum testnet contains three components: * a custom `NetworkID` , which we set `137` +
+ ### Gas Gas refers to the unit that measures the computational effort required to execute specific operations on the Ethereum network. + +
+ + ### Nodes Running nodes are responsible for the following tasks: @@ -23,14 +29,26 @@ Running nodes are responsible for the following tasks: - participates in block validation (verifying blocks and states), - serve the network and provides data on request. + +
+ + ### Storage More details to be added soon. + +
+ + ### Faucet More details to be added soon. + +
+ + --- ## Interacting with the client @@ -39,17 +57,27 @@ More details to be added soon. You can run commands directly in the console: +
+ + ##### Getting total coinbase ``` > web3.fromWei(eth.getBalance(eth.coinbase), "ether") ``` +
+ + ##### Getting a balance from an account ``` > web3.fromWei(eth.getBalance("2ee8D80de1c389f1254e94bc44D2d1Bc391eD402"), "ether") ``` + + +
+ #### txpool API Access to several non-standard RPC methods to inspect the contents of the transaction pool containing all the currently pending transactions as well as the ones queued for future processing: @@ -58,6 +86,10 @@ Access to several non-standard RPC methods to inspect the contents of the transa txpool ``` + +
+ + #### Other useful checks ``` @@ -65,6 +97,8 @@ admin.nodeInfo ``` +
+ ### Setting this chain on MetaMask @@ -76,6 +110,9 @@ New RPC URL: localhost Chain ID: 137 ``` +
+ + --- ## References