This repository contains an automated script for setting up and running an Aztec Sequencer node on the Alpha Testnet. The script streamlines the installation process, making it accessible for both newcomers and experienced blockchain developers.
The aztec.sh script automates the installation and configuration of an Aztec Sequencer node on the Alpha Testnet. It handles the following tasks:
- Installing Docker and Docker Compose (if not already installed)
- Installing Node.js (if not already installed)
- Installing the Aztec CLI
- Setting up the Aztec Alpha Testnet environment
- Configuring your node with the necessary RPC URLs and validator private key
- Starting your Aztec Sequencer node
- Ubuntu/Debian-based Linux OS
- Root or sudo privileges
- Internet connection
- L1 Execution Client (EL) RPC URL
- L1 Consensus Client (CL) RPC URL
- Validator Private Key
- Blob Sink URL (optional)
-
Clone this repository:
git clone https://github.com/airdropinsiders/Aztec-Node.git cd Aztec-Node -
Make the script executable:
chmod +x aztec.sh
-
Run the script with sudo:
sudo ./aztec.sh
-
Follow the prompts to provide the required RPC URLs and validator private key.
This URL is used to connect to an Ethereum execution client on the Sepolia testnet.
- Sign up or log in at Alchemy
- Create a new app:
- Click "Create App"
- Select "Ethereum" as the chain
- Select "Sepolia" as the network
- Give your app a name (e.g., "Aztec Sequencer")
- Click "Create App"
- Once your app is created, click on "View Key"
- Copy the HTTPS URL, which should look like:
https://eth-sepolia.g.alchemy.com/v2/YOUR_API_KEY
This URL is used to connect to an Ethereum consensus client on the Sepolia testnet.
- Sign up or log in at DRPC
- Create an API key:
- Go to the "API Keys" section
- Click "Create API Key"
- Give your key a name (e.g., "Aztec Sequencer")
- Select "Sepolia" network
- Once your key is created, copy the HTTPS URL, which should look like:
https://lb.drpc.org/ogrpc?network=sepolia&dkey=YOUR_API_KEY
You can also use other RPC providers such as:
Follow a similar process on these platforms to obtain your RPC URLs for the Sepolia testnet.
After installation, you can check the status of your node:
docker-compose logs -fYour node data is stored in the data directory created in the same location as the script.
If you encounter issues:
-
Check your Docker installation:
docker --version docker-compose --version
-
Verify your RPC URLs are correct and working.
-
Ensure your server has enough resources:
- At least 8 CPU cores
- 16GB RAM
- 100GB free disk space
- 25 Mbps upload
-
Check firewall settings to ensure the required ports are open.
- Script version: v0.85.0-alpha-testnet.5
- Compatible with Aztec Protocol version: 0.85.0-alpha-testnet.5
This is an Alpha Testnet setup. It's not meant for production use and may have bugs or issues. Use at your own risk.