Gp3YTDybIAAmTYH

Aztec Sequencer Node Installation Guide:

This guide will help you run a Sequencer Node on the Aztec testnet and get the "Apprentice" role on Discord in just a few steps. Script supported, everything is automatic.

System Requirements

NeedDetail
RAMAt least 16GB
CPU8 Core
Operating SystemUbuntu 22.04 or later
Storage1TB SSD

Server Recommendation:

For Those Who Will Employ Long Term: - Contabo 8 Core VPS

For Those Who Will Work For A Role: - Contabo 6 Core VPS

Pre-Installation Requirements

- Create a new MetaMask wallet. - Get Sepolia Test ETH: https://www.alchemy.com/faucets - Get Sepolia RPC: https://dashboard.alchemy.com - Get Beacon (Consensus) RPC: https://chainstack.com/global-nodes

image

1- Node Installation without Docker:

Run the following command after logging into the VPS:

[ -f "script.sh" ] && rm script.sh; apt update -y && apt install curl -y && curl -sSL -o script.sh https://raw.githubusercontent.com/UfukNode/aztec-sequencer-node/refs/heads/main/script.sh && chmod +x script.sh && ./script.sh
### The script will ask you for the following information: * Sepolia RPC URL * Beacon (Consensus) URL * Private Key (**without 0x at the beginning**) * Wallet Address (**starting with 0x**) When the installation is complete, the node Aztec It starts working in a screen session named ## 2- Screen Usage To exit the screen session:
 CTRL + A ardından D
To reconnect:
screen -r aztec
📌When you go to the screen, you should get the following output after a while. ![image](https://github.com/user-attachments/assets/4ffaa38a-cf09-4991-a356-817588952619) ## 3- Getting the Discord "Apprentice" Role After the node has been running for 5 minutes, follow the steps below: ### A- Get Block Number
curl -s -X POST -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","method":"node_getL2Tips","params":[],"id":67}' \ http://localhost:8080 | jq -r ".result.proven.number"
This command gives you a block number. Take note of it. ### B- Get Proof Write the block number you received in the two places in the "BLOCK" section of the command below:
curl -s -X POST -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","method":"node_getArchiveSiblingPath","params":["BLOCK","BLOCK"],"id":67}' \ http://localhost:8080 | jq -r ".result"
![block (1)](https://github.com/user-attachments/assets/7a0694e9-8541-4331-a7f0-c33ba4266b8b) The long output is the proof, copy all of it. ### C- Getting a Discord Role 1. Join [https://discord.gg/aztec](https://discord.gg/aztec) 2. Enter the channel #operators > start-here`

  1. Type the command:

/operator start

  1. Respectively:

* Enter your wallet address * Block number * Proof output

Gp9h5y5WAAAV3eo

4- Validator Record (Optional)

After the node is synchronized, you can register as a validator with the following command:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/UfukNode/aztec-sequencer-node/main/validator_kayit.sh)"

If the script works, you will be registered as a validator. If the daily limit is full, the following message will be displayed:

⚠ The daily limit may have been reached. Please try again the next day.


🔄 Update Instruction

With any new Aztec version update, you can safely update your node by following these steps:

1. Go to Screen and Stop Node

screen -r aztec

After switching to the screen:

CTRL + C
Stop the node with .


2. Clear Data

Just clear the data (configs are not deleted):

rm -rf ~/.aztec/alpha-testnet/data/


3. Restart the Node

You can run the following installation command again:

[ -f "script.sh" ] && rm script.sh; apt update -y && apt install curl -y && curl -sSL -o script.sh https://raw.githubusercontent.com/UfukNode/aztec-sequencer-node/refs/heads/main/script.sh && chmod +x script.sh && ./script.sh


For Contact and Questions: https://x.com/UfukDegen