Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffaa687

Browse files
committed
Update README
1 parent 5f0f347 commit ffaa687

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

README.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
# node
1+
![Base](logo.png)
2+
3+
# Base node
4+
5+
Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users to web3. It's built on Optimism’s open-source [OP Stack](https://optimism.io).
26

37
This repository contains the relevant Docker builds to run your own node on the Base network.
4-
Currently only the Base testnet (on Goerli) is supported.
8+
9+
### Supported networks
10+
11+
| Ethereum Network | Status |
12+
|------------------|--------|
13+
| Goerli testnet ||
14+
| Mainnet | 🚧 |
15+
516

617
### Usage
718

@@ -13,6 +24,15 @@ docker-compose up
1324
3. You should now be able to `curl` your Base node:
1425
```
1526
curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \
16-
-H "Content-Type: application/json" \
17-
http://localhost:8545
27+
-H "Content-Type: application/json" http://localhost:8545
28+
```
29+
30+
### Syncing
31+
32+
Sync speed depends on your L1 node, as the majority of the chain is derived from data submitted to the L1. You can check your syncing status using the `optimism_syncStatus` RPC on the `op-node` container. Example:
33+
```
34+
echo Latest synced block behind by: $((($(date +%s)-$( \
35+
curl -d '{"id":0,"jsonrpc":"2.0","method":"optimism_syncStatus"}' \
36+
-H "Content-Type: application/json" http://localhost:7545 | \
37+
jq -r .result.unsafe_l2.timestamp))/60)) minutes
1838
```

logo.png

2.36 MB
Loading

0 commit comments

Comments
 (0)