openzeppelin-contracts
OpenZeppelin Contracts is a library for secure smart contract development. (by OpenZeppelin)
solmate
Modern, opinionated, and gas optimized building blocks for smart contract development. (by transmissions11)
| openzeppelin-contracts | solmate | |
|---|---|---|
| 240 | 11 | |
| 26,844 | 4,254 | |
| 0.7% | 0.9% | |
| 9.5 | 4.2 | |
| 7 days ago | 5 months ago | |
| Solidity | Solidity | |
| MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openzeppelin-contracts
Posts with mentions or reviews of openzeppelin-contracts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-08-08.
- Safe and Version-Agnostic Deployment to Consistent Addresses Across EVM Networks
In this explanation, we use OpenZeppelin’s TransparentUpgradeableProxy.
- Arbitrum and Open Source Tools for NFT Development: Unleashing Blockchain Scalability and Innovation
In parallel with these scalability enhancements, the open source movement has accelerated blockchain innovation. Resources like OpenZeppelin Contracts provide pre‑audited libraries for smart contract development. Open source tools empower developers to iterate quickly, achieve transparency, and establish community governance over projects. Moreover, sustainable open source funding models—such as Gitcoin and GitHub Sponsors—help projects maintain long‑term development and security.
- Open Source Tools for NFT Development on Arbitrum: Pioneering the Future of Digital Assets
- OpenZeppelin Contracts: Secure Smart Contract Development Made Easy
- OpenZeppelin Contracts: A Secure Library for Smart Contract Development
- Make NFT using ERC721
ERC721 is a standard that describes how to build NFTs on EVM compatible blockchains. We use the OppenZeppelin implementaion of ERC721
- Mode - Comprehensive Starter Guide
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.20; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.0.0/contracts/token/ERC20/ERC20.sol"; interface Sfs { function register(address _recipient) external returns (uint256 tokenId); } contract ModeToken is ERC20 { address feeReceiver = msg.sender; constructor() ERC20("ModeTokenSFSTest", "SFST2") { //Example amount to mint our ERC20 _mint(msg.sender, 1000 10 * 18); // This is the SFS contract address on testnet Sfs sfsContract = Sfs(0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6); //Registers this contract and assigns the NFT //to the deployer of this contract sfsContract.register(msg.sender); } }
- Blockchain transactions decoding: making wallet activity understandable
Lets look the events of Open Zeppelin’s ERC20 token contract:
- Construir e implementar un VAULT (bóveda) ERC20 en Shardeum
- Are ERC-777 Unsafe?
ERC-777 is difficult to implement properly, due to its susceptibility to different forms of attack(opens in a new tab). It is recommended to use ERC-20 instead. This page remains as a historical archive.
solmate
Posts with mentions or reviews of solmate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-12.
- Best implementation for burning tokens?
You can also look at Solmate's implementation: https://github.com/transmissions11/solmate
- What I Learned While Building My First Web3 Project
Solmate building blocks
- Best Solidity Practices (with examples)
Use battle-tested and audited code. OpenZeppelin, Solmate.
- Any other popular github repo that offer contracts like Openzeppelin ?
- How to implement a pledge dividend contract from scratch
- Best basic contracts to fork
- Gas efficient ERC20 like the ERC721A implementation?
- $34M permanently locked into AkuDreams contract forever due to bad code
If you are wanting to read some code, here's a an "ERC20" contract (a "money").
https://github.com/Rari-Capital/solmate/blob/main/src/tokens...
- Best Foundry testing resources / examples?
- What do you use to develop smart contracts?
What are some alternatives?
When comparing openzeppelin-contracts and solmate you can also consider the following projects:
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
scaffold-eth - 🏗 forkable Ethereum dev stack focused on fast product iterations
truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
synthetix - Synthetix Solidity smart contracts
solidity - Solidity, the Smart Contract Programming Language
scaffold-eth-challenges - Scaffold-Eth 🏗 Challenges repository