solidity
openzeppelin-contracts
Our great sponsors
solidity | openzeppelin-contracts | |
---|---|---|
102 | 233 | |
22,220 | 24,079 | |
1.8% | 1.4% | |
9.8 | 9.5 | |
3 days ago | 4 days ago | |
C++ | 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.
solidity
-
Smart Contract Programming Languages: sCrypt vs. Solidity
Solidity Solidity emerged as the first-ever programming language for smart contracts and remains the most extensively utilized language in the Web3 space due to its first-mover advantage. It serves as the primary language for developing applications today on Ethereum and Ethereum Virtual Machine (EVM) compatible blockchains, including Binance Smart Chain and Tron.
-
Top Paying Programming Technologies 2024
40. Solidity - $72,656
- Projects to contribute to
-
How I Contributed One Line of Code to Ethereum
Solidity - Smart contract programming language.
-
Optimize Your Web3 DevOps with User Feedback Forms
The cool part is that the entire feedback process employs its own factory contract written in Solidity, without requiring you to create or maintain your own smart contract.
-
How to Build on Linea - a zk-rollup on Ethereum
In this article, we’ll explore what makes Linea so exciting. Then, we’ll walk through a tutorial on how to build a dapp on the Linea testnet. Finally, we’ll create our own cryptocurrency on Linea using Solidity, MetaMask, and Truffle: all mature ecosystem tools that are used by blockchain developers to build dapps.
-
Daily General Discussion - April 6, 2023
Solidity v0.6.5 fixes a memory allocation bug and introduces immutable as a new feature.
-
Daily General Discussion - March 15, 2023
Solidity v0.4.10 brings more stability and some new smart contract safety features.
-
Top 10 Resources for Learning Solidity
If you want to become a smart contract developer on Ethereum, then you need to learn Solidity. Whether your goal is DeFi, blockchain gaming, digital collectibles (NFTs), or just web3 in general, Solidity is the foundational language behind the innovative projects on Ethereum.
-
Daily General Discussion - February 14, 2023
Solidity v0.4.20 includes some usability and security improvements and a further evolution of the SMT component.
openzeppelin-contracts
-
Blockchain transactions decoding: making wallet activity understandable
Lets look the events of Open Zeppelin’s ERC20 token contract:
-
I get an "ambiguous primary types or unused types" error when trying to mint an NFT requiring 2 signatures via EIP712
I modified my code to use EIP712 to require an authorized wallet to also sign in order for an NFT to be minted. I based this off of this: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7e814a3074baa921db584c180ff6e300cdec8735/contracts/token/ERC20/extensions/ERC20Permit.sol. This is an example of someone calling a smart contract containing this ERC20Permit.sol code https://github.com/Uniswap/v3-periphery/blob/main/test/shared/permit.ts. This particular ERC20Permit.sol code is designed to allow an account to approve ERC20 spend limits without spending gas fees but the same underlying mechanisms could be applied to my use case.
-
Solidity digest / mar 2023
v4.8.2 of OpenZeppelin contracts and contracts-upgradeable bug fix for ERC721Consecutive that could cause a balance overflow when _mintConsecutive was used for batches of size 1 breaking changes to ERC721: the internal function _beforeTokenTransfer will no longer update balances when batchSize is greater than 1
-
The 4 Best dApp Frameworks for First-Time Ethereum Developers
Widely used open source framework with an active GitHub community and documentation
-
What is the current best practice for badges / soulbound / nontransferrable tokens?
In the next step of my journey, I went to Github to see what other people were building. I didn't fine much. My heros [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/interfaces) don't seem to have any examples in their repository. Github's search yielded no results. Some Google searches finally did land me on two repositories. One is [an implementation of ERC-5114](https://github.com/TeamSHARKZ/soulbound) - horray!. The other one one of those traditional [awesome lists](https://github.com/attestate/awesome-soulbound-tokens). Great resource and introduced me to a standard I previously missed, [ERC-4973](https://eips.ethereum.org/EIPS/eip-4973). Of course, having completely missed a token reinforced how easy it is to miss something obvious along the way and encourages me to reach out and ask the community for more information.
-
Fork mainnet using hardhat to test and build on DeFi protocols and more
Now create a folder named IERC20.sol inside your contracts folder and paste the following code into it. This is the ERC20 interface we will need to interact with the USDC contract. You can also find this code here
-
Generating Decentralized identifier using ERC725 and ERC735
You're trying to import a markdown (text) file that describes the ERC721 spec, not an actual ERC721 compliant smart contract. I believe what you're trying to import is https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol
-
Question about implementing a UUPS proxy
Look at TransparentUpgradeableProxy.sol, but the actual delegation happens in one of the contracts it inherits: Proxy.sol.
-
A look into formal verification of smart contracts using Certora
Let's grab some examples from OpenZeppelin's TimelockController spec. In a Timelock, operations can have different states. We can write a rule that checks, for instance, that calling execute is the only way for moving an operation from ready to done state.
-
Create & deploy an ERC-20 token in 15 minutes (Truffle, OpenZeppelin, Goerli)
The import line is importing the contents of this file which is available within our node_modules from installing OpenZeppelin earlier.
What are some alternatives?
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
nvim-lspconfig - Quickstart configs for Nvim LSP
awesome-blockchain-rust - Collect libraries and packages about blockchain/cryptography in Rust
kotlin - The Kotlin Programming Language.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
Safemoon.sol - safemoon contract
swift - The Swift 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]