{"id":21820155,"url":"https://github.com/5afe/eip4337-diatomic","last_synced_at":"2025-10-25T19:46:33.660Z","repository":{"id":95347802,"uuid":"500873527","full_name":"5afe/eip4337-diatomic","owner":"5afe","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-26T23:54:55.000Z","size":200,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-27T16:49:23.163Z","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":"lgpl-3.0","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":"2022-06-07T14:23:35.000Z","updated_at":"2023-09-06T13:40:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"3dfb5a5c-95cc-4dd8-a2a3-948cb990801f","html_url":"https://github.com/5afe/eip4337-diatomic","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%2Feip4337-diatomic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Feip4337-diatomic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Feip4337-diatomic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5afe%2Feip4337-diatomic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5afe","download_url":"https://codeload.github.com/5afe/eip4337-diatomic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812605,"owners_count":21165455,"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:28:53.522Z","updated_at":"2025-10-25T19:46:33.550Z","avatar_url":"https://github.com/5afe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gnosis Safe Module/Fallback handler for EIP4337 Support\n\n![Scheme of how it works](/images/module_scheme.png)\n\n[![npm version](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-contracts.svg)](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-contracts)\n[![Build Status](https://github.com/gnosis/safe-contracts/workflows/safe-contracts/badge.svg?branch=development)](https://github.com/gnosis/safe-contracts/actions)\n[![Coverage Status](https://coveralls.io/repos/github/gnosis/safe-contracts/badge.svg?branch=development)](https://coveralls.io/github/gnosis/safe-contracts)\n\n\u003e :warning: **This branch contains changes that are under development** To use the latest audited version make sure to use the correct commit. The tagged versions that are used by the Gnosis Safe team can be found in the [releases](https://github.com/gnosis/safe-contracts/releases).\n\n## Usage\n\n### Install requirements with yarn:\n\n```bash\nyarn\n```\n\n### Run all tests:\n\n```bash\nyarn build\nyarn test\n```\n\n### Deploy\n\n\u003e :warning: **Make sure to use the correct commit when deploying the contracts.** Any change (even comments) within the contract files will result in different addresses. The tagged versions that are used by the Gnosis Safe team can be found in the [releases](https://github.com/gnosis/safe-contracts/releases).\n\nThis will deploy the contracts deterministically and verify the contracts on etherscan using [Solidity 0.7.6](https://github.com/ethereum/solidity/releases/tag/v0.7.6) by default.\n\nPreparation:\n\n- Set `MNEMONIC` in `.env`\n- Set `INFURA_KEY` in `.env`\n\n```bash\nyarn deploy-all \u003cnetwork\u003e\n```\n\nThis will perform the following steps\n\n```bash\nyarn build\nyarn hardhat --network \u003cnetwork\u003e deploy\nyarn hardhat --network \u003cnetwork\u003e etherscan-verify\nyarn hardhat --network \u003cnetwork\u003e local-verify\n```\n\n#### Custom Networks\n\nIt is possible to use the `NODE_URL` env var to connect to any EVM based network via an RPC endpoint. This connection then can be used with the `custom` network.\n\nE.g. to deploy the Safe contract suite on that network you would run `yarn deploy-all custom`.\n\nThe resulting addresses should be on all networks the same.\n\nNote: Address will vary if contract code is changed or a different Solidity version is used.\n\n### Verify contract\n\nThis command will use the deployment artifacts to compile the contracts and compare them to the onchain code\n\n```bash\nyarn hardhat --network \u003cnetwork\u003e local-verify\n```\n\nThis command will upload the contract source to Etherescan\n\n```bash\nyarn hardhat --network \u003cnetwork\u003e etherscan-verify\n```\n\n## Documentation\n\n- [Safe developer portal](http://docs.gnosis-safe.io)\n\n## Security and Liability\n\nAll contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n## License\n\nAll smart contracts are released under LGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Feip4337-diatomic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5afe%2Feip4337-diatomic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5afe%2Feip4337-diatomic/lists"}