Solidity Patterns | solidity-patterns
fravoll.github.io · 313 words · saved by 2 readers
A compilation of patterns and best practices for the smart contract programming language Solidity
This document contains a collection of design and programming patterns for the smart contract programming language Solidity in version 0.4.20. Note that newer versions might have changed some of the functionalities. Each pattern consists of a code sample and a detailed explanation, including background, implications and additional information about the patterns. Contents Behavioral Patterns Guard Check: Ensure that the behavior of a smart contract and its input parameters are as expected. State Machine: Enable a contract to go through different stages with different corresponding…
saved by
related reading
- Smart Contract Weakness Classification (SWC)swcregistry.io
- GitHub - safe-fndn/safe-smart-account: Safe allows secure management of blockchain assets.github.com
- Introduction to Smart Contracts — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- Introduction to Smart Contracts - Solidity 0.8.24 documentationdocs.soliditylang.org
- The State of Smart Contract Upgrades - OpenZeppelin blogblog.openzeppelin.com
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- #1 Solidity Tutorial & Ethereum Blockchain Programming Course | CryptoZombiescryptozombies.io
- Anatomy of smart contracts | ethereum.orgethereum.org
- What Are Smart Contracts and How Do They Work?academy.binance.com
- REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Mediummedium.com
- How to Learn Solidity Programming (the Fun Way) | Nat Eliason | Nat Eliasonnateliason.com
- Should Ethereum be okay with enshrining more things in the protocol?vitalik.eth.limo