OpenZeppelin (2024)

Technology, processes, and people to minimize risk when launching and scaling. Ship faster and more safely.

Trusted by the world's leading projects

OpenZeppelin (1)

OpenZeppelin (2)

OpenZeppelin (3)

OpenZeppelin (4)

OpenZeppelin (5)

OpenZeppelin (6)

OpenZeppelin (7)

OpenZeppelin (8)

1

Secure Code

Comprehensive developer security: from day one to audit

OpenZeppelin (9)

Gold Standard Audits

Summon our team of security experts to verify your system works as intended with the highest level of scrutiny. Track issues and resolutions, and interact directly with auditors for faster and more efficient communication.

Learn about Audits

OpenZeppelin (10)

OpenZeppelin (11)

Battle-tested Contracts

Develop using security best practices, community-vetted libraries, and the most commonly adopted ERC standards.

Explore Contracts Library

OpenZeppelin (12)

OpenZeppelin (13)

Security on every Pull Request

Automatic code analysis for differences, vulnerabilities, improvements, gas costs, and test runs. Powered by machine learning intelligence and state-of-the-art tools.

Explore OpenZeppelin Code Inspector

OpenZeppelin (14)

2

Secure Deploy

Test, execute, and verify deployments and upgrades across chains securely, with adding just 5 lines of code to your existing Hardhat (and soon Foundry) configuration.

OpenZeppelin (15) OpenZeppelin (16)

OpenZeppelin (17)

config.js deploy.js

// hardhat-config.jsrequire('@openzeppelin/hardhat-upgrades');require('dotenv').config(); module.exports = { defender: { apiKey: process.env.API_KEY, apiSecret: process.env.API_SECRET, }}
 import { ethers, defender } from "hardhat"; async function main() { const Box = await ethers.getContractFactory("Box"); const deployment = await defender.deployProxy(Box); await deployment.waitForDeployment(); console.log(`Contract deployed at ${deployment.getAddress()}`); } 

3

Monitor, Respond, and Operate

Detect and respond instantly to incidents with the right tools

Monitor

Gain full visibility into your smart contracts' risks and behaviors. Detect threats, get alerts on threats and anomalies, and automatically respond and resolve issues.

Check out Monitor

OpenZeppelin (18)

OpenZeppelin (19)

Incident Response Workflows

Instantly detect, respond, and resolve threats and attacks with pre-defined actions and scenarios. Conduct attack simulations and test real-world scenarios on a forked network.

Explore Workflows

OpenZeppelin (20)

OpenZeppelin (21)

OpenZeppelin (22)

Extend the Defender platform with custom code

Use Actions to implement custom app logic for on-chain and off-chain operations. Enable automated response to threats detected by OpenZeppelin's Monitor and Incident Response.

Discover Actions

OpenZeppelin (23)

The OpenZeppelin Defender platform

Industry-leading security expertise and world-class intelligence embedded into the developer workflow

OpenZeppelin (24)

OpenZeppelin (25)

OpenZeppelin (26)

OpenZeppelin (27)

OpenZeppelin (28)

OpenZeppelin (29)

OpenZeppelin (30)

OpenZeppelin (31)

OpenZeppelin (32)

OpenZeppelin (42)

OpenZeppelin (43)

OpenZeppelin (44)

OpenZeppelin (45)

OpenZeppelin (46)

OpenZeppelin (47)

400+

Audits Performed

$15B+

Balance held in OpenZeppelin Contracts

100%

Of top 20 DeFi protocols use OpenZeppelin Contracts

Built as the result of 7 years developing and auditing
the world’s most popular smart contracts

OpenZeppelin (51)

OpenZeppelin (52)

“Collaborating with OpenZeppelin on our security audit was a productive and positive experience. We appreciated their thoroughness and attention to detail.”

OpenZeppelin (53)

Yoav Weiss

Security

OpenZeppelin (54)

“OpenZeppelin has been performing excellent work on behalf of the protocol.”

OpenZeppelin (55)

Robert Leshner

CEO

OpenZeppelin (56)

“I have a very high opinion of the OpenZeppelin team and their work.”

OpenZeppelin (57)

Brendan Eich

Founder, creator

OpenZeppelin (58)

"One of the most trusted experts in this space since forever. Their contracts were there and helped me do my job and the reputation is impeccable."

OpenZeppelin (59)

Bruno Barbieri

Lead Development

OpenZeppelin (60)

"We can't wait to see what developers are going to build on Base next, with additional peace of mind provided by OpenZeppelin."

OpenZeppelin (61)

Jessie Pollak

Lead

OpenZeppelin (62)

“Working with OpenZeppelin has given our institutional clients an extra layer of confidence, trust, and ease. As technical partners, they have proven invaluable to helping secure smart contracts built on the network.”

OpenZeppelin (63)

Viv Diwakar

Chief Information Officer at The HBAR Foundation

OpenZeppelin (66)

OpenZeppelin (67)

If there is any other network or layer-2 solution you would like to use in Defender to support, please reach out to us submit a request!

Submit Request

OpenZeppelin Defender
Network Support Request

Got an L1 or L2 EVM-compatible network you want us to support? Great! Feel out this form and our team will review the request and get back to you.

In the meantime, we highly recommend checking out our Private Network feature that allows you to add any EVM-compatible network to your Defender account and use it like any other network.

OpenZeppelin (68)

OpenZeppelin (2024)

FAQs

What is OpenZeppelin used for? ›

OpenZeppelin is a popular open-source framework for writing secure and scalable smart contracts in the Solidity programming language. It provides a library of reusable and secure contract components that developers can use to build their own decentralized applications (dApps) on the Ethereum blockchain.

Is OpenZeppelin free? ›

Free. Build your project with all the tools you need to get started.

Is OpenZeppelin safe? ›

Generally, OpenZeppelin's code can be considered safe, as long as you didn't make any changes to any of it. Your own code should be checked by experienced developers.

How does OpenZeppelin make money? ›

We plan to make money by offering services and security audits to users of the framework.

What is hardhat in blockchain? ›

Hardhat is a development environment for Ethereum software. It consists of different components for editing, compiling, debugging and deploying your smart contracts and dApps, all of which work together to create a complete development environment.

How to use access control in OpenZeppelin? ›

Using AccessControl

OpenZeppelin Contracts provides AccessControl for implementing role-based access control. Its usage is straightforward: for each role that you want to define, you will create a new role identifier that is used to grant, revoke, and check if an account has that role.

Is OpenZeppelin a framework? ›

OpenZeppelin is an open-source framework to build secure smart contracts. OpenZeppelin provides a complete suite of security products and audit services to build, manage, and inspect all aspects of software development and operations for decentralized applications.

How do I contribute to OpenZeppelin? ›

If you would like to contribute code or documentation you may do so by forking the repository and submitting a pull request. Any non-trivial code contribution must be first discussed with the maintainers in an issue (see Opening an issue). Only very minor changes are accepted without prior discussion.

What is the OpenZeppelin library? ›

A library for secure smart contract development.

Build on a solid foundation of community-vetted code. Implementations of standards like ERC20 and ERC721. Flexible role-based permissioning scheme. Reusable Solidity components to build custom contracts and complex decentralized systems.

What is an ERC20 permit? ›

Understanding EIP-2612

EIP-2612 introduces a feature called "permit" for ERC-20 tokens. This lets users approve token transactions without making a separate blockchain transaction each time. It uses off-chain signatures, meaning you can give permission away from the blockchain while still keeping it secure.

What is the ERC721 token? ›

ERC-721 tokens are the standards for non-fungible tokens (NFTs). These tokens cannot be exchanged for anything of equal value since they are unique in themselves, representing a unique asset. Each NFT token is linked to different owners and has its own tokenID or metadata that makes them unique.

How to create an ERC20 token in OpenZeppelin? ›

How to create an ERC 20 token with OpenZeppelin
  1. Let's get started. Go to the OpenZeppelin Contracts Wizard and click on ERC20. ...
  2. Let's add some features. ...
  3. Let's set the access control. ...
  4. Let's add upgradeability. ...
  5. Let's add a security contact. ...
  6. Download your smart contract code. ...
  7. Compile the smart contract. ...
  8. Deploy the smart contract.
Mar 17, 2023

Who is the founder of OpenZeppelin? ›

Co-founder, CEO at OpenZeppelin.

Who created OpenZeppelin? ›

OpenZeppelin provides security products to build, automate, and operate decentralized applications and performs security audits on organizations' systems and products. OpenZeppelin was founded in 2015 by Demian Brener, CEO, and Manuel Araoz, who is no longer with the company.

How do utility tokens make money? ›

Utility tokens are a special kind of virtual currency that resides on its own blockchain and give access to the specialized products or services the company is working on. This helps the company generate capital, as a fundraiser, and allows interested investors to be rewarded for their contribution.

What can be upgraded in smart contracts deployed using OpenZeppelin upgrades plugins? ›

Smart contracts deployed using OpenZeppelin Upgrades Plugins can be upgraded to modify their code, while preserving their address, state, and balance. This allows you to iteratively add new features to your project, or fix any bugs you may find in production.

What is the ownable pattern in Solidity? ›

The Ownable pattern is a straightforward access restriction mechanism that limits access to certain contract functions to the contract's owner. In this pattern, the owner is typically the account that deploys the contract, and it can also be transferred to another address if needed.

Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 6367

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.