{"id":20679599,"url":"https://github.com/andreiashu/infura-local","last_synced_at":"2026-04-21T00:02:34.044Z","repository":{"id":139071431,"uuid":"335304790","full_name":"andreiashu/infura-local","owner":"andreiashu","description":"Mainnet fork of infura on localhost with self signed certificate","archived":false,"fork":false,"pushed_at":"2021-02-02T13:55:11.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T19:37:51.080Z","etag":null,"topics":["alchemyapi","ethereum","infura-api"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/andreiashu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-02-02T13:51:39.000Z","updated_at":"2021-02-02T13:56:09.000Z","dependencies_parsed_at":"2024-03-30T23:15:51.309Z","dependency_job_id":null,"html_url":"https://github.com/andreiashu/infura-local","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreiashu/infura-local","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiashu%2Finfura-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiashu%2Finfura-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiashu%2Finfura-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiashu%2Finfura-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreiashu","download_url":"https://codeload.github.com/andreiashu/infura-local/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiashu%2Finfura-local/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32071021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"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":["alchemyapi","ethereum","infura-api"],"created_at":"2024-11-16T21:26:36.950Z","updated_at":"2026-04-21T00:02:34.022Z","avatar_url":"https://github.com/andreiashu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mainnet fork of infura on localhost with self signed certificate\n\n## Setup\n```\ncp .env.example .env\n# edit .env, add your alchemi.io key\n\n# map mainnet infura to localhost\necho '127.0.0.1 mainnet.infura.io' | sudo tee -a /etc/hosts\n\n# generate self signed certs\n./makecerts.sh\n\n# start the docker containers - append `-d` if you want it sent to background\n# ganache-cli will take a bit of time to start but once started it should list\n# seed phrase, accounts and private keys\ndocker-compose up\n```\n\nTest that requests to infura work\n```\ncurl -i -k 'https://mainnet.infura.io/v3/bf9c8c1758124c208066454d352c84c4' \\\n  -H 'authority: mainnet.infura.io' \\\n  -H 'pragma: no-cache' \\\n  -H 'cache-control: no-cache' \\\n  -H 'content-type: application/json' \\\n  -H 'accept: */*' \\\n  -H 'origin: https://zapper.fi' \\\n  -H 'sec-fetch-site: cross-site' \\\n  -H 'sec-fetch-mode: cors' \\\n  -H 'sec-fetch-dest: empty' \\\n  -H 'referer: https://zapper.fi/' \\\n  -H 'accept-language: en-US,en;q=0.9' \\\n  --data-raw '{\"method\":\"eth_chainId\",\"params\":[],\"id\":42,\"jsonrpc\":\"2.0\"}' \\\n  --compressed\n\nHTTP/1.1 200 OK\nAccess-Control-Allow-Credentials: true\nAccess-Control-Allow-Origin: https://zapper.fi\nContent-Type: application/json\nDate: Tue, 02 Feb 2021 13:49:38 GMT\nContent-Length: 40\n\n{\"id\":42,\"jsonrpc\":\"2.0\",\"result\":\"0x1\"}\n```\n\nOpen https://mainnet.infura.io/ in Brave browser (you should see a warning message:\nYour connection is not private / NET::ERR_CERT_AUTHORITY_INVALID)\n\nClick Advanced -\u003e Proceed\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiashu%2Finfura-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreiashu%2Finfura-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiashu%2Finfura-local/lists"}