OpenZeppelin Docs

OpenZeppelin Documentation

Build secure blockchain applications with industry-standard smart contracts and developer tools

Smart Contracts

Contracts Library Icon

OpenZeppelin Solidity Contracts

The world's most trusted library of Solidity smart contracts for Ethereum and EVM blockchains, powering nearly every onchain application.

Contracts Upgrades Icon

Upgrades Plugins

Deploy upgradeable contracts using Hardhat and Foundry plugins that automate proxy deployments, enforce safety checks, and more.

Contracts Wizard Icon

Contracts Wizard

Configure and generate smart contracts in seconds through an interactive interface.

Contracts MCP Icon

Contracts MCP

Write secure smart contracts that follow OpenZeppelin standards with your favorite AI assistant.

Ethereum Icon

Starknet Icon

Sui Icon

Stellar Icon

Zama Icon

+4

Contracts libraries are also available for Starknet, Sui, Stellar, Zama FHEVM, and more blockchains

Explore all

Open Source Tools

Relayers Icon

Relayer

Automate onchain transactions to schedule jobs, batch calls, and relay gasless meta transactions within your self-hosted infrastructure.

Monitor Icon

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.

Transaction Proposal Icon

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 Icon

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 Icon

Ethereum & EVM

Build with Solidity smart contracts and developer tools for Ethereum and EVM chains

Starknet Icon

Starknet

Develop Cairo smart contracts to build apps on Starknet zero-knowledge Layer 2

Sui Icon

Sui

Build Move smart contracts on Sui with secure and efficient primitives

Arbitrum Icon

Arbitrum Stylus

Write high-performance smart contracts in Rust on the EVM with Arbitrum Stylus

Uniswap Icon

Uniswap Hooks

Customize Uniswap V4 hooks with advanced, audited modules

Stellar Icon

Stellar

Build with Soroban smart contracts and developer tools on Stellar

Midnight Icon

Midnight

Build privacy-preserving smart contracts in Compact for the Midnight blockchain

Polkadot

Polkadot

Develop smart contracts and parachain runtimes for Polkadot and Substrate

Zama Icon

Zama FHEVM

Implement fully homomorphic encryption for confidential smart contracts in Solidity

Learn & Play

Master smart contract security through interactive challenges

Ethernaut Icon

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

Annotation Dots Icon

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.