{"id":28795930,"url":"https://github.com/rdkrr731/aztec-sequencer-node","last_synced_at":"2025-10-26T01:38:11.332Z","repository":{"id":298483422,"uuid":"1000117292","full_name":"rdkrr731/Aztec-Sequencer-Node","owner":"rdkrr731","description":"Azetc Sequencer Node Full Guide","archived":false,"fork":false,"pushed_at":"2025-06-20T11:13:29.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-17T18:54:44.913Z","etag":null,"topics":["aztec-protocol","gcp","shell","vps"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdkrr731.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-11T09:37:43.000Z","updated_at":"2025-06-20T11:13:32.000Z","dependencies_parsed_at":"2025-06-11T10:55:44.979Z","dependency_job_id":"277a36a0-8ed5-4dfa-801c-09cc9d5292af","html_url":"https://github.com/rdkrr731/Aztec-Sequencer-Node","commit_stats":null,"previous_names":["rdkrr731/aztec-sequencer-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rdkrr731/Aztec-Sequencer-Node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdkrr731%2FAztec-Sequencer-Node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdkrr731%2FAztec-Sequencer-Node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdkrr731%2FAztec-Sequencer-Node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdkrr731%2FAztec-Sequencer-Node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdkrr731","download_url":"https://codeload.github.com/rdkrr731/Aztec-Sequencer-Node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdkrr731%2FAztec-Sequencer-Node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047794,"owners_count":26435124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aztec-protocol","gcp","shell","vps"],"created_at":"2025-06-18T03:10:44.888Z","updated_at":"2025-10-26T01:38:11.311Z","avatar_url":"https://github.com/rdkrr731.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Aztec Sequencer Node Setup (Alpha Testnet) 🟢\n\nRunning an Aztec node is very simple. You will require **$11** if you want your node to run smoothly in one go using **paid RPCs**. Alternatively, you can use **free public RPCs**, but they often come with limitations and require more setup effort.\n\n---\n\n## 💼 Requirements\n\n1. A VPS to run the Aztec node (Ubuntu 20.04 or 22.04 recommended)\n2. A **Paid RPC** (like from Alchemy) OR a Free Public RPC (with limitations)\n3. A **Paid Beacon RPC** (or free option like `drpc.org`, `Ankr`)\n\n---\n\n## 🧾 Steps Overview\n\n1. Get a VPS (Use Google Cloud, Free for new users)\n2. Install dependencies \n3. Install Aztec tools\n4. Setup Ethereum Wallet \u0026 RPC URLs\n5. Run your node\n6. Submit sync proof to get the Apprentice role on Aztec Discord\n\n---\n\n## ☁️ Optional: VPS Setup Using GCP\n\nIf you want to run your node on a VPS and need help setting up a Google Cloud Platform (GCP) VPS, you can use the following repository for a step-by-step guide and scripts:\n\n- [GCP-VPS-Setup by rdkrr731](https://github.com/rdkrr731/GCP-VPS-Setup.git)\n\n---\n\n## 🚀 Aztec Node Setup\n\n### 1. Install Dependencies\n\n**Update packages:**\n```bash\nsudo apt-get update \u0026\u0026 sudo apt-get upgrade -y\n```\n\n**Install Packages:**\n```bash\nsudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev  -y\n```\n\n**Install Docker:**\n```bash\nsudo apt update -y \u0026\u0026 sudo apt upgrade -y\nfor pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done\n\nsudo apt-get update\nsudo apt-get install ca-certificates curl gnupg\nsudo install -m 0755 -d /etc/apt/keyrings\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg\nsudo chmod a+r /etc/apt/keyrings/docker.gpg\n\necho \\\n  \"deb [arch=\\\"$(dpkg --print-architecture)\\\" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \\\n  \\\"$(. /etc/os-release \u0026\u0026 echo \\\"$VERSION_CODENAME\\\")\\\" stable\" | \\\n  sudo tee /etc/apt/sources.list.d/docker.list \u003e /dev/null\n\nsudo apt update -y \u0026\u0026 sudo apt upgrade -y\n\nsudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin\n```\n\n**Test Docker:**\n```bash\nsudo docker run hello-world\n```\n\n**Enable and Restart Docker:**\n```bash\nsudo systemctl enable docker\nsudo systemctl restart docker\n```\n\n---\n\n### 2. Install Aztec Tools\n\n```bash\nbash -i \u003c(curl -s https://install.aztec.network)\n```\n\n```\necho 'export PATH=\"$HOME/.aztec/bin:$PATH\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n```\n\n**Restart your Terminal now to apply changes.**\n\n**Check if you installed successfully:**\n```bash\naztec --version\n```\n\n\u003e **Tip:**  \n\u003e For Local System: Open your docker first and make sure you're docker is running.\\\n\u003e For VPS: If you face a `docker permission denied` error, add your user to the docker group with:\n\u003e ```bash\n\u003e sudo usermod -aG docker $USER\n\u003e ```\n\u003e Then log out and back in, or restart your terminal session.\n\n---\n\n### 3. Update Aztec to the latest version\n\n```bash\naztec-up latest\n```\n\n---\n\n### 4. Obtain RPC URLs\n\n- **L1 RPC**: You can create a Sepolia RPC URL in [Alchemy](https://alchemy.com).\n- **Beacon RPC**: Use [https://rpc.drpc.org/eth/sepolia/beacon](https://rpc.drpc.org/eth/sepolia/beacon) as a free BEACON RPC. (You can also run your own prysm/lighthouse nodes or find other 3rd party solutions.)\n\n---\n\n### 5. Generate Ethereum Keys\n\n- Use MetaMask or another tool to create a new Ethereum wallet.\n- Save your EVM Wallet's **Private Key** and **Public Address** securely.\n\n---\n\n### 6. Get Sepolia ETH\n\n- Fund your Ethereum Wallet with ETH Sepolia. You can get Sepolia ETH from [Alchemy Faucet](https://www.alchemy.com/faucets/ethereum-sepolia).\n\n---\n\n### 7. Find IP\n\n```bash\ncurl ipv4.icanhazip.com\n```\nSave this IP address somewhere. You will need it later.\n\n---\n\n### 8. Enable Firewall \u0026 Open Ports\n\n```bash\n# Firewall\nsudo ufw allow ssh\nsudo ufw enable\n\n# Sequencer\nsudo ufw allow 40400\nsudo ufw allow 40500\nsudo ufw allow 8080\n```\n\u003e **Tip:**  \n\u003e If facing Error: No command Found\n\u003e ```bash\n\u003e sudo apt update\n\u003e sudo apt install ufw -y\n\u003e ```\n---\n\n### 9. Start Sequencer Node\n\n**Open screen or use Tmux:**\n```bash\nscreen -S aztec\n```\n\n**Start the Node (replace the variables):**\n```bash\naztec start --node --archiver --sequencer \\\n  --network alpha-testnet \\\n  --l1-rpc-urls RPC_URL  \\\n  --l1-consensus-host-urls BEACON_URL \\\n  --sequencer.validatorPrivateKey YourPrivateKey \\\n  --sequencer.coinbase YourEvmAddress \\\n  --p2p.p2pIp IP\n```\n- **RPC_URL \u0026 BEACON_URL:** As per step 4\n- **YourPrivateKey:** Your EVM wallet private key\n- **YourEvmAddress:** Your EVM wallet public address\n- **IP:** Your server IP (from step 7)\n\n---\n\n### 10. Sync Node\n\nOnce the command is entered, your node starts running. It may take a few hours for your node to sync to the tip of the block, depending on your device's performance.\n\n---\n\n### 11. Get Apprentice Role on Aztec Discord\n\nGo to the Discord channel: [Aztec Discord](https://discord.com/channels/1144692727120937080/1367196595866828982) and get the below details before using the commands.\n\n**Open a New terminal and run (do NOT shut down your Node):**\n\n**Step 1: Get the latest proven block number**\n```bash\ncurl -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\"\n```\n- Save this block number for the next steps.\n- Example output: `23546`\n- If running on a server, replace `http://localhost:8080` with your server's IP (keep port 8080).\n\n---\n\n**Step 2: Generate your sync proof**\n```bash\ncurl -s -X POST -H 'Content-Type: application/json' \\\n-d '{\"jsonrpc\":\"2.0\",\"method\":\"node_getArchiveSiblingPath\",\"params\":[\"BLOCK_NUMBER\",\"BLOCK_NUMBER\"],\"id\":67}' \\\nhttp://localhost:8080 | jq -r \".result\"\n```\n- Replace both `BLOCK_NUMBER` with the number from Step 1.\n  \n---\n\n🟥**Step 3: Register with Discord** 🟥 **[DEPRECATED]**\n\nType the following command in the Discord server:\n```\n/operator start\n```\n- Fill out the required fields:\n    - **address:** Your validator address (Ethereum Address)\n    - **block-number:** Block number from Step 1\n    - **proof:** Sync proof (base64 string from Step 2)\n\nOnce you submit, you'll obtain your Apprentice Role!\n\n---\n\n🆕**Step 4: Get your Peer ID \u0026 Check Status**\n- Get your Peer ID that starts with 16nlsdfl\n```bash\nsudo docker logs $(docker ps -q --filter ancestor=aztecprotocol/aztec:latest | head -n 1) 2\u003e\u00261 | grep -i \"peerId\" | grep -o '\"peerId\":\"[^\"]*\"' | cut -d'\"' -f4 | head -n 1\n```\n\n- Go over here: [Aztec P2P Explorer](https://aztec.nethermind.io/)\n- Input your Peer Id and keep track of it\n---\n\n🆕**Step 5: Get Guardian Role After running your node for atleast 3-4days**\n- Head over to [Discord](https://discord.com/channels/1144692727120937080/1370120277752549487)\n- Type `/checkip` \u0026 enter your vps IP \u0026 your EVM address \n\n---\n\n\n## 📝 Notes\n\n- Always ensure your private key is kept secure.\n- Do **not** share your private key with anyone.\n- For troubleshooting and support, use the [Aztec Discord](https://discord.com/invite/aztec).\n\n---\n\nHappy Sequencing!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdkrr731%2Faztec-sequencer-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdkrr731%2Faztec-sequencer-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdkrr731%2Faztec-sequencer-node/lists"}