{"id":15292346,"url":"https://github.com/uf4no/hardhat-evm-zksync-example","last_synced_at":"2026-04-28T20:37:00.082Z","repository":{"id":256940176,"uuid":"856339965","full_name":"uF4No/hardhat-evm-zksync-example","owner":"uF4No","description":"Project with example scripts to deploy and test contracts on EVM networks and ZKsync out of the box","archived":false,"fork":false,"pushed_at":"2024-09-20T11:49:30.000Z","size":550,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T10:17:43.915Z","etag":null,"topics":["ethereum","evm","hardhat","zksync"],"latest_commit_sha":null,"homepage":"","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/uF4No.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":"2024-09-12T12:17:41.000Z","updated_at":"2024-09-20T11:49:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f82bef3-5cd8-405d-a939-8772173d2381","html_url":"https://github.com/uF4No/hardhat-evm-zksync-example","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"d4740b9ac22c388c515f349b5164932e0364a01c"},"previous_names":["uf4no/hardhat-evm-zksync-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uF4No%2Fhardhat-evm-zksync-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uF4No%2Fhardhat-evm-zksync-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uF4No%2Fhardhat-evm-zksync-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uF4No%2Fhardhat-evm-zksync-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uF4No","download_url":"https://codeload.github.com/uF4No/hardhat-evm-zksync-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245249230,"owners_count":20584497,"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":["ethereum","evm","hardhat","zksync"],"created_at":"2024-09-30T16:17:26.900Z","updated_at":"2026-04-28T20:37:00.050Z","avatar_url":"https://github.com/uF4No.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hardhat EVM-ZKsync example project\n\nThis is a sample project showcasing different contracts and scripts to deploy them to both Sepolia (or other EVM equivalent chain) and ZKsync Era reusing the same scripts.\n\n## Project structure\n\n- `/contracts`: contains a basic smart contract and different proxies.\n- `/deploy`: contains a `hardhat-deploy` script to deploy a basic contract `ZeekMessages.sol`.\n- `/scripts`: contains scripts to deploy all contracts with `hardhat-ethers`.\n\n## EVM / ZKsync target networks\n\nThe networks section of the `hardhat.config.ts` file contains both ZKsync and Sepolia networks. All scripts can be used in both Sepolia and ZKsync, showcasing compatibility between chains.\n\nTo target a specific network use the `--network sepolia` or `--network zksyncSepolia` flag.\n\n## Run deployment scripts\n\n### hardhat-ethers scripts\n\nExamples:\n\n- `npx hardhat run scripts/deploy-uups-proxy.ts --network sepolia`\n- `npx hardhat run scripts/deploy-transparent-proxy-v2.ts --network zksyncSepolia`\n\n### hardhat-deploy script\n\nExample:\n\n`npx hardhat deploy --network sepolia`\n\n## Tests\n\n| Contract | Type | EVM | ZKsync |\n|----|--|--|----|\n|Basic contract | `hardhat-deploy`| ✅ |✅ |\n|Basic contract | `hardhat-ethers`| ✅ |✅ |\n|Transparent proxy | `hardhat-ethers`| ✅ |✅ |\n|Transparent proxy upgrade | `hardhat-ethers`| ✅ | ✅ |\n|Beacon proxy | `hardhat-ethers`| ✅ | ✅ |\n|Beacon proxy upgrade | `hardhat-ethers`| ✅ | ✅ |\n|UUPS proxy | `hardhat-ethers`| ✅ |✅ |\n|UUPS proxy upgrade | `hardhat-ethers`| ✅ |✅ |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuf4no%2Fhardhat-evm-zksync-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuf4no%2Fhardhat-evm-zksync-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuf4no%2Fhardhat-evm-zksync-example/lists"}