Skip to content

bitnodeid/aztecnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

I would first like to state that this is a learning stage, and it uses resources from experts and experienced people like 0xmoei and frianowzki. if you found this helpful give them a star and follow their github account so you don't miss out on the latest updates.

How to Run this Node

Hardware requirements :

  • CPU 4+ Cores
  • 16GB+ RAM
  • 2TB SSD/NVMe
  • Network: 25 Mbps up/down bandwidth

1. Install Dependecies

  • Update Package :
sudo apt-get update && sudo apt-get upgrade -y
  • Install Packages :
sudo 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
  • Install Docker :
sudo apt update -y && sudo apt upgrade -y
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg

echo \
  "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt update -y && sudo apt upgrade -y

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Test Docker
sudo docker run hello-world

sudo systemctl enable docker
sudo systemctl restart docker

2. Install Aztec

bash -i <(curl -s https://install.aztec.network)
echo 'export PATH="$HOME/.aztec/bin:$PATH"' >> ~/.bashrc

source ~/.bashrc

3. Update Aztec

aztec-up alpha-testnet

4. Use RPC Sepolia and Beacon through a third party

If you've got it, then proceed to the next step.

5. Wallet

  • You need an EVM wallet like Metamask or Zerion to run this Node.
  • If the wallet is ready, fill it with a bit of Sepolia Faucet. Or if it's hard to get, buy it in gas.zip from any mainnet network to the sepolia network destination

6. Find IP

curl ipv4.icanhazip.com

7. Enable Firewall & Open Port

# Firewall
ufw allow 22
ufw allow ssh
ufw enable

# Sequencer
ufw allow 40400
ufw allow 8080

8. Run Sequencer Node

  • Use the screen to run in the background
screen -S aztec
  • Run Node
aztec start --node --archiver --sequencer \
  --network alpha-testnet \
  --l1-rpc-urls RPC_URL  \
  --l1-consensus-host-urls BEACON_URL \
  --sequencer.validatorPrivateKey 0xYourPrivateKey \
  --sequencer.coinbase 0xYourAddress \
  --p2p.p2pIp IP
  --p2p.maxTxPoolSize 1000000000
  • in rows 3 & 4 Replace RPC_URL & BEACON_URL with the one you got at third party.
  • in rows 5 Replace with the private key from your wallet
  • in rows 6 Replace with Public Address
  • in rows 7 Replace with your IP VPS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published