Build Securely on Base with OpenZeppelin
OpenZeppelin provides developers on Base with audited contract libraries, secure upgrade plugins, and infrastructure tools that accelerate development, reduce risk, and enable scalable applications on Ethereum's Layer 2.
// 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 Base, giving developers secure and reusable building blocks to accelerate development and scale applications on Ethereum’s Layer 2. By relying on trusted standards, developers can move quickly, reduce complexity, and bring more people onchain with confidence.
More than
$8 trillion
Total Value Transferred through OpenZeppelin Contracts on Base
More than
$7 billion
Total Value Locked in OpenZeppelin Contracts on Base
Contracts
Contracts Wizard
Configure and generate secure Base smart contracts in seconds. Select the modules you need, preview the code, and export directly into your development workflow.
Upgrades Plugins
Deploy and manage upgradeable contracts on Base with confidence using Hardhat and Foundry plugins. Automate proxy deployments, apply rigorous security checks, and enable onchain verification to simplify the development process.
Contracts MCP
Seamless integration with AI development environments for Base, making it easier for developers to generate and deploy secure Solidity contracts using OpenZeppelin’s audited libraries and proven standards.
Open Source Tools
Relayer
Provides reliable transaction relaying for Base, enabling applications to interact securely with the network while simplifying backend operations and transaction management.
Monitor
Track your Base applications in real time. Detect anomalies, watch critical events, and trigger alerts or automated responses to keep your contracts secure and your users protected.
UI Builder
Create a ready-to-use front end for any Base contract in seconds. Pick the function you want, instantly generate a React interface with wallet connection and multi-network support, and export a complete application.
Safe Utils
Verify every multisig transaction before signing. Safe Utils lets you check transaction hashes on Base, protecting users and teams from malicious or unexpected actions.
Role Manager
Set role-based permissions with flexible hierarchies and fine-grained admin rights. Perfect for DAOs, multisigs, and custom governance frameworks on Base.

Join the Community
Enterprise-grade compliance and certifications
- CCPA Compliant
- SOC2 Certified
- GDPR Compliant
Security Services
Smart Contract Security Audit
Secure your Base smart contracts with comprehensive line-by-line reviews that identify vulnerabilities and optimize code logic to ensure your applications are ready for mainnet deployment.
Blockchain Infrastructure Audit
Strengthen your offchain infrastructure with end-to-end security reviews covering critical components like rollup architecture, bridge security, sequencers, and consensus mechanisms.