{"id":31574632,"url":"https://github.com/matter-labs/zksync-contracts","last_synced_at":"2025-10-05T16:09:11.272Z","repository":{"id":303799684,"uuid":"1009097903","full_name":"matter-labs/zksync-contracts","owner":"matter-labs","description":"ZKsync contract interfaces and libraries","archived":false,"fork":false,"pushed_at":"2025-09-18T17:31:05.000Z","size":1819,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T20:07:56.847Z","etag":null,"topics":["contracts","elastic-network","zksync"],"latest_commit_sha":null,"homepage":"","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/matter-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-26T15:14:04.000Z","updated_at":"2025-09-18T17:30:28.000Z","dependencies_parsed_at":"2025-09-18T19:23:44.472Z","dependency_job_id":"4deca8ce-b27d-4abc-a06a-e4e9bc96be96","html_url":"https://github.com/matter-labs/zksync-contracts","commit_stats":null,"previous_names":["matter-labs/zksync-contracts"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/matter-labs/zksync-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matter-labs%2Fzksync-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matter-labs%2Fzksync-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matter-labs%2Fzksync-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matter-labs%2Fzksync-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matter-labs","download_url":"https://codeload.github.com/matter-labs/zksync-contracts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matter-labs%2Fzksync-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278478418,"owners_count":25993665,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["contracts","elastic-network","zksync"],"created_at":"2025-10-05T16:09:05.674Z","updated_at":"2025-10-05T16:09:08.782Z","avatar_url":"https://github.com/matter-labs.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003e\n  \u003cpicture\u003e\n    \u003csource srcset=\".github/assets/elastic_white.svg\" media=\"(prefers-color-scheme: dark)\" /\u003e\n    \u003cimg src=\".github/assets/elastic_black.svg\" alt=\"ZKsync\" width=\"32\" style=\"vertical-align: middle;\"\u003e\n  \u003c/picture\u003e\n  ZKsync Contracts\n\u003c/h1\u003e\n\n*Canonical L1 \u0026 L2 contract interfaces for the ZKsync Elastic Network*\n\n[![NPM](https://img.shields.io/npm/v/@matterlabs/zksync-contracts)](https://www.npmjs.com/package/@matterlabs/zksync-contracts)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE-MIT)\n[![Docs](https://img.shields.io/badge/docs-reference-blue)](https://matter-labs.github.io/zksync-contracts/latest/)\n[![X: @zksyncdevs](https://img.shields.io/badge/follow-@zksyncdevs-1DA1F2?logo=x)](https://x.com/zksyncdevs)\n\n\u003c/div\u003e\n\n\u003e **Snapshot notice**  \n\u003e These contracts target **protocol version 29**, commit [`65234ab0`](https://github.com/matter-labs/era-contracts/commit/65234ab0617c677d8a3d266af9e95506db351280).\n\n\u003e [!NOTE]\n\u003e 🛠️ This is a **development repository** for _interfaces only_.\n\u003e If you're looking for **contract implementations**, see\n\u003e 👉 [matter-labs/era-contracts](https://github.com/matter-labs/era-contracts/tree/draft-v29)\n\n---\n\n## 📦 Installation\n\nTo install with [**Foundry-ZKsync**](https://github.com/matter-labs/foundry-zksync):\n\n```bash\nforge install matter-labs/zksync-contracts\n```\n\nAdd the following to the `remappings.txt` file of your project:\n\n```txt\n@matterlabs/zksync-contracts/=lib/matterlabs/zksync-contracts/\n```\n\nTo install with [**Hardhat**](https://github.com/matter-labs/hardhat-zksync):\n\n```bash\nbun install @matterlabs/zksync-contracts\n```\n\n## 🚀 Quick start\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {IPaymaster} from\n    \"@matterlabs/zksync-contracts/contracts/system-contracts/interfaces/IPaymaster.sol\";\n\ncontract MyPaymaster is IPaymaster {\n    // Your implementation here\n}\n```\n\n## 📖 Documentation\n\n* **Interface \u0026 Library Docs**\n  [Solidity interfaces and helper libraries](https://matter-labs.github.io/zksync-contracts/latest/)\n\n* **System Contract Specifications**\n  [Core system contract specs](https://matter-labs.github.io/zksync-era/core/latest/specs/contracts/index.html)\n\n* **Source Repository**\n  [GitHub – matter-labs/era-contracts](https://github.com/matter-labs/era-contracts/tree/release-v28)\n\n* **ZKsync Docs**\n  [docs.zksync.io](https://docs.zksync.io)\n\n## 🤝 Contributing\n\nBug fixes, new snapshots, and added ABIs are welcome!  \nOpen an issue before large changes and follow the standard PR workflow.\n\nFor full guidelines, please see the [Contributing Guide](./CONTRIBUTING.md).\n\n## 📜 License\n\nDual-licensed under **MIT** / **Apache-2.0**.\nSee [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE).\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n[Website](https://zksync.io) •\n[GitHub](https://github.com/matter-labs) •\n[X](https://x.com/zksync) •\n[X for Devs](https://x.com/zksyncdevs) •\n[Discord](https://join.zksync.dev) •\n[Mirror](https://zksync.mirror.xyz)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatter-labs%2Fzksync-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatter-labs%2Fzksync-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatter-labs%2Fzksync-contracts/lists"}