{"id":28203672,"url":"https://github.com/codeesura/aztec-validator-register","last_synced_at":"2025-07-27T06:36:10.955Z","repository":{"id":293079837,"uuid":"981754698","full_name":"codeesura/aztec-validator-register","owner":"codeesura","description":"Rust-based tool for registering as a validator in the Aztec network on Sepolia testnet","archived":false,"fork":false,"pushed_at":"2025-07-03T08:19:02.000Z","size":267,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T08:33:15.197Z","etag":null,"topics":["aztec","aztec-network","bot","rust","sepolia-testnet","validator"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/codeesura.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-05-11T20:10:46.000Z","updated_at":"2025-07-03T08:18:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"65bf0099-a10d-49f6-9cea-b29c962a8c30","html_url":"https://github.com/codeesura/aztec-validator-register","commit_stats":null,"previous_names":["codeesura/aztec-validator-register"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeesura/aztec-validator-register","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeesura%2Faztec-validator-register","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeesura%2Faztec-validator-register/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeesura%2Faztec-validator-register/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeesura%2Faztec-validator-register/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeesura","download_url":"https://codeload.github.com/codeesura/aztec-validator-register/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeesura%2Faztec-validator-register/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267317853,"owners_count":24068482,"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-07-27T02:00:11.917Z","response_time":82,"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","aztec-network","bot","rust","sepolia-testnet","validator"],"created_at":"2025-05-17T02:12:03.119Z","updated_at":"2025-07-27T06:36:10.950Z","avatar_url":"https://github.com/codeesura.png","language":"Rust","readme":"# Aztec Validator Registration Tool\n\nA Rust application that registers a validator in the Aztec network on Sepolia testnet.\n\n## Overview\n\nThis tool allows you to register as a validator in the Aztec network by:\n\n1. Calculating the forwarder address for your wallet\n2. Submitting a transaction to the Staking contract\n3. Monitoring the transaction status until it's included in a block\n\n## Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install) (latest stable version)\n- [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) (comes with Rust)\n- An Ethereum private key with funds on Sepolia testnet\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/codeesura/aztec-validator-register.git\n   cd aztec-validator-register\n   ```\n\n2. Create a `.env` file in the root directory with your private key:\n   ```\n   PRIVATE_KEY=your_private_key_here\n   ```\n   (⚠️ Never commit your .env file or share your private key!)\n\n## Usage\n\nBuild and run the application:\n\n```bash\ncargo build --release\ncargo run --release\n```\n\nThe application will:\n- Calculate your forwarder address\n- Listen for new blocks on Sepolia\n- Submit a transaction to register as a validator\n- Report on the status of the transaction\n\n## Configuration\n\nThe application uses the following configuration:\n\n- RPC URL: `wss://ethereum-sepolia-rpc.publicnode.com/`\n- Staking Contract Address: `0xF739D03e98e23A7B65940848aBA8921fF3bAc4b2`\n\nYou can modify these settings in the `src/config.rs` file.\n\n### Important: Gas Price Configuration\n\nTo successfully compete with bots for validator registration, you need to adjust the gas price in `src/main.rs`:\n\n```rust\nlet gas_price = 1_000_000_000_000; // 1k gwei\n```\n\nThis value (currently set to 1,000 GWEI) should be adjusted based on current network conditions. Higher values give your transaction priority but cost more. Modify this value according to your needs and the current gas prices on Sepolia.\n\n## Project Structure\n\n- `src/main.rs`: Entry point and main application logic\n- `src/config.rs`: Configuration settings\n- `src/provider.rs`: Ethereum provider setup\n- `src/forwarder.rs`: Calculate forwarder address\n- `src/create_transaction.rs`: Transaction creation\n- `src/estimate_gas.rs`: Gas estimation\n\n## Dependencies\n\nMain dependencies include:\n- `alloy`: Ethereum utilities\n- `tokio`: Async runtime\n- `dotenv`: Environment variable loading\n- `eyre`: Error handling\n- `serde`/`serde_json`: JSON serialization/deserialization\n\n## License\n\n[MIT](LICENSE)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeesura%2Faztec-validator-register","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeesura%2Faztec-validator-register","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeesura%2Faztec-validator-register/lists"}