mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Some updates to Lighthouse book (#7455)
- Small revision in Siren documentation in: `book/src/ui_installation.md` - Add a section about slashing protection in web3signer, as per: https://github.com/sigp/lighthouse/issues/5310 in: `book/src/advanced_web3signer.md` - Add a presign option in `lighthouse account validator exit` in `book/src/validator_voluntary_exit.md` - Replace 'Holesky' with 'Hoodi' in all related parts in Lighthouse book - Add https://ethpandaops.io/posts/kurtosis-deep-dive/ to local testnet documentation
This commit is contained in:
@@ -75,21 +75,21 @@ mnemonic is encrypted with a password. It is the responsibility of the user to
|
||||
define a strong password. The password is only required for interacting with
|
||||
the wallet, it is not required for recovering keys from a mnemonic.
|
||||
|
||||
To create a wallet, use the `lighthouse account wallet` command. For example, if we wish to create a new wallet for the Holesky testnet named `wally` and saves it in `~/.lighthouse/holesky/wallets` with a randomly generated password saved
|
||||
To create a wallet, use the `lighthouse account wallet` command. For example, if we wish to create a new wallet for the Hoodi testnet named `wally` and saves it in `~/.lighthouse/hoodi/wallets` with a randomly generated password saved
|
||||
to `./wallet.pass`:
|
||||
|
||||
```bash
|
||||
lighthouse --network holesky account wallet create --name wally --password-file wally.pass
|
||||
lighthouse --network hoodi account wallet create --name wally --password-file wally.pass
|
||||
```
|
||||
|
||||
Using the above command, a wallet will be created in `~/.lighthouse/holesky/wallets` with the name
|
||||
Using the above command, a wallet will be created in `~/.lighthouse/hoodi/wallets` with the name
|
||||
`wally`. It is encrypted using the password defined in the
|
||||
`wally.pass` file.
|
||||
|
||||
During the wallet creation process, a 24-word mnemonic will be displayed. Record the mnemonic because it allows you to recreate the files in the case of data loss.
|
||||
> Notes:
|
||||
>
|
||||
> - When navigating to the directory `~/.lighthouse/holesky/wallets`, one will not see the wallet name `wally`, but a hexadecimal folder containing the wallet file. However, when interacting with `lighthouse` in the CLI, the name `wally` will be used.
|
||||
> - When navigating to the directory `~/.lighthouse/hoodi/wallets`, one will not see the wallet name `wally`, but a hexadecimal folder containing the wallet file. However, when interacting with `lighthouse` in the CLI, the name `wally` will be used.
|
||||
> - The password is not `wally.pass`, it is the _content_ of the
|
||||
> `wally.pass` file.
|
||||
> - If `wally.pass` already exists, the wallet password will be set to the content
|
||||
@@ -100,18 +100,18 @@ During the wallet creation process, a 24-word mnemonic will be displayed. Record
|
||||
Validators are fundamentally represented by a BLS keypair. In Lighthouse, we use a wallet to generate these keypairs. Once a wallet exists, the `lighthouse account validator create` command can be used to generate the BLS keypair and all necessary information to submit a validator deposit. With the `wally` wallet created in [Step 1](#step-1-create-a-wallet-and-record-the-mnemonic), we can create a validator with the command:
|
||||
|
||||
```bash
|
||||
lighthouse --network holesky account validator create --wallet-name wally --wallet-password wally.pass --count 1
|
||||
lighthouse --network hoodi account validator create --wallet-name wally --wallet-password wally.pass --count 1
|
||||
```
|
||||
|
||||
This command will:
|
||||
|
||||
- Derive a single new BLS keypair from wallet `wally` in `~/.lighthouse/holesky/wallets`, updating it so that it generates a new key next time.
|
||||
- Create a new directory `~/.lighthouse/holesky/validators` containing:
|
||||
- Derive a single new BLS keypair from wallet `wally` in `~/.lighthouse/hoodi/wallets`, updating it so that it generates a new key next time.
|
||||
- Create a new directory `~/.lighthouse/hoodi/validators` containing:
|
||||
- An encrypted keystore file `voting-keystore.json` containing the validator's voting keypair.
|
||||
- An `eth1_deposit_data.rlp` assuming the default deposit amount (`32 ETH`) which can be submitted to the deposit
|
||||
contract for the Goerli testnet. Other networks can be set via the
|
||||
`--network` parameter.
|
||||
- Create a new directory `~/.lighthouse/holesky/secrets` which stores a password to the validator's voting keypair.
|
||||
- Create a new directory `~/.lighthouse/hoodi/secrets` which stores a password to the validator's voting keypair.
|
||||
|
||||
If you want to create another validator in the future, repeat [Step 2](#step-2-create-a-validator). The wallet keeps track of how many validators it has generated and ensures that a new validator is generated each time. The important thing is to keep the 24-word mnemonic safe so that it can be used to generate new validator keys if needed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user