{"id":18953152,"url":"https://github.com/0xpolygon/zkevm-wrapper","last_synced_at":"2025-04-30T15:19:05.138Z","repository":{"id":183732755,"uuid":"661697169","full_name":"0xPolygon/zkevm-wrapper","owner":"0xPolygon","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-16T13:38:35.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-30T15:19:00.265Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xPolygon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-03T12:52:46.000Z","updated_at":"2023-07-26T11:25:47.000Z","dependencies_parsed_at":"2024-04-15T15:18:02.490Z","dependency_job_id":"da1519b6-f8d7-4c17-8da2-f49896985fd1","html_url":"https://github.com/0xPolygon/zkevm-wrapper","commit_stats":null,"previous_names":["0xpolygon/zkevm-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPolygon%2Fzkevm-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPolygon%2Fzkevm-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPolygon%2Fzkevm-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPolygon%2Fzkevm-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xPolygon","download_url":"https://codeload.github.com/0xPolygon/zkevm-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251729733,"owners_count":21634281,"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-08T13:36:50.561Z","updated_at":"2025-04-30T15:19:05.116Z","avatar_url":"https://github.com/0xPolygon.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZkEVM Wrapper [![test](https://github.com/0xPolygon/zkevm-wrapper/actions/workflows/test.yml/badge.svg)](https://github.com/0xPolygon/zkevm-wrapper/actions/workflows/test.yml)\n\nThis repository contains the ZkEVM wrapper contracts that allows any user (including smart contracts) to transfer ETH and\nERC20 tokens to ZkEVM in a single transaction.\n\n## Features\n\n- Transfer ETH and ERC20 tokens to ZkEVM using traditional ERC-20 approval flow\n- Transfer ETH and ERC20 tokens to ZkEVM using EIP-2612 permit signatures\n- Transfer ETH and ERC20 tokens to ZkEVM using DAI-style permit signatures\n  \u003e ⚠️ **_NOTE:_** The wrapper does not support fee-on-transfer tokens and will automatically revert if the token has a transfer fee.\n\n## Usage\n\n- Make an approval tx to the wrapper contract with the amount of tokens you want to transfer to ZkEVM\n  _or_\n- Sign a EIP-2612 permit signature with the amount of tokens and appropriate deadline you want to transfer to ZkEVM\n  _or_\n- Sign a Dai-style permit signature with the amount of tokens and appropriate expiry and nonce you want to transfer to ZkEVM\n\nThen,\n\n- Call the appropriate `deposit()` function on the wrapper contract with the ether, amount of ERC-20 tokens (and signature, if any) that you want to transfer to ZkEVM\n\n## Deployment addresses\n\n| Network           | Address                                                                                                                       |\n| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| Ethereum mainnet  | [0x047E0b64743071b897A6177F1796E98b4C3f344E](https://etherscan.io/address/0x047e0b64743071b897a6177f1796e98b4c3f344e)         |\n| Testnet (Sepolia) | [0x0f04f8434BaC2e1Db8FCa8A34D3E177B6c7CCAbA](https://sepolia.etherscan.io/address/0x0f04f8434bac2e1db8fca8a34d3e177b6c7ccaba) |\n\n## Development\n\nThis repository makes use of [Foundry](https://github.com/foundry-rs/foundry) for compilation and dependency management. You can find the installation instructions [here](https://book.getfoundry.sh/getting-started/installation).\n\nTo build the project, run:\n\n```bash\nforge build\n```\n\nTo run the tests, run:\n\n```bash\nforge test\n```\n\n## Licensing\n\nAll source code is released under the MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT).\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpolygon%2Fzkevm-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xpolygon%2Fzkevm-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpolygon%2Fzkevm-wrapper/lists"}