solidity-patterns
openzeppelin-contracts
solidity-patterns | openzeppelin-contracts | |
---|---|---|
7 | 234 | |
3,061 | 24,143 | |
- | 0.9% | |
0.0 | 9.5 | |
13 days ago | about 18 hours ago | |
Solidity | JavaScript | |
MIT License | 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-patterns
-
Want to learn blockchain development but confused
Then i delved into best practises (https://consensys.github.io/smart-contract-best-practices/) and patterns (https://fravoll.github.io/solidity-patterns/) to improve.
-
7 Must-Have Blockchain Development Resources to learn in 2023.
I recommend using the freecodecamp course(1st one on the list), then going through solidity by examples and the main dedi use cases on https://github.com/smartcontractkit/defi-minimal (if you are interested in more theory, there is https://defi-learning.org/f22) and common design patterns on https://fravoll.github.io/solidity-patterns/
-
Getting started as a smart contract developer
Solidity Patterns
-
What are some good beginner projects?
GitHub - fravoll/solidity-patterns: A compilation of patterns and best practices for the smart contract programming language Solidity
- Highly recommend going through this Solidity Patterns doc for anyone that hasn't seen it before (/r/ethdev)
- Highly recommend going through this Solidity Patterns doc for anyone that hasn't seen it before
- Are ERC-20 tokens and dApps just as secure as Ethereum itself?
openzeppelin-contracts
-
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.
- 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.
What are some alternatives?
GETProtocolCoreV1.0-DEPRECIATED - 🎫 Contract overview and definition of GET Protocol's NFTs
solmate - Modern, opinionated, and gas optimized building blocks for smart contract development.
ds-proxy - a proxy object that can compose transactions on owner's behalf
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
ds-sort - Quicksort library in Solidity
ERC721A - https://ERC721A.org
uniswap-v3-flashswap - example code of uniswapV3 flash swap/loan with hardhat and ethersjs
Safemoon.sol - safemoon contract
solidity-cheatsheet - Cheat sheet and best practices for solidity. Write smart contracts for Ethereum.
solidity - Solidity, the Smart Contract Programming Language
smartcontract-lottery
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.