Solady: Gas optimized Solidity snippets
Collection of gas-optimized Solidity smart contract implementations for Ethereum development.
Learn more about Solady
Solady is a library of gas-optimized Solidity smart contracts and utilities for Ethereum development. The library provides implementations of standard token contracts (ERC20, ERC721, ERC1155), authentication mechanisms, account abstractions, and utility functions with inline assembly optimizations. It serves as a testing ground for cutting-edge contract patterns that may be integrated into other libraries like Solmate. The contracts are designed for compatibility with both upgradeable and non-upgradeable deployment patterns.
Gas Optimization
Contracts use inline assembly and advanced optimization techniques to minimize gas consumption compared to standard implementations.
Comprehensive Coverage
Includes implementations for tokens, authentication, account abstraction, and dozens of utility libraries in a single package.
Experimental Features
Serves as a laboratory for cutting-edge Solidity patterns and emerging standards like EIP-7702 and ERC-6551.
v0.1.26: 🐞 Fix safeMoveETH by @Vectorized in
- –🐞 Fix safeMoveETH by @Vectorized in
v0.1.24: 👷♂️ Add solx profile by @PatrickAlphaC in
- –👷♂️ Add solx profile by @PatrickAlphaC in
- –📝 Fix README logo by @Vectorized in
- –🥢 ERC6551Proxy typo fix by @Arvolear in
- –♻️ ERC7821 Swiss cheese dirty upper bits cleaning by @Vectorized in
- –✨ mulSqrt by @Vectorized in
v0.1.23: ✨ EnumerableMapLib capped variants by @Vectorized in
- –✨ EnumerableMapLib capped variants by @Vectorized in
See how people are using Solady
Related Repositories
Discover similar tools and frameworks used by developers
Uniswap V3 Core
Core smart contracts for the Uniswap V3 decentralized exchange protocol on Ethereum.
LND
Complete Lightning Network node implementation with channel management, payment routing, and BOLT specification compliance.
Anchor
A Rust-based framework for building Solana programs with IDL generation and TypeScript client support.
Freqtrade
Python trading bot with backtesting, strategy optimization, and live trading across crypto exchanges.
CCXT
Unified API library for 100+ cryptocurrency exchanges, standardizing trading, market data, and account management.