{"id":21820180,"url":"https://github.com/5afe/safe-contract-deployment-replay","last_synced_at":"2025-04-14T02:43:32.943Z","repository":{"id":95347837,"uuid":"313387883","full_name":"5afe/safe-contract-deployment-replay","owner":"5afe","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-13T09:28:02.000Z","size":41,"stargazers_count":21,"open_issues_count":6,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-27T16:48:58.820Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5afe.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":"2020-11-16T18:11:40.000Z","updated_at":"2024-09-20T15:05:04.000Z","dependencies_parsed_at":"2023-04-17T00:44:22.622Z","dependency_job_id":null,"html_url":"https://github.com/5afe/safe-contract-deployment-replay","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/5afe%2Fsafe-contract-deployment-replay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-contract-deployment-replay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-contract-deployment-replay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Fsafe-contract-deployment-replay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5afe","download_url":"https://codeload.github.com/5afe/safe-contract-deployment-replay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812576,"owners_count":21165453,"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-27T16:29:05.690Z","updated_at":"2025-04-14T02:43:32.931Z","avatar_url":"https://github.com/5afe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Replay Safe contract deployment\n\n### Running on ganache\n\n- Copy sample env `cp .env.sample .env`\n- Start testing ganache with `yarn testnet`\n- Run `yarn deploy`\n\n### Running on custom network\n\n- Copy sample env `cp .env.sample .env`\n- Adjust `.env` file for your setup\n  - MNEMONIC will be used to create the account that funds the Safe deployment account\n  - RPC_URL will be used to interact with the EVM based chain\n- Run `yarn deploy`\n\n### Transactions\n\n#### Safe 1.1.1 and Factory\n\nThree transactions are required:\n- Safe mastercopy deployment\n- Registry setup (only useful on mainnet, but needs to be executed to have correct nonce for factory)\n- Proxy factory deployment\n\nAll three transactions have been executed originally at a gas price of 10 GWei, therefore the same gas price has to be used when replaying them.\n\n#### Safe 1.2.0\n\nNote: These contracts use the factory from version 1.1.1\n\nOne transaction is required:\n- Safe mastercopy deployment\n\nThe transaction has been executed originally at a gas price of 60 GWei, therefore the same gas price has to be used when replaying it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-contract-deployment-replay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5afe%2Fsafe-contract-deployment-replay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Fsafe-contract-deployment-replay/lists"}