Tutorials
openzeppelin-contracts
Our great sponsors
Tutorials | openzeppelin-contracts | |
---|---|---|
1 | 233 | |
209 | 24,109 | |
- | 1.7% | |
10.0 | 9.5 | |
7 months ago | about 23 hours ago | |
Solidity | JavaScript | |
GNU General Public License v3.0 only | MIT License |
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.
Tutorials
-
A look into formal verification of smart contracts using Certora
As an example, taken from Certora's tutorials (most examples in this article will be copied or adapted from it), let's say we have a Bank contract that receives and stores deposits from users. We want to verify that, after every deposit, the total funds deposited are greater than every individual user balance.
openzeppelin-contracts
-
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.
- OpenZeppelin is trying to avoid paying a bounty for a vulnerability that caused $1,1B worth of assets freeze
- Security improvements of the ERC20 token standard
- Ethereums most used token standard ERC20 requires security enhancements
- The most used Ethereums token standard (ERC20) requires a security patch.
-
Best Solidity Vertion
This depends if you're writing a contract from scratch or using existing code. If you're making something new, then yes (recommend not to use THE most recent available, always better to go with tried and tested). For existing projects, never try to override the solidity version. This may be a pain with "@" imports - ideally everyone should specify the library version (e.g. https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/token/ERC20/ERC20.sol).
What are some alternatives?
LiquidityPoolExample - Example Certora verification for a simple multi-contract system
solmate - Modern, opinionated, and gas optimized building blocks for smart contract development.
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
ERC721A - https://ERC721A.org
Safemoon.sol - safemoon contract
solidity - Solidity, the Smart Contract Programming Language
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.
poap-contracts - The Proof of Attendance Protocol Ethereum contracts
openzeppelin-solidity - OpenZeppelin Contracts is a library for secure smart contract development. [Moved to: https://github.com/OpenZeppelin/openzeppelin-contracts]
matic-gas-prices - Displays current gas prices on the Polygon (MATIC) network.
metamask-extension - :globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
remix-ide - Documentation for Remix IDE