* Update Merge testnet example to Sepolia
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
* Change from Sepolia to Goerli
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
* Markdown fix
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
* Include both testnets
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
* update launchpad
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
* Fix links
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
as a [consensus client](../concepts/the-merge.md#consensus-clients) on a post-Merge testnet.
This tutorial uses the [Goerli testnet](https://github.com/eth-clients/goerli) and
[Sepolia testnet](https://github.com/eth-clients/sepolia) as examples.
!!! note
Sepolia is a permissioned network and can't be run using a validator client without [requesting to become a validator first](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg).
You can connect your consensus client using the beacon node only, without any validator duties.
## 1. Install Besu and Teku
@ -31,12 +37,57 @@ You will specify `jwtsecret.hex` when starting both Besu and Teku.
This is a shared JWT secret the clients use to authenticate each other when using the
[Engine API](../how-to/use-engine-api.md).
## 3. Generate validator keys and stake ETH
## 3. Start Besu
Run the following command:
=== "Goerli"
```bash
besu \
--network=goerli \
--rpc-http-enabled=true \
--rpc-http-host="0.0.0.0" \
--rpc-http-cors-origins="*" \
--rpc-ws-enabled=true \
--rpc-ws-host="0.0.0.0" \
--host-allowlist="*" \
--engine-host-allowlist="*" \
--engine-rpc-port=8551 \
--Xmerge-support=true \
--engine-jwt-secret=<pathtojwtsecret.hex>
```
=== "Sepolia"
```bash
besu \
--network=sepolia \
--rpc-http-enabled=true \
--rpc-http-host="0.0.0.0" \
--rpc-http-cors-origins="*" \
--rpc-ws-enabled=true \
--rpc-ws-host="0.0.0.0" \
--host-allowlist="*" \
--engine-host-allowlist="*" \
--engine-rpc-port=8551 \
--Xmerge-support=true \
--engine-jwt-secret=<pathtojwtsecret.hex>
```
Specify the path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using the
Fund this address with testnet ETH using the [Kiln Faucet](https://faucet.kiln.themerge.dev/).
Fund this address with testnet ETH using a faucet.
See the list of [Goerli faucets](https://github.com/eth-clients/goerli#meta-data-g%C3%B6rli) and [Sepolia faucets](https://github.com/eth-clients/sepolia#meta-data-sepolia).
!!! note
@ -44,37 +95,14 @@ Fund this address with testnet ETH using the [Kiln Faucet](https://faucet.kiln.t
Sepolia is a permissioned network and can't be run using a validator client without [requesting to become a validator first](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg).
Specify:
- The path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using the