{"id":34573114,"url":"https://github.com/base/contract-address-checker","last_synced_at":"2026-05-26T12:44:28.610Z","repository":{"id":326139174,"uuid":"1104155944","full_name":"base/contract-address-checker","owner":"base","description":"Automation to ensure the contract addresses in our public docs are up to date","archived":false,"fork":false,"pushed_at":"2025-11-26T02:02:49.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-29T02:04:38.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/base.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-25T20:43:48.000Z","updated_at":"2025-11-26T02:02:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/base/contract-address-checker","commit_stats":null,"previous_names":["base/contract-address-checker"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/base/contract-address-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base%2Fcontract-address-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base%2Fcontract-address-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base%2Fcontract-address-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base%2Fcontract-address-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/base","download_url":"https://codeload.github.com/base/contract-address-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/base%2Fcontract-address-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33521330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-24T09:45:49.757Z","updated_at":"2026-05-26T12:44:28.604Z","avatar_url":"https://github.com/base.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contract Addresses Scanner\n\nThis utility script helps Base engineers ensure that the contract addresses listed in our documentation are up to date with the actual onchain deployments.\n\n## Overview\n\nThe scanner parses a Markdown file containing tables of contract addresses, queries the relevant L1 contracts (like `SystemConfig`, `DisputeGameFactory`, etc.) via RPC, and compares the documented addresses against the actual on-chain values.\n\n## Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install) (latest stable version)\n\n## Usage\n\n### Building\n\nTo build the project:\n\n```bash\ncargo build --release\n```\n\n### Running\n\nYou can run the scanner using `cargo run`. You need to provide the path to the file you want to check and the RPC URLs for the L1 networks.\n\n```bash\ncargo run --release -- \\\n  --file \u003cPATH_TO_FILE\u003e \\\n  --mainnet-rpc-url \u003cETHEREUM_MAINNET_RPC_URL\u003e \\\n  --sepolia-rpc-url \u003cETHEREUM_SEPOLIA_RPC_URL\u003e\n```\n\n### Arguments\n\n- `-f, --file \u003cFILE\u003e`: Path to the file to parse (required).\n- `--mainnet-rpc-url \u003cURL\u003e`: Ethereum Mainnet RPC URL. Can also be set via `MAINNET_RPC_URL` environment variable.\n- `--sepolia-rpc-url \u003cURL\u003e`: Ethereum Sepolia RPC URL. Can also be set via `SEPOLIA_RPC_URL` environment variable.\n\n### Using Make\n\nA `Makefile` is provided for convenience. You can run the example verification with:\n\n```bash\nmake run\n```\n\n_Note: The `make run` command uses hardcoded public/internal RPC URLs. You may need to override them or ensure you have access._\n\n## Input File Format\n\nThe tool expects a Markdown file where:\n\n- Networks are denoted by H3 headers starting with `###` (e.g., `### Ethereum Mainnet`).\n- Contract addresses are listed in Markdown tables.\n- The table rows should contain a contract name and an address in the format `[0x...]`.\n\nExample:\n\n```markdown\n### Base Mainnet\n\n| Contract Name | Address |\n|Data Availability Challenge | [0x...] |\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbase%2Fcontract-address-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbase%2Fcontract-address-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbase%2Fcontract-address-checker/lists"}