OpenZeppelin Documentation
Build secure blockchain applications with industry-standard smart contracts and developer tools
Smart Contracts
OpenZeppelin Solidity Contracts
The world's most trusted library of Solidity smart contracts for Ethereum and EVM blockchains, powering nearly every onchain application.
Upgrades Plugins
Deploy upgradeable contracts using Hardhat and Foundry plugins that automate proxy deployments, enforce safety checks, and more.
Contracts Wizard
Configure and generate smart contracts in seconds through an interactive interface.
Contracts MCP
Write secure smart contracts that follow OpenZeppelin standards with your favorite AI assistant.
Open Source Tools
Relayer
Automate onchain transactions to schedule jobs, batch calls, and relay gasless meta transactions within your self-hosted infrastructure.
Monitor
Monitor onchain activity in real time to watch critical events, detect anomalies, trigger alerts on your preferred channels, and set automated responses with Relayer.
UI Builder
Spin up user interfaces for any deployed contract. Select the function, auto-generate a React UI with wallet-connect and multi-network support, and export a complete app.
Defender
Code, audit, deploy, monitor, and operate blockchain applications with OpenZeppelin's legacy developer security platform (maintenance mode).
Blockchains and Developer Ecosystems
Choose your blockchain platform to explore available contracts and tools
Ethereum & EVM
Build with Solidity smart contracts and developer tools for Ethereum and EVM chains
Starknet
Develop Cairo smart contracts to build apps on Starknet zero-knowledge Layer 2
Arbitrum Stylus
Write high-performance smart contracts in Rust on the EVM with Arbitrum Stylus
Uniswap Hooks
Customize Uniswap V4 hooks with advanced, audited modules
Stellar
Build with Soroban smart contracts and developer tools on Stellar
Midnight
Build privacy-preserving smart contracts in Compact for the Midnight blockchain
Polkadot
Develop smart contracts and parachain runtimes for Polkadot and Substrate
Zama FHEVM
Implement fully homomorphic encryption for confidential smart contracts in Solidity
Learn & Play
Master smart contract security through interactive challenges
Ethernaut CTF
Learn smart contract security by hacking. Ethernaut is a capture-the-flag game where each level is a vulnerable contract to exploit. Master real-world attack vectors and defense strategies through hands-on challenges.
Community & Support
Connect with the community for technical discussions and support
Forum
Engage in technical deep-dives and architectural discussions. Get detailed answers, share your implementations, and learn from experienced developers building in production.
Telegram
Get quick help and connect with the community in real-time. Ask questions, share updates, and stay informed about the latest OpenZeppelin developments and announcements.