-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,26 +9,23 @@ import TabItem from '@theme/TabItem'; | |
|
||
# Connect to a testnet | ||
|
||
Run Teku as a consensus client with any execution client on a testnet (for example [Holesky](https://github.com/eth-clients/holesky) or | ||
[Sepolia](https://github.com/eth-clients/sepolia) or | ||
[Ephemery](https://ephemery.dev/)). | ||
Run Teku as a consensus client with any execution client on a testnet (for example [Holesky](https://github.com/eth-clients/holesky), | ||
[Ephemery](https://ephemery.dev/), or [Sepolia](https://github.com/eth-clients/sepolia)). | ||
Check failure on line 13 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
|
||
If you're using [Besu](https://besu.hyperledger.org/en/stable/) as an execution client, you can follow the | ||
[Besu and Teku testnet tutorial](https://besu.hyperledger.org/en/latest/public-networks/tutorials/besu-teku-testnet/). | ||
|
||
:::note | ||
:::note Notes | ||
|
||
Sepolia is a permissioned network and you can't run a validator client on it without [requesting to become a validator](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg) first. | ||
- Ephemery is a single network that rolls back to the genesis after a set period of time. | ||
Check failure on line 20 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
Ephemery is focused on short-term and heavy testing use cases. | ||
Check failure on line 21 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
It avoids problems like insufficient testnet funds, inactive validators, state bloat, and similar | ||
issues faced by long-running testnets. | ||
- Sepolia is a permissioned network and you can't run a validator client on it without [requesting to become a validator](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg) first. | ||
Check failure on line 24 in docs/get-started/connect/testnet.md GitHub Actions / LintTrailing spaces
|
||
You can connect your consensus client using the beacon node only, without any validator duties. | ||
|
||
::: | ||
|
||
:::note | ||
|
||
Ephemery is a single network that rolls back to the genesis after a set period of time. Ephemery is focused on short term and heavy testing usecases. The purpose of this is also to avoid problems like insufficient testnet funds, inactive validators, state bloat, and similar issues faced by long-running testnets. | ||
|
||
::: | ||
|
||
## Prerequisites | ||
|
||
- [Teku installed](../install/install-binaries.md). | ||
|
@@ -51,8 +48,8 @@ If you're running a beacon node only, skip to the [next step](#3-start-the-execu | |
If you're also running a validator client, create a test Ethereum address | ||
(you can do this in [MetaMask](https://metamask.zendesk.com/hc/en-us/articles/360015289452-How-to-create-an-additional-account-in-your-wallet)). | ||
Fund this address with testnet ETH (32 ETH and gas fees for each validator) using a faucet. | ||
See the list of [Holesky faucets](https://github.com/eth-clients/holesky#metadata) or | ||
[Sepolia faucets](https://github.com/eth-clients/sepolia#meta-data-sepolia) or [Ephemery faucets](https://ephemery-faucet.pk910.de/). | ||
See the list of [Holesky faucets](https://github.com/eth-clients/holesky#metadata), [Sepolia faucets](https://github.com/eth-clients/sepolia#meta-data-sepolia), | ||
or [Ephemery faucets](https://ephemery-faucet.pk910.de/). | ||
Check failure on line 52 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
|
||
:::note | ||
|
||
|
@@ -76,7 +73,6 @@ If specifying directories, password files must have the same name as the keys, b | |
|
||
- If the Launchpad creates a key named `keystore-m_12381_3600_0_0_0-1596485378.json`, | ||
then the password file must be named `keystore-m_12381_3600_0_0_0-1596485378.txt`. | ||
|
||
- The password file format follows | ||
[`EIP-2335`](https://eips.ethereum.org/EIPS/eip-2335#password-requirements) | ||
requirements (UTF-8 encoded file, unicode normalization, and control code removal). | ||
|
@@ -98,45 +94,45 @@ Open a new terminal window. | |
To run Teku as a beacon node only (without validator duties), run the following command or [specify the options in a configuration file](../../how-to/configure/use-config-file.md): | ||
|
||
<Tabs> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
|
||
```bash | ||
teku \ | ||
--network=holesky \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL> | ||
--network=holesky \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia" > | ||
</TabItem> | ||
<TabItem value="Ephemery" label="Ephemery"> | ||
Check failure on line 110 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
|
||
```bash | ||
teku \ | ||
--network=sepolia \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL> | ||
--network=ephemery \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL optional> | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Ephemery" label="Ephemery" > | ||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia"> | ||
|
||
```bash | ||
teku \ | ||
--network=ephemery \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL optional> | ||
--network=sepolia \ | ||
--ee-endpoint=http://localhost:8551 \ | ||
--ee-jwt-secret-file=<path to jwtsecret.hex> \ | ||
--metrics-enabled=true \ | ||
--rest-api-enabled=true \ | ||
--checkpoint-sync-url=<checkpoint sync URL> | ||
``` | ||
|
||
</TabItem> | ||
</TabItem> | ||
</Tabs> | ||
|
||
|
||
Check failure on line 138 in docs/get-started/connect/testnet.md GitHub Actions / LintMultiple consecutive blank lines
|
||
|
@@ -164,7 +160,7 @@ To run the Teku beacon node and validator client in a single process, run the fo | |
[specify the options in the configuration file](../../how-to/configure/use-config-file.md): | ||
|
||
<Tabs> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
|
||
```bash | ||
teku \ | ||
|
@@ -178,14 +174,8 @@ teku \ | |
--validator-keys=<path to key file>:<path to password file>[,<path to key file>:<path to password file>,...] | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia" > | ||
|
||
Sepolia is a permissioned network and you can't run a validator client on it without [requesting to become a validator](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg) first. | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Ephemery" label="Ephemery" default> | ||
</TabItem> | ||
<TabItem value="Ephemery" label="Ephemery"> | ||
|
||
```bash | ||
teku \ | ||
|
@@ -199,7 +189,14 @@ teku \ | |
--validator-keys=<path to key file>:<path to password file>[,<path to key file>:<path to password file>,...] | ||
``` | ||
|
||
</TabItem> | ||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia" > | ||
|
||
:::note | ||
Sepolia is a permissioned network and you can't run a validator client on it without [requesting to become a validator](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg) first. | ||
::: | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
Specify: | ||
|
@@ -221,20 +218,30 @@ To run the Teku beacon node and validator client as separate processes, first [s | |
On a separate machine, run Teku using the [`validator-client`](../../reference/cli/subcommands/validator-client.md) subcommand: | ||
|
||
<Tabs> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
<TabItem value="Holesky" label="Holesky" default> | ||
|
||
```bash | ||
teku validator-client \ | ||
--network=holesky \ | ||
--beacon-node-api-endpoint=<endpoint> \ | ||
--validator-keys=<path to key file>:<path to password file>[,<path to key file>:<path to password file>,...] | ||
--network=holesky \ | ||
--beacon-node-api-endpoint=<endpoint> \ | ||
--validator-keys=<path to key file>:<path to password file>[,<path to key file>:<path to password file>,...] | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia" > | ||
</TabItem> | ||
<TabItem value="Ephemery"> | ||
|
||
:::note Coming soon | ||
Support for starting Teku as a separate validator client on the Ephemery testnet is coming soon. | ||
Check failure on line 234 in docs/get-started/connect/testnet.md GitHub Actions / Spelling
|
||
::: | ||
|
||
</TabItem> | ||
<TabItem value="Sepolia" label="Sepolia"> | ||
|
||
:::note | ||
Sepolia is a permissioned network and you can't run a validator client on it without [requesting to become a validator](https://notes.ethereum.org/zvkfSmYnT0-uxwwEegbCqg) first. | ||
::: | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
Specify: | ||
|