8000 GitHub - molla202/Aztec
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

molla202/Aztec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

Aztec

681363d8655aaa9274d65eff_Testnet Announcement_blog

X Minimum
CPU 8++
RAM 16++ GB ( 20++ )
Storage 1 TB+ NVME GB SDD
Network 100 Mbps (1 Gbps+ recommended)
Server Provider Link Features
Contabo Link Cheap / Paypal
PQ Link Cheap / Crypto Payment
NetCup Link Cheap / Paypal

Project :

RPC ;

1. Server Update :

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

2. Install Packages:

sudo apt install htop ca-certificates zlib1g-dev 
8000
libncurses5-dev libgdbm-dev libnss3-dev tmux iptables curl nvme-cli git wget make jq libleveldb-dev build-essential pkg-config ncdu tar clang bsdmainutils lsb-release libssl-dev libreadline-dev libffi-dev jq gcc screen file unzip lz4 -y

3. Docker ;

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
docker version

4. Install Docker Compose :

VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/$VER/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version

4. Docker User Permissions

sudo groupadd docker
sudo usermod -aG docker $USER

Sequencer Node ;

Sequencer ; Sequencers in the Aztec network propose and produce blocks. Sequencers are also responsible for proposing and voting on network upgrades. Participate using consumer hardware.

Install Aztec ;

bash -i <(curl -s https://install.aztec.network)

image

  • y.

image

  • y

Fresh Shell ;

source .bash_profile

Aztec Seq ;

sudo ln -s $HOME/.aztec/bin/aztec /usr/local/bin/aztec -f
sudo ln -s $HOME/.aztec/bin/.aztec-run /usr/local/bin/.aztec-run -f
sudo ln -s $HOME/.aztec/bin/aztec-up /usr/local/bin/aztec-up -f
sudo ln -s $HOME/.aztec/bin/aztec-nargo /usr/local/bin/aztec-nargo -f
sudo ln -s $HOME/.aztec/bin/aztec-wallet /usr/local/bin/aztec-wallet -f

Try ;

aztec

Update ;

aztec-up alpha-testnet

Servis

sudo tee /etc/systemd/system/aztec.service > /dev/null <<EOF
[Unit]
Description=Aztec Node Service
After=network.target

[Service]
User=root
WorkingDirectory=/root
ExecStart=$(which 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 $(wget -qO- eth0.me)
Restart=on-failure
RestartSec=10
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF
  • 0xYourPrivateKey ; Metamask Private key
  • 0xYourAddress ; yazdığınız privatenin adresi
  • RPC_URL ; Sepolia RPC
  • BEACON_URL ; Beacon RPC
systemctl daemon-reload
systemctl enable aztec.service
sudo systemctl restart aztec.service
journalctl -fu aztec.service -o cat

Sepolia ;

image

Role ;

image

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: 12345

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)

image

  • DC
  • /operator start

image

Validator Reg

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

Repo / Profile Views

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0