@@ -3,7 +3,6 @@ id: sequencer_management
33sidebar_position : 1
44title : Running a Sequencer
55description : Learn how to manage your sequencer on the Aztec network, including registration, keystore configuration, stake management, and status monitoring.
6- references : ["yarn-project/node-keystore/src/config.ts"]
76---
87
98## Overview
@@ -121,13 +120,14 @@ aztec validator-keys new \
121120- ` --fee-recipient ` : Set to all zeros (not currently used by the protocol)
122121- ` --staker-output ` : Generate the public keystore for the staking dashboard
123122- ` --gse-address ` : The GSE (Governance Staking Escrow) contract address (` 0xa92ecFD0E70c9cd5E5cd76c50Af0F7Da93567a4f ` for mainnet)
124- - ` --l1-rpc-urls ` : Your Ethereum L1 RPC endpoint
125- - Set ` ETH_RPC ` environment variable, or replace ` $ETH_RPC ` with your RPC URL (e.g., ` https://mainnet.infura.io/v3/YOUR_API_KEY ` )
123+ - ` --l1-rpc-urls ` : Your Ethereum mainnet RPC endpoint
124+ - Set ` ETH_RPC ` environment variable, or replace ` $ETH_RPC ` with your Ethereum mainnet RPC URL (e.g., ` https://mainnet.infura.io/v3/YOUR_API_KEY ` )
126125- ` --count ` : Number of validator identities to generate (default: 1)
127126 - Use this to generate multiple attester identities in a single keystore
128127 - Example: ` --count 5 ` generates 5 validator identities with sequential addresses
129128 - All identities are derived from the same mnemonic using different derivation paths
130129 - Useful for operators running multiple sequencer identities or delegated staking providers
130+ - ` --publisher-count ` Number of publisher accounts per validator (default 0)
131131
132132
133133** This command creates two JSON files:**
@@ -140,7 +140,7 @@ Where `N` is an auto-incrementing number (e.g., `key1.json`, `key2.json`, etc.)
140140- Automatically generates a mnemonic for key derivation (or provide your own with ` --mnemonic ` )
141141- Creates an ETH key (for your sequencer identifier) and BLS key (for signing)
142142- Computes BLS public keys (G1 and G2) and proof of possession
143- - Outputs your attester address and BLS public key to the console
143+ - Outputs your attester address, publisher address and BLS public keys to the console
144144
145145** Example output (single validator):**
146146```
@@ -257,9 +257,9 @@ Your sequencer needs ETH to pay for gas when submitting blocks to L1. Fund the a
257257
258258``` bash
259259# Get your attester address (this will be your publisher if no separate publisher is configured)
260- jq -r ' .validators [0].attester.eth ' aztec-sequencer/keys/ keystore.json
260+ jq -r ' .[0].attester' ~ /. aztec/ keystore/keyN_staker_output .json
261261
262- # If you have a separate publisher configured:
262+ # If you have a separate publisher configured: (Note this returns the publisher private key)
263263jq -r ' .validators[0].publisher[0]' aztec-sequencer/keys/keystore.json
264264```
265265
@@ -285,8 +285,8 @@ Add the following to your `.env` file:
285285DATA_DIRECTORY=./data
286286KEY_STORE_DIRECTORY=./keys
287287LOG_LEVEL=info
288- ETHEREUM_HOSTS=[your L1 execution endpoint, or a comma separated list if you have multiple]
289- L1_CONSENSUS_HOST_URLS=[your L1 consensus endpoint, or a comma separated list if you have multiple]
288+ ETHEREUM_HOSTS=[your Ethereum mainnet execution endpoint, or a comma separated list if you have multiple]
289+ L1_CONSENSUS_HOST_URLS=[your Ethereum mainnet consensus endpoint, or a comma separated list if you have multiple]
290290P2P_IP=[your external IP address]
291291P2P_PORT=40400
292292AZTEC_PORT=8080
0 commit comments