Build Securely on ZKsync with OpenZeppelin
OpenZeppelin equips developers on ZKsync with audited contract libraries, upgrade plugins, and security tooling to build applications that inherit Ethereum’s security while taking advantage of zk-rollup speed and scalability.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
contract MyToken is ERC20, Ownable {
constructor() ERC20("MyToken", "MTK") Ownable(msg.sender) {}
function mint(address to, uint256 amount) external onlyOwner {
_mint(to, amount);
}
}OpenZeppelin Solidity Contracts
A suite of audited contracts and utilities for ZKsync, providing secure, modular components to accelerate development on the zk-rollup. By building on proven standards, developers can minimize risk, optimize for low-cost transactions, and scale confidently with Ethereum’s security guarantees.
More than
$82 billion
Total Value Transferred through OpenZeppelin Contracts on ZKsync
More than
129 million
Transactions executed with OpenZeppelin Contracts on ZKsync
Contracts
Contracts Wizard
Quickly configure and generate secure ZKsync smart contracts. Select the modules you need, preview the code, and export directly into your development workflow.
Upgrades Plugins
Deploy and manage upgradeable contracts on ZKsync with confidence using Hardhat and Foundry plugins. Automate proxy deployments, run security checks, and integrate onchain verification to streamline upgrades in a zk-rollup environment.
Contracts MCP
Integrate OpenZeppelin’s audited libraries into AI development environments for ZKsync. Generate and deploy secure Solidity contracts with proven standards, guided by AI tooling.
Open Source Tools
Relayer
Provide secure transaction relaying for ZKsync, helping applications interact with the network while simplifying backend operations and transaction flow management.
Monitor
Monitor ZKsync applications in real time. Detect anomalies, track events, and trigger alerts or automated responses to safeguard contracts and protect users.
UI Builder
Spin up a ready-to-use interface for any ZKsync contract in seconds. Choose the function, auto-generate a React UI with wallet connection and multi-network support, and export a complete application.
Safe Utils
Verify every multisig transaction before signing. Safe Utils ensures transaction hashes on ZKsync can be checked with confidence, protecting teams from malicious or unexpected actions.
Role Manager
Define role-based permissions with flexible hierarchies and granular admin rights. A key tool for DAOs, multisigs, and governance frameworks on ZKsync.

Join the Community
Enterprise-grade compliance and certifications
- CCPA Compliant
- SOC2 Certified
- GDPR Compliant
Security Services
Smart Contract Security Audit
Secure your ZKsync smart contracts with thorough code audits that identify vulnerabilities and enhance code architecture for secure mainnet deployment.
Blockchain Infrastructure Audit
Secure your ZK Stack rollup infrastructure with thorough security reviews of critical components such as sequencers and cross-chain bridge mechanisms.
ZKP Audit
Validate the cryptographic foundations of your zero-knowledge systems on ZKsync through rigorous circuit analysis, prover verification, and verifier contract reviews that ensure mathematical soundness and implementation security.