This guide will help you install and launch the new version of the Aztec validator node on the Sepolia testnet.
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git build-essentialInstall Node.js 20.x:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejsInstall Foundry:
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup
cast --versionInstall Aztec CLI:
bash -i <(curl -s https://install.aztec.network)When prompted, press y to confirm the installation.
Add Aztec CLI to your PATH:
echo 'export PATH="$HOME/.aztec/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
aztec --versionUse your old private key (the one used with your previous node):
cast send 0x139d2a7a0881e16332d7D1F8DB383A4507E1Ea7A "approve(address,uint256)" 0xebd99ff0ff6677205509ae73f93d0ca52ac85d67 200000ether --private-key <YOUR_OLD_PRIVATE_KEY> --rpc-url <YOUR_SEPOLIA_RPC_URL>- Approval contract:
0x139d2a7a0881e16332d7D1F8DB383A4507E1Ea7A - Rollup contract:
0xebd99ff0ff6677205509ae73f93d0ca52ac85d67 - Amount approved:
200000ether
Create new validator keys:
aztec validator-keys new --fee-recipient 0x0000000000000000000000000000000000000000000000000000000000000000After running this, a new ETH address will be generated and stored in:
/root/.aztec/keystore/key1.json
Extract the private keys from your keystore:
jq -r '.validators[0].attester.eth' /root/.aztec/keystore/key1.json
jq -r '.validators[0].attester.bls' /root/.aztec/keystore/key1.json- The first command gives you the ETH private key
- The second gives you the BLS private key
β οΈ Important: Save the new address and both private keys (ETH and BLS) in a safe and secure place.
Never store them in plain text or share them publicly.
Register your new validator using the old private key and your new keys:
aztec add-l1-validator --l1-rpc-urls <YOUR_RPC_URL> --network testnet --private-key <YOUR_OLD_PRIVATE_KEY> --attester <NEW_ETH_ADDRESS_FROM_STEP_3> --withdrawer <NEW_ETH_ADDRESS_FROM_STEP_3> --bls-secret-key <YOUR_BLS_PRIVATE_KEY_FROM_STEP_4> --rollup 0xebd99ff0ff6677205509ae73f93d0ca52ac85d67If the transaction is successful, your validator registration is complete β
Now fund your new ETH address from Step 3 with Sepolia test ETH.
Open a new screen session to keep the node running in the background:
screen -S aztecStart your node:
aztec start --node --archiver --sequencer --network testnet --l1-rpc-urls <YOUR_SEPOLIA_RPC_URL> --l1-consensus-host-urls <YOUR_BEACON_SEPOLIA_RPC> --sequencer.validatorPrivateKeys <NEW_PRIVATE_KEY_FROM_STEP_4> --sequencer.coinbase <NEW_ETH_ADDRESS_FROM_STEP_3> --p2p.p2pIp <YOUR_SERVER_IP>After starting:
- Check logs to ensure there are no errors.
- The node will begin syncing and participating in the network.
Detach from the screen session (keep the node running):
Ctrl + A, then D
To reconnect later:
screen -r aztecπ Congratulations!
You have successfully launched the new version of the Aztec Validator Node on the Sepolia testnet
skcrypto-x
Guide for launching the new Aztec validator node (Testnet, 2025)