mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-02 14:56:18 -04:00
Update README.md
This commit is contained in:
parent
8d4cf3aa62
commit
807e63f328
1 changed files with 37 additions and 0 deletions
|
@ -11,10 +11,16 @@ A custom Ethereum testnet contains three components:
|
|||
* a custom `NetworkID` , which we set `137`
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
### Gas
|
||||
|
||||
Gas refers to the unit that measures the computational effort required to execute specific operations on the Ethereum network.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
### Storage
|
||||
|
||||
More details to be added soon.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
### Faucet
|
||||
|
||||
More details to be added soon.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Interacting with the client
|
||||
|
@ -39,17 +57,27 @@ More details to be added soon.
|
|||
You can run commands directly in the console:
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
##### Getting total coinbase
|
||||
|
||||
```
|
||||
> web3.fromWei(eth.getBalance(eth.coinbase), "ether")
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
##### Getting a balance from an account
|
||||
|
||||
```
|
||||
> web3.fromWei(eth.getBalance("2ee8D80de1c389f1254e94bc44D2d1Bc391eD402"), "ether")
|
||||
```
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
#### 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
|
||||
```
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
#### Other useful checks
|
||||
|
||||
```
|
||||
|
@ -65,6 +97,8 @@ admin.nodeInfo
|
|||
```
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
### Setting this chain on MetaMask
|
||||
|
||||
|
@ -76,6 +110,9 @@ New RPC URL: localhost
|
|||
Chain ID: 137
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
---
|
||||
|
||||
## References
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue