Skip to content

Commit 8daa98c

Browse files
committed
Update
1 parent caf2197 commit 8daa98c

File tree

1 file changed

+6
-33
lines changed

1 file changed

+6
-33
lines changed

src/content/docs/en/developers/guides/running-a-scroll-node.mdx

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ whatsnext: { "Canvas & Bridge Integration Guide": "/developers/guides/canvas-bad
1111
import Aside from "../../../../../components/Aside.astro"
1212
import ToggleElement from "../../../../../components/ToggleElement.astro"
1313

14-
This guide will walk you through setting up your own Scroll MPT node using Docker with snapshot.
14+
This guide will walk you through setting up your own Scroll node using Docker with snapshot.
1515

1616
## Key Differences from Scroll Sepolia
1717

@@ -24,11 +24,6 @@ This guide will walk you through setting up your own Scroll MPT node using Docke
2424

2525
## Prerequisites
2626

27-
## Important Documents
28-
29-
- [Scroll RPCs (scroll namespace)](https://www.notion.so/Scroll-RPCs-scroll-namespace-e756b0df98fe42cda8a707083486f9e8)
30-
- [Euclid Upgrade (#5): Note for Partners](https://www.notion.so/scrollzkp/Euclid-Upgrade-5-Note-for-Partners-1ad7792d22af808cad5ac643a5ecdaf0)
31-
3227
## Staying Up-to-Date
3328

3429
Keep an eye on https://github.com/scroll-tech/go-ethereum/releases for new node releases.
@@ -42,10 +37,6 @@ We recommend using the latest release at https://github.com/scroll-tech/go-ether
4237

4338
The preferred network name is `Scroll` or `scroll`. If you operate a user-facing service (e.g. public RPC endpoint), please consider using this name.
4439

45-
## Guidance for RPC Providers
46-
47-
For more information about Scroll RPCs and namespace configuration, please refer to this [page](https://bit.ly/scroll-l2geth-rpc)
48-
4940
### Hardware Requirements
5041

5142
**Recommended**
@@ -66,24 +57,6 @@ This section assumes you are familiar with [Docker](https://www.docker.com/) and
6657
You will need access to a fully-synced **Ethereum Mainnet** RPC endpoint before running `l2geth`. You can maintain your own node or choose to use a 3rd-party provider that supports the standard Ethereum RPC APIs. The remainder of the article assumes that you have access to an L1 node’s HTTP RPC API at `L2GETH_L1_ENDPOINT`.
6758
Example: `L2GETH_L1_ENDPOINT="https://my-node.com:8545"`
6859

69-
## Dedicated Bootnodes
70-
71-
When you run l2geth using the --scroll flag, it will automatically connect to 5 default bootnodes. Additionally, we maintain 2 dedicated bootnodes for selected partners. You can connect to these through the l2geth console:
72-
73-
```bash
74-
$ l2geth attach "./l2geth-datadir/geth.ipc"
75-
76-
> admin.addPeer("enode://a28f9c5a8f6ed2a5063210a1253ddba9b8b48434e4700198ec8c6e687753dc0eba6dcef4fbbe8a6aeef2079884c2d85ca0bffcab8ec826111576a2cffe7a3266@44.230.97.163:30303")
77-
true
78-
79-
> admin.addPeer("enode://0bb5919853cb7cfc302d3c7ac266890cc8f3c67cce7e8fa8d45c3714237fbed395a7b964de131617cf10903774a8ef59d89c002136c2dedad9ef8bd8eddc3ef7@52.36.234.198:30303")
80-
true
81-
82-
> admin.peers.length
83-
7
84-
```
85-
Currently these 2 bootnodes are open but not publicised. If necessary, we will enable IP-whitelisting for these 2 bootnodes in the future.
86-
8760
---
8861
## Build and Run Using Docker with Snapshot
8962

@@ -104,12 +77,12 @@ SNAPSHOT_URL = https://scroll-geth-snapshot.s3.us-west-2.amazonaws.com/mpt/late
10477

10578
1. Create a new folder for the snapshot
10679
```bash
107-
mkdir l2geth-mpt
80+
mkdir l2geth
10881
```
10982

11083
2. Go to the created folder
11184
```bash
112-
push l2geth-mpt
85+
push l2geth
11386
```
11487

11588
3. Download the snapshot
@@ -126,10 +99,10 @@ SNAPSHOT_URL = https://scroll-geth-snapshot.s3.us-west-2.amazonaws.com/mpt/late
12699

127100
1. Go to the snapshot folder
128101
```bash
129-
cd l2geth-mpt
102+
cd l2geth
130103
```
131104

132-
2. In the l2geth-mpt folder, setup the docker-compose.yaml config
105+
2. In the l2geth folder, setup the docker-compose.yaml config
133106
Insert your config in the yaml file and save it, recommended config would be :
134107

135108
```bash
@@ -151,7 +124,7 @@ Insert your config in the yaml file and save it, recommended config would be :
151124
- 6060:6060
152125
- 30303:30303
153126
- 30303:30303/udp
154-
# mpt type
127+
155128
command:
156129
--scroll
157130
--scroll-mpt

0 commit comments

Comments
 (0)