{"id":19460159,"url":"https://github.com/offchainlabs/rescueth","last_synced_at":"2026-02-14T12:33:53.726Z","repository":{"id":67046459,"uuid":"576024508","full_name":"OffchainLabs/RescuETH","owner":"OffchainLabs","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T20:49:37.000Z","size":89,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-25T07:35:36.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/OffchainLabs.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-12-08T20:49:19.000Z","updated_at":"2023-04-19T14:58:03.000Z","dependencies_parsed_at":"2023-04-08T10:02:15.184Z","dependency_job_id":null,"html_url":"https://github.com/OffchainLabs/RescuETH","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OffchainLabs/RescuETH","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2FRescuETH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2FRescuETH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2FRescuETH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2FRescuETH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OffchainLabs","download_url":"https://codeload.github.com/OffchainLabs/RescuETH/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2FRescuETH/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29443475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T10:51:12.367Z","status":"ssl_error","status_checked_at":"2026-02-14T10:50:52.088Z","response_time":53,"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":"2024-11-10T17:35:47.416Z","updated_at":"2026-02-14T12:33:53.705Z","avatar_url":"https://github.com/OffchainLabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RescuETH\n\nTo be used by the deployer of a contract at address A on chain X, to rescue the ETH of a user who accidentally sent ETH to address A on some other chain Y.\n\nChecks that ETH is still recoverable (i.e., nonce for deployer address is still available) and recovers Eth by deploying a RecoverBags contract if so.\n\n### Set up\n\nSee hardhat config; ensure relevant network RPC urls / pks are configed (i.e., see .env.sample).\n\n### Run\n\n`yarn hardhat recover --targetaddress \u003c0x-targetAddress\u003e --recoveryaddress \u003c0x-recovery-adddress\u003e --network \u003cnetwork-name\u003e`\n\n**targetaddress**: address from which to recover ETH\n**recoveryaddress**: address to which recovered eth will be sent\n((noncestotry)) (optional): of nonces to try (defaults to 50\")\n.addOptionalParam(\"\", \"# of nonces to try (defaults to 50\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchainlabs%2Frescueth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffchainlabs%2Frescueth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchainlabs%2Frescueth/lists"}