{"id":25302082,"url":"https://github.com/shivamycodee/minimo-aa","last_synced_at":"2025-04-07T01:33:30.216Z","repository":{"id":208578925,"uuid":"721956923","full_name":"Shivamycodee/minimo-aa","owner":"Shivamycodee","description":"applying account abstraction 🤠","archived":false,"fork":false,"pushed_at":"2023-12-28T12:31:53.000Z","size":46453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T06:51:32.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/Shivamycodee.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":"2023-11-22T06:09:11.000Z","updated_at":"2024-08-10T04:35:59.000Z","dependencies_parsed_at":"2025-02-13T07:01:28.635Z","dependency_job_id":null,"html_url":"https://github.com/Shivamycodee/minimo-aa","commit_stats":null,"previous_names":["shivamycodee/minimo-aa"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fminimo-aa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fminimo-aa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fminimo-aa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivamycodee%2Fminimo-aa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivamycodee","download_url":"https://codeload.github.com/Shivamycodee/minimo-aa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247578180,"owners_count":20961233,"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":"2025-02-13T06:51:01.264Z","updated_at":"2025-04-07T01:33:25.208Z","avatar_url":"https://github.com/Shivamycodee.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Account Abstraction in Hardhat Project\n\nThis repository implements the concept of account abstraction in a Hardhat project on the Mumbai network. It utilizes EIP 4337, an Ethereum Improvement Proposal that introduces the concept of account abstraction.\n\n## 🔒🔑💼 Account Abstraction\n\nAccount abstraction allows for more flexibility in managing accounts and transactions on the Ethereum network. It enables developers to create custom account types and define their own transaction validation rules. This can be useful for implementing advanced features such as multi-signature wallets or smart contract wallets.\n\n## 🛠️💡 Applying EIP 4337\n\nBy applying EIP 4337 in this Hardhat project, you can take advantage of the benefits provided by account abstraction and build more secure and efficient applications on the Mumbai network.\n\n## 🚀🌐 More Information\n\nFor more information about EIP 4337 and account abstraction, refer to the Ethereum Improvement Proposal documentation.\n\n## 📚📖 Additional Resources\n\nFor more resources on Account Abstraction, you can check out the Awesome Account Abstraction curated list.\n\n## Contributing\n\nContributions are welcome! Please read the contribution guidelines for information on formatting and writing pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contact\n\nFor any questions or feedback, please reach out to us at our GitHub Issues page.\n\n## Acknowledgments\n\nThis project was inspired by the Blocknative blog post on account abstraction and ERC-4337.\n\n\n\n\n\n## Final UserOps Structure ( Calling a swap function...)\n\n userOperation = {\n\n      sender: SCAddress,\n      nonce: 0, // random nonce...\n      initCode: ethers.hexlify(ethers.utils.toUtf8Bytes(\"\")), // Initialize as empty bytes or with relevant initialization data\n      callData: SwapContract.interface.encodeFunctionData(\"SwapNovice\", [\n        tokenIN,\n        amount,\n        true, // YING -\u003e YANG\n      ]),\n      callGasLimit: 500000, // Set the gas limit for the call (example value)\n      verificationGasLimit: \"73672\", // Set the verification gas limit (example value)\n      preVerificationGas: \"73588\", // Set the pre-verification gas (example value)\n      maxFeePerGas: \"2250000025\", // Set the maximum fee per gas to 100 gwei\n      maxPriorityFeePerGas: \"1500000017\", // Set the maximum priority fee per gas to 0 gwei\n      paymasterAndData: ethers.ZeroAddress, // get this from ValidatePayMasterUserOps\n      signature: ethers.hexlify(ethers.utils.toUtf8Bytes(\"\")), // Initialize as empty bytes or with relevant signature\n    };","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamycodee%2Fminimo-aa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivamycodee%2Fminimo-aa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamycodee%2Fminimo-aa/lists"}