{"id":19213634,"url":"https://github.com/awkweb/hardhat-fork-with-ens","last_synced_at":"2025-11-14T13:06:27.024Z","repository":{"id":77267042,"uuid":"465898329","full_name":"awkweb/hardhat-fork-with-ens","owner":"awkweb","description":"Hardhat forking does not work with ethers.js ENS methods","archived":false,"fork":false,"pushed_at":"2022-03-03T22:16:35.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T17:47:32.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/awkweb.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}},"created_at":"2022-03-03T22:01:42.000Z","updated_at":"2022-11-12T22:38:50.000Z","dependencies_parsed_at":"2023-07-27T10:30:59.950Z","dependency_job_id":null,"html_url":"https://github.com/awkweb/hardhat-fork-with-ens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awkweb%2Fhardhat-fork-with-ens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awkweb%2Fhardhat-fork-with-ens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awkweb%2Fhardhat-fork-with-ens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awkweb%2Fhardhat-fork-with-ens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awkweb","download_url":"https://codeload.github.com/awkweb/hardhat-fork-with-ens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286519,"owners_count":19777353,"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","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":"2024-11-09T14:06:46.248Z","updated_at":"2025-11-14T13:06:21.937Z","avatar_url":"https://github.com/awkweb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## hardhat-fork-with-ens\n\nWhen using [Mainnet Forking](https://hardhat.org/hardhat-network/guides/mainnet-forking.html) with Hardhat, [ethers.js](https://ethers.org/) ENS-related methods fail (i.e. `lookupAddress`).\n\nRun the following to get see the error:\n\n```\npnpm i\npnpm dev\n```\n\nOr npm:\n\n```\nnpm i\nnpm dev\n```\n\nCheck out `src/index.ts` to switch between Hardhat ethers and plain Alchemy providers.\n\n```\nUsing address 0xA0Cf…251e\nFetching balance…\nBigNumber { value: \"1403416862768458662\" }\nFetching ENS name…\nError: network does not support ENS (operation=\"ENS\", network=\"unknown\", code=UNSUPPORTED_OPERATION, version=providers/5.5.3)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawkweb%2Fhardhat-fork-with-ens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawkweb%2Fhardhat-fork-with-ens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawkweb%2Fhardhat-fork-with-ens/lists"}