{"id":28458221,"url":"https://github.com/solidstate-network/hardhat-selector-uploader","last_synced_at":"2026-01-19T05:01:01.806Z","repository":{"id":45193901,"uuid":"443467203","full_name":"solidstate-network/hardhat-selector-uploader","owner":"solidstate-network","description":"🗂️ Upload local function selectors to the Ethereum Selector Database 🗃️","archived":false,"fork":false,"pushed_at":"2025-09-18T18:10:13.000Z","size":509,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-02T21:42:43.216Z","etag":null,"topics":["eth","ether","ethereum","function-selector","hardhat","plugin","wow"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solidstate-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-01-01T03:58:41.000Z","updated_at":"2025-09-18T18:10:16.000Z","dependencies_parsed_at":"2024-06-17T18:25:12.755Z","dependency_job_id":"450a5af6-c699-43e0-94ba-acd4e81866b7","html_url":"https://github.com/solidstate-network/hardhat-selector-uploader","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.23529411764705888","last_synced_commit":"0eee50e6964a8b48cd1395316dba176b361edb5e"},"previous_names":["solidstate-network/hardhat-selector-uploader","solidstate-network/hardhat-4byte-uploader"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/solidstate-network/hardhat-selector-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-selector-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-selector-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-selector-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-selector-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidstate-network","download_url":"https://codeload.github.com/solidstate-network/hardhat-selector-uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-selector-uploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["eth","ether","ethereum","function-selector","hardhat","plugin","wow"],"created_at":"2025-06-07T00:10:32.636Z","updated_at":"2026-01-19T05:01:01.797Z","avatar_url":"https://github.com/solidstate-network.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hardhat Selector Uploader\n\nCalculate the function selectors found in all local contracts and upload them to the [4byte Directory](https://www.4byte.directory/) Ethereum Signature Database.\n\n\u003e Versions of this plugin prior to `2.0.0` were released as `@solidstate/hardhat-4byte-uploader`.\n\n## Installation\n\n```bash\nnpm install --save-dev @solidstate/hardhat-selector-uploader\n# or\npnpm add -D @solidstate/hardhat-selector-uploader\n```\n\n## Usage\n\nLoad plugin in Hardhat config:\n\n```javascript\nimport hardhatSelectorUploader from '@solidstate/hardhat-selector-uploader';\n\nconst config: HardhatUserConfig = {\n  plugins: [\n    hardhatSelectorUploader,\n  ],\n  selectorUploader: {\n    ... // see table for configuration options\n  },\n};\n```\n\nAdd configuration under the `selectorUploader` key:\n\n| option         | description                                                                                                       | default |\n| -------------- | ----------------------------------------------------------------------------------------------------------------- | ------- |\n| `runOnCompile` | whether to automatically upload selectors during compilation (ignored if Hardhat detects a CI server environment) | `false` |\n\n```javascript\nselectorUploader: {\n  runOnCompile: true,\n}\n```\n\nRun the included Hardhat task manually:\n\n```bash\nnpx hardhat upload-selectors\n# or\npnpm hardhat upload-selectors\n```\n\n## Development\n\nInstall dependencies via pnpm:\n\n```bash\npnpm install\n```\n\nSetup Husky to format code on commit:\n\n```bash\npnpm prepare\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstate-network%2Fhardhat-selector-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidstate-network%2Fhardhat-selector-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstate-network%2Fhardhat-selector-uploader/lists"}