Discover the top trending Solidity repositories and projects on Github. Explore the latest trends in Solidity development.
solady
Optimized Solidity snippets.WTF-Solidity
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用,每周更新1-3讲。官网: https://wtf.academyuseful-solidity-patterns
ERCs
The Ethereum Request for Comment repositoryuseful-solidity-patterns
一些常见的 solidity 的设计模式smartcontract-apps
这是一个面向中文社区,分析市面上智能合约应用的架构与实现的仓库。solmate
Modern, opinionated, and gas optimized building blocks for smart contract development.ctf-blockchain
A summary of 100+ CTF blockchain challengesechidna
Ethereum smart contract fuzzersecurity-and-auditing-full-course-s23
The ultimate, most advanced, security, DeFi, assembly, web3 auditor course ever created.huff-puzzles
These exercises were created for our Advanced Solidity Bootcamp and open sourced. Learn EVM bytecode with the Huff Language.foundry-template
Foundry-based template for developing Solidity smart contractsWTF-CTF
Collect CTFs related to evm, and provide solutions, using Foundry. 收集 EVM 类的 CTF 挑战,并提供解决方案。v2-core
⏳ Core smart contracts of the Sablier V2 token streaming protocolshipyard-core
forge-std
Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests.learn-evm-attacks
Learn & Contribute on previously exploited vulnerabilities across several EVM projects.solid-grinder
A CLI that goes along with building blocks of smart contract. This toolbox can reduce L2 gas cost by encoding calldata for dApps development to use as little bytes of calldata as possible.Web3Bugs
Demystifying Exploitable Bugs in Smart Contractsbtt-examples
Examples for Branching Tree Technique, a simple specification framework for writing structured Solidity testsmeth-weth
uni-lbp
A capital-efficient Uniswap v4 liquidity bootstrapping pool (LBP) hooks contractcicada
A protocol for private on-chain voting, implemented in Solidity.weird-erc20
weird erc20 tokensbuilding-secure-contracts
Guidelines and training material to write secure smart contractsDapp-Learning
Dapp learning project for developers at all stages. Becoming and cultivating sovereign individuals. Nonprofit organization.Clone0
Clone0 optimize the previous Minimal Proxy Contract (eip-3855) with `PUSH0` opcodes, saving 200 gas at deployment and 5 gas at runtime.amm-arbitrageur
An arbitrage bot between Uniswap AMMsprb-math
Solidity library for advanced fixed-point mathv4-core
🦄 🦄 🦄 🦄 Core smart contracts of Uniswap v4semgrep-rules
Semgrep rules registrysolidity-stringutils
Basic string utilities for Solidityyui-ibc-solidity
IBC in Solidityfoundry-huff
A Foundry Library for compiling, debugging, and working with Huff contracts in Solidity.v4-periphery
🦄 🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v4solidity-riddles
A collection of Solidity security exercises and puzzles to test your knowledge of Solidity's more esoteric features. Some are easy, and some are exceptionally challenging.zk-merkle-tree
JavaScript library for anonymous voting on Ethereum blockchain using zero-knowledge prooftokenized-strategy-foundry-mix
Create Yearn V3 "Tokenized Strategies" using Foundrypol-token
solidity-security-by-example
Learn Solidity Smart Contract Security By Exampleshuffmate
A library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.solidity-bytes-utils
Utility Solidity library composed of basic operations for tightly packed bytes arraysevm-bench
🚀🪑 evm-bench is a suite of Ethereum Virtual Machine stress tests and benchmarks.optimizor-war
A gas golf game on Huffathonmemview-sol
Memory access with runtime typechecking in Solidityera-test-node
In-memory node that can be used for integration testing and debugging.solidity-patterns
A compilation of patterns and best practices for the smart contract programming language Soliditycreate2deployer
Helper smart contract to make easier and safer usage of the `CREATE2` EVM opcode.noir-starter
pyusd-contract
PYUSD stablecoin smart contract repoonlypwner-challenges
Challenges for the ONLYPWNER CTF Platformpermit2
🔑🔑🔑 next generation token approvals mechanismsemacaulk
Gas-efficient and blazing fast proving for private signalingnitro-contracts
The core Arbitrum Nitro contracts deployed to the base chain to host the rollupdiamond-3-hardhat
EIP-2535 Diamond reference implementation using Hardhat and Solidity 0.8.*ERC721A
https://ERC721A.orghuff-examples
A collection of commonly used, vigorously tested Huff contracts for learning purposes.huff-project-template
Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.flashloan-box
A box containing all you need to get started with developing Aave v1 flash loansmemmove
A data structures library that does memory management for yougrim-reaper
on-chain liquidation bot built with Huff languagecontracts
Implementation of the Farcaster ID and Name Registry contractssimple-blind-arbitrage
damn-vulnerable-defi
bsc-genesis-contract
The genesis contracts of Binance Smart Chain.creator-claim-validator
proof-of-concept validator for smart contract owners to verify addreses as "creators" via EIP712 signaturesdynamic-contracts
Architectural pattern for writing dynamic smart contracts in Solidity.safe-counter
kyber-exploit-example
reproduce kyber-elastic exploitHyVM
Run arbitrary code on the EVM, by nested.firareskills-huffathon-challenge
huffbits
An adaptation and improvement on sway-bits, a similar but more minimal lib written in Sway.chainlink-vrf-demo
Chainlink VRF V2 example with unit testUniswapX
🦄 Gasless ERC20 swap settlement protocol 🦄example-subgraph
An example to help you get started with The Graphlearn-solidity-presentations
All of the presentations in the Learn Solidity coursecreate3-factory
forge-poc-templates
fuzzer-evaluation
Evaluating fuzzer effectivenesssx-evm
Core smart contracts of Snapshot X for EVMzora-protocol
Zora 1155 Contractsproperties
Pre-built security properties for common Ethereum operationsbook
A book on all things Foundry, available at https://book.getfoundry.sh.clamm
sablier-v2-integration-template
Sablier V2 integration templatezipped-contracts
foundry-template
An opinionated template for Foundry projects.prettier-plugin-solidity
A Prettier plugin for automatically formatting your Solidity code.Ghost-Contract
A minimalistic contract to execute a payload and make the code size of the msg.sender appear to be 0.security
Materials related to security: docs, checklists, processes, etc...creator-tokens
Mastering-Blockchain-Programming-with-Solidity
Mastering Blockchain Programming with Solidity, published by Packttoken-vesting-contracts
ERC20 token vesting smart contracts 💰⏳snekmate
State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.optimism-starter
A boilerplate for getting started with optimismquantum-gravity-bridge
Celestia -> EVM bridgeverified-smart-contracts
Smart contracts which are formally verifiedlight-account
skipper
Example MEV searching bot for the Cosmos ecosystem, using Skip.SmartDev-Contract
Solidity智能合约库,包含了基础类型到上层业务的一系列智能合约库代码,便于开发者借鉴、引入和复用。AmazingAng
Solidity, R, JavaScriptcrytic
Python, Solidity, ShellDapp-Learning-DAO
TypeScript, Solidity, JavaScriptUniswap
TypeScript, JavaScript, Soliditytransmissions11
Solidity, Rust, TypeScriptProjectOpenSea
Solidity, JavaScript, TypeScriptfravoll
Soliditymakerdao
Solidity, JavaScript, Pythonchiru-labs
Solidity, TypeScriptAircoin-official
Soliditywillitscale
PHP, Solidity, TypeScriptPatrickAlphaC
JavaScript, Solidity, PythonHashLips
JavaScript, Solidity, TypeScriptPaulRBerg
JavaScript, Solidity, TypeScriptVectorized
Solidity, Python, JavaAnish-Agnihotri
JavaScript, TypeScript, Soliditysmartcontractkit
JavaScript, TypeScript, Gopaco0x
Solidity, TypeScript, HTMLfoundry-rs
Solidity, Rust, TypeScriptethereum-optimism
TypeScript, Go, Soliditym1guelpf
PHP, JavaScript, TypeScriptdapphub
Solidity, JavaScript, MakefileZeframLou
Solidity, TypeScript, Objective-Candrecronje
JavaScript, Solidity, Godragonfly-xyz
Solidity, HTML, CSSLove Open Source and this site? Check out how you can help us