Skip to content

encoderrrr/Aztec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

we.1.mp4

Encoderrr Aztec Sequencer Node Setup Guide

💻 System Requirements Component Specification CPU 8-core Processor RAM 16 GiB Storage 100 GiB SSD Internet Speed 25 Mbps Upload / Download

⚙️ Prerequisites Ubuntu System: Script requires Ubuntu. Sepolia Ethereum RPC: Get from Alchemy. Sepolia Beacon RPC: Obtain from Chainstack. EVM Wallet: Fund with 2.5 Sepolia ETH for validator registration. sudo Privileges: Needed for package installation and firewall setup.

Installation

1. Clone and Run the Script

cd
rm -r Aztec
git clone git@github.com:encoderrrr/Aztec.git
cd Aztec
chmod +x aztec.sh
./aztec.sh

Follow the steps and enter your RPC, private key, and your own EVM address

Get Role Go to the discord channel :operators| start-here and follow the prompts, You can continue the guide with my commands if you need help.

1

Step 1: Get the latest proven 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"

Save this block number for the next steps Example output: 20476

Step 2: Generate your sync proof

curl -s -X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"node_getArchiveSiblingPath","params":["BLOCK_NUMBER","BLOCK_NUMBER"],"id":67}' \
http://localhost:8080 | jq -r ".result"

Replace 2x BLOCK_NUMBER with your number Step 3: Register with Discord

Type the following command in this Discord server: /operator start After typing the command, Discord will display option fields that look like this: address: Your validator address (Ethereum Address) block-number: Block number for verification (Block number from Step 1) proof: Your sync proof (base64 string from Step 2) Then you'll get your Apprentice Role

Register Validator

aztec add-l1-validator \
  --l1-rpc-urls RPC_URL \
  --private-key your-private-key \
  --attester your-validator-address \
  --proposer-eoa your-validator-address \
  --staking-asset-handler 0xF739D03e98e23A7B65940848aBA8921fF3bAc4b2 \
  --l1-chain-id 11155111

Replace RPC_URL, your-validator-address & 2x your-validator-address, then proceed

Update your node :

aztec-up alpha-testnet

Stop node with Ctrl+C

Delete node data:

rm -r /root/.aztec/alpha-testnet

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages