OpenZeppelin logo


OpenZeppelin Contracts is a library for secure smart contract development. (by OpenZeppelin)


Basic openzeppelin-contracts repo stats
1 day ago

OpenZeppelin/openzeppelin-contracts is an open source project licensed under MIT License which is an OSI approved license.

Openzeppelin-contracts Alternatives

Similar projects and alternatives to openzeppelin-contracts based on common topics and language
  • GitHub repo solidity

    Solidity, the Contract-Oriented Programming Language

  • GitHub repo EIPs

    The Ethereum Improvement Proposal repository

  • GitHub repo truffle

    A tool for developing smart contracts. Crafted with the finest cacaos.

  • GitHub repo ethereumbook

    Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood

  • GitHub repo unlock

    Ʉnlock is a protocol for memberships built on a blockchain.

  • GitHub repo truffle-flattener

    Truffle Flattener concats solidity files from Truffle and Buidler projects with all of their dependencies

  • GitHub repo fuel-core

    ⚡ All Fuel javascript utilities and implementations.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better openzeppelin-contracts alternative or higher similarity.


Posts where openzeppelin-contracts has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-20.
  • Best ways to learn basic smart contract functionality? | 2021-04-06
    So to answer your original question, I guess my question is do you already know how to program in a language like Python or Java? If so, learning solidity still has a curve but isn't too bad, there's a lot of similarities to any statically typed OOP language. I've been using remix which has a few good tutorials on how to write and deploy smart contracts. From there I've mostly just been scanning through the solidity docs or reading code from open source libs like OpenZeppelin. I also use Ganache to run my own ETH testnet to test against.
  • I know very little when it comes to coding but am interested in creating a pseudo-stablecoin. How difficult would it be for me to gain the requisite skills to do so?
  • Creating a faucet | 2021-03-24
    import "";
  • GitHub - OpenZeppelin/openzeppelin-contracts: OpenZeppelin Contracts is a library for secure smart contract development.
  • MoonWalkers about to take flight!!
    // See:
  • ERC-721 Developer Environment | 2021-03-20
    I found the OpenZeppelin contracts ( and as far as I can tell these would be the best place to start, hopefully bug-free. My end goal though is to create an auction site, similar to Open Sea or some of the other NFT sites. Is OpenZeppelin a good place to start or are there other well-tested, robust contract code I'm not aware of?
  • How much work is it to create a simple ERC20 DApp? | 2021-03-15
    If you want to create a basic ERC20 token with no extra functionality, openzepplin has some libraries that let you do it with like 5 lines of code. I had a new token deployed to a test network within about 15 minutes (deploying to mainnet is like $200+ so I'll pass on that for now lol). You can then customize it from there to add whatever functionality you want.
  • Can you make an NFT where the sales go to multiple creators? | 2021-03-10
    It seems that the popular minting marketplaces out there haven’t included this functionality in their smart contract code yet, but you could certainly get a developer who’s experienced with writing custom contracts to do this for you. Especially because one need not start from scratch. Libraries like openzepplin have created implementations of the ERC721 standard so that a dev need only tweak the contract (and go through the necessary steps for testing and auditing for potential issues of course - this is important because one a smart contract deployed to the Ethereum network and available for use, the code for the most part can’t be altered). Link:
  • Help auditing a simple ERC20 "Project Hydro" scam coin | 2021-02-28
    On the one hand, it is common for an ERC20 to implement a burn operation. The burn is typical in certain DeFi tokens that essentially commit a stock buy back. The problem with this implementation, is onlyOwner and contracts that pass the whitelisting modifier can burn from anyone's address. This is pretty bad. Standard practice seems to be burning only from the caller address. A good example is OpenZeppelin's Burnable implementation here:
  • We Want First Class Tokens on BCH! Part 3/N Native Group Tokens FAQ | 2021-02-17
    Consider Ethereum. Smart contracts can move both ETH and ERC20 tokens but they're not the same because ERC20 is a contract template that is standardized and ETH is a native 1st class token. If someone screwed up ERC20 implementation he could screw up token enforcement rules. You can't screw up NGT enforcement rules whatever you do in script. As a recipient of some token, you wouldn't need to check whether it is a standard one or not, in which case you'd have to verify the soundness of the contract yourself.
  • Hi I’m new and have a few seemingly dumb questions I do t want to bombarded the sub with scan someone help please
    I can't say if you will be successful in getting people to use your coin, but you may find it quite easy to write up a token contract. OpenZeppelin provides a great ERC20 base contract which you can build off of.
  • How to aquire ERC20 tokens on a test net? | 2021-01-25
    I would use as they have a lot of code you may reuse including ERC20 token contract.
  • How can tokens transfer OUT of the known burn address?
    _mint function in OpenZeppelin mintable contract (and other similar erc20 contracts) will transfer new tokens from 0x0 address (
  • Should we remove the SafeMath library for Solidity 0.8? | 2021-01-12