Coding
Code Conservatism: Less is MoreUse a Spell CheckerUse an Up-To-Date Compiler VersionSecurity-Driven DevelopmentDefine a Security-Oriented CI EnvironmentPrefer Unstructured Storage for Upgradeable ContractsAvoid Vendoring DependenciesUse a Plugin for Safe UpgradesUse Reentrancy GuardsRevert/Return EarlyRevert vs ReturnAvoid Unlimited ERC-20 ApprovalsUse the Safe ERC-20 LibraryBeware of "NFT Front Running" in ERC-721 TokenizationRounding in Favor of the Protocol with Integer Division in SolidityUse the SafeCast LibraryUse Cryptographic LibrariesConsider Non-Sequential Nonces for Digital SignaturesPrefer to Avoid Low-Level CallsUse abi.encodeCall for Low Level CallsCareful Vetting of Unchecked BlocksAvoid Arbitrary Low-Level External CallsFollow the EIP-712 Standard for Digital SignaturesVetting Process for External TokensEnsure Code Dependencies Are Secured
Last updated