{"id":17794196,"url":"https://github.com/pyk/zkevm-contracts-v2","last_synced_at":"2025-04-02T02:21:23.755Z","repository":{"id":234311046,"uuid":"788633443","full_name":"pyk/zkevm-contracts-v2","owner":"pyk","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-18T19:41:53.000Z","size":5939,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"feature/custom-mapping","last_synced_at":"2025-02-07T17:22:35.695Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/Hexens_Polygon_zkEVM_PUBLIC_27.02.23.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-18T19:41:06.000Z","updated_at":"2024-04-18T19:42:55.000Z","dependencies_parsed_at":"2024-04-18T21:04:10.138Z","dependency_job_id":null,"html_url":"https://github.com/pyk/zkevm-contracts-v2","commit_stats":null,"previous_names":["pyk/zkevm-contracts-v2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fzkevm-contracts-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fzkevm-contracts-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fzkevm-contracts-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fzkevm-contracts-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyk","download_url":"https://codeload.github.com/pyk/zkevm-contracts-v2/tar.gz/refs/heads/feature/custom-mapping","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741315,"owners_count":20826104,"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-10-27T11:15:26.879Z","updated_at":"2025-04-02T02:21:23.732Z","avatar_url":"https://github.com/pyk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zkevm-contracts\n\nSmart contract implementation which will be used by the polygon zkevm\n\n[![Main CI](https://github.com/0xPolygonHermez/zkevm-contracts/actions/workflows/main.yml/badge.svg)](https://github.com/0xPolygonHermez/zkevm-contracts/actions/workflows/main.yml)\n\n## Mainnet Contracts:\n\n| Contract Name                | Address                                                                                                               |\n| ---------------------------- | --------------------------------------------------------------------------------------------------------------------- |\n| PolygonRollupManager         | [0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2](https://etherscan.io/address/0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2) |\n| PolygonZkEVMBridgeV2         | [0x2a3DD3EB832aF982ec71669E178424b10Dca2EDe](https://etherscan.io/address/0x2a3DD3EB832aF982ec71669E178424b10Dca2EDe) |\n| PolygonZkEVMGlobalExitRootV2 | [0x580bda1e7A0CFAe92Fa7F6c20A3794F169CE3CFb](https://etherscan.io/address/0x580bda1e7A0CFAe92Fa7F6c20A3794F169CE3CFb) |\n| FflonkVerifier               | [0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9](https://etherscan.io/address/0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9) |\n| PolygonZkEVMDeployer         | [0xCB19eDdE626906eB1EE52357a27F62dd519608C2](https://etherscan.io/address/0xCB19eDdE626906eB1EE52357a27F62dd519608C2) |\n| PolygonZkEVMTimelock         | [0xEf1462451C30Ea7aD8555386226059Fe837CA4EF](https://etherscan.io/address/0xEf1462451C30Ea7aD8555386226059Fe837CA4EF) |\n\n## zkEVM Contracts:\n\n| Contract Name        | Address                                                                                                                        |\n| -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |\n| PolygonZkEVMBridgeV2 | [0x2a3DD3EB832aF982ec71669E178424b10Dca2EDe](https://zkevm.polygonscan.com/address/0x2a3DD3EB832aF982ec71669E178424b10Dca2EDe) |\n| PolygonZkEVMTimelock | [0xBBa0935Fa93Eb23de7990b47F0D96a8f75766d13](https://zkevm.polygonscan.com/address/0xBBa0935Fa93Eb23de7990b47F0D96a8f75766d13) |\n\n## Requirements\n\n-   node version: 16.x\n-   npm version: 7.x\n\n## Install repo\n\n```\nnpm i\n```\n\n## Run tests\n\n```\nnpm run test\n```\n\n## Deploy on hardhat\n\n```\nnpm run deploy:ZkEVM:hardhat\n```\n\n## Build dockers\n\n```\nnpm run docker:contracts\n```\n\nOr if using new docker-compose version\n\n```\nnpm run dockerv2:contracts\n```\n\nA new docker `hermeznetwork/geth-zkevm-contracts` will be created\nThis docker will contain a geth node with the deployed contracts\nThe deployment output can be found in: `docker/deploymentOutput/deploy_output.json`\nTo run the docker you can use: `docker run -p 8545:8545 hermeznetwork/geth-zkevm-contracts`\n\n## Note\n\nIn order to test, the following private keys are being used. These keys are not meant to be used in any production environment:\n\n-   private key: `0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`\n    -   address:`0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266`\n-   private key: `0xdfd01798f92667dbf91df722434e8fbe96af0211d4d1b82bbbbc8f1def7a814f`\n    -   address:`0xc949254d682d8c9ad5682521675b8f43b102aec4`\n\n# Verify Deployed Smart Contracts\n\nTo verify that the smartcontracts of this repository are the same deployed on mainnet, you could follow the instructions described [document](verifyMainnetDeployment/verifyDeployment.md)\n\nThe smartcontract used to verify a proof, it's a generated contract from zkEVM Rom and Pil (constraints). To verify the deployment of this smartcontract you could follow the instructions described in this [document](verifyMainnetDeployment/verifyMainnetProofVerifier.md)\n\n## Activate github hook\n\n```\ngit config --local core.hooksPath .githooks/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Fzkevm-contracts-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyk%2Fzkevm-contracts-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Fzkevm-contracts-v2/lists"}