https://github.com/kalikot26/aztec-validator-registration-script
Time-based Bash script to register Aztec validators using the CLI. Designed for Sepolia testnet automation.
https://github.com/kalikot26/aztec-validator-registration-script
automation aztec blockchain cli-tool shell-script testnet validator
Last synced: about 1 year ago
JSON representation
Time-based Bash script to register Aztec validators using the CLI. Designed for Sepolia testnet automation.
- Host: GitHub
- URL: https://github.com/kalikot26/aztec-validator-registration-script
- Owner: kalikot26
- License: mit
- Created: 2025-05-06T14:46:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-06T15:25:07.000Z (about 1 year ago)
- Last Synced: 2025-05-06T15:56:30.659Z (about 1 year ago)
- Topics: automation, aztec, blockchain, cli-tool, shell-script, testnet, validator
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aztec Validator Registration Script
This Bash script registers a validator on the Aztec network using the `aztec` CLI. It automatically waits until a target UNIX timestamp and then triggers the `add-l1-validator` transaction with the provided parameters.
> 🛠️ Useful for time-sensitive validator registration on testnets like Sepolia.
---
## 📦 Features
- Waits until a future UNIX timestamp before executing
- Clean parameter-based config for secure and flexible use
- Supports unattended execution via `screen` or any terminal session manager
---
## 🧰 Technologies Used
- Bash (Shell scripting)
- Aztec CLI
- Time-based automation
- Ethereum JSON-RPC
- `screen` (optional but recommended)
---
## ⚠️ Timestamp Configuration (IMPORTANT)
If you get an error like this:
Error: ValidatorQuotaFilledUntil(uint256 _timestamp)
(1746568152) <-- copy the value
Copy the **timestamp value** (e.g., `1746568152`) and update the script:
##📁 Cloning & Running the Script (Recommended with screen)
```bash
screen -S regvalidator
wget -O register-validator.sh https://raw.githubusercontent.com/kalikot26/aztec-validator-registration-script/main/register-validator.sh
chmod +x register-validator.sh
```
### 🔧 How to update:
```bash
nano register-validator.sh
````
Look for:
TARGET_TIMESTAMP=
Paste the new value from the error and save the file (Ctrl + s) and exit (Ctrl + X).
Apply your RPC, PrivKey, and Address
```run script
./register-validator.sh
```
To detach the session: Ctrl + A, then D
To reconnect later: screen -r regvalidator