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).
Preventing Front-Running and Transaction Ordering Attacks in Solidity

Preventing Front-Running and Transaction Ordering Attacks in Solidity

Solidity Fixed-Point Arithmetic: Designing Precise Decimal Calculations Without Floating Point

Solidity Fixed-Point Arithmetic: Designing Precise Decimal Calculations Without Floating Point

Solidity Storage vs Memory vs Calldata: Choosing the Right Data Location

Solidity Storage vs Memory vs Calldata: Choosing the Right Data Location

Optimizing Solidity Contracts with `unchecked` Arithmetic

Optimizing Solidity Contracts with `unchecked` Arithmetic

Testing Solidity Fallback and Receive Functions

Testing Solidity Fallback and Receive Functions

Preventing Integer Overflow and Underflow in Solidity

Preventing Integer Overflow and Underflow in Solidity

Solidity Pull Payments: Designing Safer Ether Transfers with Withdrawal Patterns

Solidity Pull Payments: Designing Safer Ether Transfers with Withdrawal Patterns

Solidity Mappings: Efficient Key-Value Storage for Smart Contracts

Solidity Mappings: Efficient Key-Value Storage for Smart Contracts

Using `immutable` Variables to Reduce Runtime Gas in Solidity

Using `immutable` Variables to Reduce Runtime Gas in Solidity

Testing Solidity Access Control with Role-Based Permissions

Testing Solidity Access Control with Role-Based Permissions

Secure Use of `delegatecall` in Solidity Smart Contracts

Secure Use of `delegatecall` in Solidity Smart Contracts

Solidity Events Beyond Logging: Designing Efficient On-Chain Observability

Solidity Events Beyond Logging: Designing Efficient On-Chain Observability

Solidity Events: Logging Contract Activity for Off-Chain Applications

Solidity Events: Logging Contract Activity for Off-Chain Applications

Reducing External Call Overhead in Solidity

Reducing External Call Overhead in Solidity

Testing Solidity Upgradeable Contracts with Storage Gaps and Initialization Safety

Testing Solidity Upgradeable Contracts with Storage Gaps and Initialization Safety