Solidity

Solidity

An object-oriented, high-level language for implementing smart contracts on various blockchain platforms, most notably Ethereum.

Solidity is the primary language for building smart contracts on Ethereum and other EVM-compatible blockchains. It's designed to target the Ethereum Virtual Machine (EVM) and is essential for anyone looking to build decentralized applications (dApps).
Designing Safe and Predictable ERC-20 Allowance Flows in Solidity

Designing Safe and Predictable ERC-20 Allowance Flows in Solidity

Building a Safe and Flexible Ether Refund Escrow in Solidity

Building a Safe and Flexible Ether Refund Escrow in Solidity

Solidity Libraries: Reusable Code, Safe State Access, and Gas-Efficient Design

Solidity Libraries: Reusable Code, Safe State Access, and Gas-Efficient Design

Building a Reentrancy-Safe Withdrawal Pattern in Solidity

Building a Reentrancy-Safe Withdrawal Pattern in Solidity

Preventing ERC-20 Fee-On-Transfer Accounting Bugs in Solidity

Preventing ERC-20 Fee-On-Transfer Accounting Bugs in Solidity

Using Custom Errors in Solidity for Cleaner Reverts and Lower Gas Costs

Using Custom Errors in Solidity for Cleaner Reverts and Lower Gas Costs

Building a Secure Multi-Signature Wallet in Solidity

Building a Secure Multi-Signature Wallet in Solidity

Solidity Error Handling with Custom Revert Reasons and Panic Codes

Solidity Error Handling with Custom Revert Reasons and Panic Codes

Building a Pull-Based Payment Vault in Solidity

Building a Pull-Based Payment Vault in Solidity

Preventing ERC-20 Decimals Mismatch Bugs in Solidity

Preventing ERC-20 Decimals Mismatch Bugs in Solidity

Designing Robust Access Control with Role-Based Permissions in Solidity

Designing Robust Access Control with Role-Based Permissions in Solidity

Building a Time-Locked Token Vesting Contract in Solidity

Building a Time-Locked Token Vesting Contract in Solidity

Solidity Events and Indexed Topics: Designing Queryable, Low-Cost On-Chain Logs

Solidity Events and Indexed Topics: Designing Queryable, Low-Cost On-Chain Logs

Testing Solidity Contract Upgrades with Storage Layout Diff Checks

Testing Solidity Contract Upgrades with Storage Layout Diff Checks

Preventing ERC-4626 Share Inflation Attacks in Solidity

Preventing ERC-4626 Share Inflation Attacks in Solidity