Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 501bb97

Browse files
authored
Updates and fixes (#12)
-Introduction page: renamed to Erigon 3 Docs, updated with inputs from PR simplify release section #11 , introduced logo and Topics section - Introduced foldable menus for better reading - Updated to Erigon v3.0 while fixed git clone CLI in all pages - Txpool: fixed instructions and removed link to embedded docs see also documentation: incorrect description for external txpool I-internal-issues#2 - Staking with external client: fixed wrong instructions - Added Hoodi testnet - Other minor fixes
1 parent f9359f7 commit 501bb97

25 files changed

+217
-117
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The Erigon 3 Book
1+
# Erigon 3 Docs
22

33
This is the official Erigon 3 documentation, hosted at <https://docs.erigon.tech/>.
44

book.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[book]
2-
title = "The Erigon 3 Book"
2+
title = "Erigon 3 Docs"
33
authors = ["Erigon"]
44
description = "Erigon 3 documentation!"
55
language = "en"
@@ -8,3 +8,8 @@ src = "src"
88

99
[output.html]
1010
git-repository-url = "https://github.com/erigontech/docs"
11+
[output.html.fold]
12+
enable = true # whether or not to enable section folding
13+
level = 0 # the depth to start folding
14+
theme = "my-theme"
15+
default-theme = "Ayu"

src/SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- [Optimizing Storage](basic/optimizing-storage.md)
2222
- [Supported Networks](basic/networks.md)
2323
- [Default Ports and Firewalls](basic/ports.md)
24+
- [YAML/TOML Config](basic/yaml.md)
2425
- [Web3 Wallet](basic/wallet)
2526

2627
- [Quick nodes](quick_nodes.md)
@@ -57,10 +58,9 @@
5758
- [Browser Interface](tools/user_interface.md)
5859
- [Otterscan](tools/otterscan.md)
5960

60-
- [Frequently Asked Questions](faq.md)
61-
6261
- [About](about.md)
6362
- [License](about/license.md)
6463
- [Contributing](about/contributing.md)
64+
- [Disclaimer](about/disclaimer.md)
6565
- [Donate](about/donate.md)
6666
- [How to reach us](about/reachus.md)

src/_introduction.md

Lines changed: 19 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,27 @@
11
# Introduction
2-
3-
########b oo d####b.
4-
## '##
5-
##aaaa ##d###b. dP .d####b. .d####b. ##d###b. aaad#'
6-
## ##' '## ## ##' '## ##' '## ##' '## '##
7-
## ## ## ##. .## ##. .## ## ## .##
8-
########P dP dP '####P## '#####P' dP dP d#####P
9-
.##
10-
d####P
112

12-
> 📖 **Contributing**
13-
>
14-
> You can contribute to this book on [GitHub](https://github.com/erigontech/docs).
15-
>
16-
> For instructions regarding Erigon 2 please refer to <https://erigon.gitbook.io>.
3+
<img src="/images/Erigon-2024-ICON-V1-O-scaled.webp" alt="Erigon 3" style="display: block; margin: 0 auto; max-width: 200px">
174

18-
Erigon is an efficient Ethereum implementation designed for speed, modularity, and optimization. By default, it functions as an archive node, utilizing technologies like staged sync, efficient state storage, and database compression.
5+
Erigon is an efficient Ethereum implementation designed for speed, modularity, and optimization. By default, it functions as a full node, utilizing technologies like staged sync, efficient state storage, and database compression.
196

20-
With Erigon 3 the default configuration shifts from archive node to full node, enhancing efficiency, accessibility, and versatility for a wider range of users. Archive nodes remain available for developers and researchers needing full historical data, while the full node offers faster sync times and lower resource usage for everyday operations. More info [here](https://erigon.tech/announcing-erigon-v3-alpha-6-focus-on-staking-and-full-node-performance/).
7+
With Erigon 3 the default configuration shifts from archive node to full node, enhancing efficiency, accessibility, and versatility for a wider range of users. Archive nodes remain available for developers and researchers needing full historical data, while the full node offers faster sync times and lower resource usage for everyday operations.
218

22-
<div class="warning">
9+
# Topics
2310

24-
**Information**
11+
- Review the hardware and software requirements [get started](getting_started.md).
12+
- Follow the [installation guide](installation.md) to set up Erigon.
13+
- Learn the [basic usage](basic-usage.md) of Erigon.
14+
- Quickly deploy your own Ethereum, Gnosis, or Polygon [node](quick_nodes.md).
15+
- Explore Erigon's [advanced features](advanced.md).
16+
- Discover the capabilities of the [RPC Daemon](advanced/JSONRPC-daemon.md).
17+
- Utilize integrated [tools](tools.md) like Diagnostic Tools and Otterscan.
2518

26-
If you wanto to test Erigon without reading all the documentation, go straight to the [quick nodes](quick_nodes.md) section.
19+
# Additional Resources and Information
2720

28-
</div>
29-
30-
> **DISCLAIMER**
31-
>
32-
> Erigon 3 is in alpha phase and it is not recommended to be used in production environments. The Erigon team does not take any responsibility for losses or damages occurred through the use of Erigon. While we employ a seasoned in-house security team, we have not subjected our systems to independent third-party security assessments, leaving potential vulnerabilities to bugs or malicious activity unaddressed. It is essential for validators to be aware that unforeseen events, including software glitches, may result in lost rewards.
33-
34-
# Features
35-
36-
Erigon offers several features that make it a good option for a node application such as efficient state storage through the use of a key-value database and faster initial synchronisation.
37-
38-
Built with modularity in mind, it also offers separate components such as the JSON RPC daemon, that can connect to both local and remote databases. For read-only calls, this RPC daemon does not need to run on the same system as the main Erigon binary, and can even run from a database snapshot.
39-
40-
Erigon 3 is a major update that introduces several significant changes, improvements, and optimizations. Some of the key features and differences include:
41-
42-
The main changes from Erigon 2 are listed [here](https://github.com/erigontech/erigon?tab=readme-ov-file#erigon3-changes-from-erigon2).
43-
44-
# Release Process
45-
46-
Erigon 3 also introduces changes to the release process, including:
47-
* New Docker Image Repository: Erigon images are now available on Dockerhub repository "erigontech/erigon".
48-
* Multi-Platform Support: The docker image is built for linux/amd64/v2 and linux/arm64 platforms using Alpine 3.20.2.
49-
* Release Workflow Changes: Build flags are now passed to the release workflow, allowing users to view previously missed build information in released binaries.
50-
51-
# Known Issues
52-
53-
See <https://github.com/erigontech/erigon?tab=readme-ov-file#known-issues>.
21+
- **Releases**: see <https://github.com/erigontech/erigon/releases>.
22+
- **Docker image releases**:
23+
- New Docker Image Repository: Erigon images are now available on Dockerhub repository [erigontech/erigon](https://hub.docker.com/r/erigontech/erigon).
24+
- Multi-Platform Support: The docker image is built for linux/amd64/v2 and linux/arm64 platforms using Alpine.
25+
- **Frequently Asked Questions**: see <https://github.com/erigontech/erigon?tab=readme-ov-file#faq>.
26+
- **Known Issues**: See <https://github.com/erigontech/erigon?tab=readme-ov-file#known-issues>.
27+
- **Changes from Erigon 2**: The main changes from Erigon 2 are listed [here](https://github.com/erigontech/erigon?tab=readme-ov-file#erigon3-changes-from-erigon2).

src/about/disclaimer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Disclaimer
2+
3+
The Erigon team does not take any responsibility for losses or damages occurred through the use of Erigon. While we employ a seasoned in-house security team, we have not subjected our systems to independent third-party security assessments.

src/advanced/JSONRPC-daemon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This document provides guidelines for understanding and using the various RPC me
2929

3030
## More info
3131

32-
For a comprehensive understanding of the RPC daemon's functionality, configuration, and usage, please refer to *<https://github.com/erigontech/erigon/blob/main/cmd/rpcdaemon/README.md>** (also contained in your locally compiled Erigon folder at `/cmd/rpcdaemon`) which covers the following key topics:
32+
For a comprehensive understanding of the RPC daemon's functionality, configuration, and usage, please refer to <https://github.com/erigontech/erigon/blob/main/cmd/rpcdaemon/README.md> (also contained in your locally compiled Erigon folder at `/cmd/rpcdaemon`) which covers the following key topics:
3333

3434
1. **Introduction**: An overview of the RPC daemon, its benefits, and how it integrates with Erigon.
3535
2. **Getting Started**: Step-by-step guides for running the RPC daemon locally and remotely, including configuration options and command-line flags.

src/advanced/bp-caplin.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ This guide explains how to use Erigon with its embedded Caplin consensus layer a
77

88
## 1. Start Erigon with Caplin
99

10-
Run the following command to start Erigon with the embedded Caplin consensus layer with the beacon API on:
10+
The following command starts Erigon with the embedded Caplin consensus layer with the beacon API on:
1111

1212
```bash
1313
erigon \
1414
--datadir=/data/erigon \
15-
--chain=mainnet \
16-
--prune.mode=full \
1715
--http \
1816
--http.addr=0.0.0.0 \
1917
--http.port=8545 \
@@ -24,13 +22,12 @@ erigon \
2422
--caplin.discovery.addr=0.0.0.0 \
2523
--caplin.discovery.port=4000 \
2624
--caplin.discovery.tcpport=4001 \
27-
--chain=<NETWORK>
2825
--beacon.api=beacon,validator,builder,config,debug,events,node,lighthouse
2926
```
3027

3128
**Flags Explanation**:
3229

33-
- Execution Layer:
30+
- Execution Layer (Erigon):
3431
- `--http.api=engine,eth,net,web3`: enables the necessary APIs for external clients and Caplin.
3532
- `--ws`: enables WebSocket-based communication (optional).
3633
- Consensus Layer (Caplin):
@@ -41,15 +38,7 @@ erigon \
4138

4239
### 2.1 Install Lighthouse
4340

44-
Download the latest Lighthouse binary:
45-
46-
```
47-
curl -LO https://github.com/sigp/lighthouse/releases/latest/download/lighthouse
48-
chmod +x lighthouse
49-
sudo mv lighthouse /usr/local/bin/
50-
```
51-
52-
Or, use Docker:
41+
Install and run Lighthouse by following the official guide at <https://lighthouse-book.sigmaprime.io/installation.html> or use Docker:
5342

5443
```bash
5544
docker pull sigp/lighthouse:latest
@@ -63,7 +52,7 @@ mkdir -p ~/.lighthouse/validators
6352

6453
### 2.3. Run Lighthouse Validator Client
6554

66-
Start the validator client and connect it to the Caplin consensus layer:
55+
Start the validator client and connect it to the Caplin CL:
6756

6857
```bash
6958
lighthouse vc \

src/advanced/bp-ext.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
11
# Using an external consensus client as validator
22

3+
To use an external Consensus Layer (CL) it is necessary to add to Erigon the flag `--externalcl`. Here are a couple of examples on how to configure Lighhouse and Prysm to run along with Erigon:
4+
5+
- [Ethereum](/nodes/ethereum.md#erigon-with-prysm-as-the-external-consensus-layer)
6+
- [Gnosis Chain](/nodes/gnosis.md#erigon-with-lighthouse)
7+
8+
Once you have Erigon and a CL client up and running, you can proceed to set up a Validator Client (VC). The VC is responsible for managing your keys and signing valid blocks.
9+
10+
## Getting Started with a Validator Client
11+
12+
To set up a VC, follow the instructions provided in the official documentation, such as:
13+
14+
<https://lighthouse-book.sigmaprime.io/mainnet-validator.html>.
15+
16+
This guide will walk you through the process of setting up a VC, including:
17+
18+
- Generating and managing your keys
19+
- Configuring the Validator Client
20+
- Signing valid blocks
21+
22+
Make sure to follow the instructions carefully and thoroughly to ensure that your VC is set up correctly. It is always recommended to start staking with a testnet.
23+
24+
## Example of configuration
25+
26+
The following example demonstrates how to configure Erigon to run with an external Consensus Layer:
27+
28+
```bash
29+
erigon \
30+
--externalcl \
31+
--datadir=/data/erigon \
32+
--chain=sepolia \
33+
--authrpc.jwtsecret=/jwt
34+
--authrpc.addr=0.0.0.0 \
35+
--http \
36+
--http.addr=0.0.0.0 \
37+
--http.port=8545 \
38+
--http.api=engine,eth,net,web3 \
39+
--ws \
40+
--ws.port=8546 \
41+
```
42+
43+
## Flags explanation:
44+
45+
- `--externalcl`: Enables the use of an external CL.
46+
- `--datadir=/data/erigon`: Defines the directory to be used for databases.
47+
- `--chain=sepolia`: Specifies the Sepolia chain.
48+
- `--authrpc.jwtsecret=/jwt`: Sets the location of the JWT authentication code in hex encoding. This is used by Erigon (the EL) and the CL (in this case Lighthouse) to authenticate communication.
49+
- `--authrpc.addr=0.0.0.0`: Allows the engine API to be accessed from any address.
50+
- `--http.api=engine,eth,net,web3`: Enables the necessary APIs for external clients and Caplin.
51+
- `--ws`: enables WebSocket-based communication, which is optional.
52+
53+
> Note that many pre-merge flags, such as `--miner.etherbase`, are no longer useful, as block rewards and other validator-related configurations are now controlled by the Consensus Layer (CL).
354

src/advanced/consensus_layer.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ The consensus client, also known as the *Beacon Node* or *CL client*, implements
1212

1313
**Information**
1414

15-
By default, Erigon is configured to run with [Caplin](/advanced/bp-caplin.md), the embedded Consensus Layer.
15+
By default, Erigon is configured to run with [Caplin](/advanced/caplin.md), the embedded Consensus Layer.
1616
</div>
1717

1818
## Choosing the Consensus Layer client
1919

20-
A Consensus Layer (CL) client needs to run alongside Erigon to run a full Ethereum node, a Gnosis Chain node and a Polygon node and its respective testnets. Basically, without a CL client the EL will never get in sync. See below which Beacon node for which chain you can run along with Erigon
20+
A Consensus Layer (CL) client needs to run alongside Erigon to run a full Ethereum node, a Gnosis Chain node and a Polygon node and its respective testnets. Basically, without a CL client the EL will never get in sync.
2121

22-
- [Ethereum](./src/nodes/ethereum.md)
23-
- [Gnosis Chain](/nodes/gnosis.md)
24-
- [Polygon](/nodes/polygon.md)
22+
Below are the links to examples on how to configure Lighhouse and Prysm to run along with Erigon:
23+
24+
- [Ethereum](/nodes/ethereum.md#erigon-with-prysm-as-the-external-consensus-layer)
25+
- [Gnosis Chain](/nodes/gnosis.md#erigon-with-lighthouse)
26+
27+
> **important Note**: When configuring a CL client, always refer to the official CL documentation for the most up-to-date and accurate configuration instructions. This will ensure that you set up your CL client correctly and avoid any potential issues.

src/advanced/op-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Running an Op-Node Alongside Erigon
1+
# Running an Op-Node alongside Erigon
22

33
To run an op-node alongside Erigon, follow these steps:
44

0 commit comments

Comments
 (0)