Discover the top trending Solidity repositories and projects on Github. Explore the latest trends in Solidity development.

Trending Repositories

1

solady

Optimized Solidity snippets.
🔥🔥🔥
2

WTF-Solidity

我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用,每周更新1-3讲。官网: https://wtf.academy
🔥🔥🔥
3

useful-solidity-patterns

📣
4

ERCs

The Ethereum Request for Comment repository
📣
5

useful-solidity-patterns

一些常见的 solidity 的设计模式
📣
6

smartcontract-apps

这是一个面向中文社区,分析市面上智能合约应用的架构与实现的仓库。
📣
7

solmate

Modern, opinionated, and gas optimized building blocks for smart contract development.
📣
8

ctf-blockchain

A summary of 100+ CTF blockchain challenges
📣
9

echidna

Ethereum smart contract fuzzer
📣
10

security-and-auditing-full-course-s23

The ultimate, most advanced, security, DeFi, assembly, web3 auditor course ever created.
📣
11

huff-puzzles

These exercises were created for our Advanced Solidity Bootcamp and open sourced. Learn EVM bytecode with the Huff Language.
📣
12

foundry-template

Foundry-based template for developing Solidity smart contracts
📣
13

WTF-CTF

Collect CTFs related to evm, and provide solutions, using Foundry. 收集 EVM 类的 CTF 挑战,并提供解决方案。
⬆️
14

v2-core

⏳ Core smart contracts of the Sablier V2 token streaming protocol
⬆️
15

shipyard-core

⬆️
16

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.
⬆️
17

learn-evm-attacks

Learn & Contribute on previously exploited vulnerabilities across several EVM projects.
⬆️
18

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.
⬆️
19

Web3Bugs

Demystifying Exploitable Bugs in Smart Contracts
⬆️
20

btt-examples

Examples for Branching Tree Technique, a simple specification framework for writing structured Solidity tests
⬆️
21

meth-weth

⬆️
22

uni-lbp

A capital-efficient Uniswap v4 liquidity bootstrapping pool (LBP) hooks contract
⬆️
23

cicada

A protocol for private on-chain voting, implemented in Solidity.
⬆️
24

weird-erc20

weird erc20 tokens
⬆️
25

building-secure-contracts

Guidelines and training material to write secure smart contracts
⬆️
26

Dapp-Learning

Dapp learning project for developers at all stages. Becoming and cultivating sovereign individuals. Nonprofit organization.
⬆️
27

Clone0

Clone0 optimize the previous Minimal Proxy Contract (eip-3855) with `PUSH0` opcodes, saving 200 gas at deployment and 5 gas at runtime.
⬆️
28

amm-arbitrageur

An arbitrage bot between Uniswap AMMs
⬆️
29

prb-math

Solidity library for advanced fixed-point math
⬆️
30

v4-core

🦄 🦄 🦄 🦄 Core smart contracts of Uniswap v4
⬆️
31

semgrep-rules

Semgrep rules registry
⬆️
32

solidity-stringutils

Basic string utilities for Solidity
⬆️
33

yui-ibc-solidity

IBC in Solidity
⬆️
34

foundry-huff

A Foundry Library for compiling, debugging, and working with Huff contracts in Solidity.
⬆️
35

v4-periphery

🦄 🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v4
⬆️
36

solidity-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.
⬆️
37

zk-merkle-tree

JavaScript library for anonymous voting on Ethereum blockchain using zero-knowledge proof
⬆️
38

tokenized-strategy-foundry-mix

Create Yearn V3 "Tokenized Strategies" using Foundry
⬆️
39

pol-token

⬆️
40

solidity-security-by-example

Learn Solidity Smart Contract Security By Examples
⬆️
41

huffmate

A library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.
⬆️
42

solidity-bytes-utils

Utility Solidity library composed of basic operations for tightly packed bytes arrays
⬆️
43

evm-bench

🚀🪑 evm-bench is a suite of Ethereum Virtual Machine stress tests and benchmarks.
⬆️
44

optimizor-war

A gas golf game on Huffathon
⬆️
45

memview-sol

Memory access with runtime typechecking in Solidity
⬆️
46

era-test-node

In-memory node that can be used for integration testing and debugging.
⬆️
47

solidity-patterns

A compilation of patterns and best practices for the smart contract programming language Solidity
⬆️
48

create2deployer

Helper smart contract to make easier and safer usage of the `CREATE2` EVM opcode.
⬆️
49

noir-starter

⬆️
50

pyusd-contract

PYUSD stablecoin smart contract repo
⬆️
51

onlypwner-challenges

Challenges for the ONLYPWNER CTF Platform
⬆️
52

permit2

🔑🔑🔑 next generation token approvals mechanism
⬆️
53

semacaulk

Gas-efficient and blazing fast proving for private signaling
⬆️
54

nitro-contracts

The core Arbitrum Nitro contracts deployed to the base chain to host the rollup
⬆️
55

diamond-3-hardhat

EIP-2535 Diamond reference implementation using Hardhat and Solidity 0.8.*
⬆️
56

ERC721A

https://ERC721A.org
⬆️
57

huff-examples

A collection of commonly used, vigorously tested Huff contracts for learning purposes.
⬆️
58

huff-project-template

Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.
⬆️
59

flashloan-box

A box containing all you need to get started with developing Aave v1 flash loans
⬆️
60

memmove

A data structures library that does memory management for you
⬆️
61

grim-reaper

on-chain liquidation bot built with Huff language
⬆️
62

contracts

Implementation of the Farcaster ID and Name Registry contracts
⬆️
63

simple-blind-arbitrage

⬆️
64

damn-vulnerable-defi

⬆️
65

bsc-genesis-contract

The genesis contracts of Binance Smart Chain.
⬆️
66

creator-claim-validator

proof-of-concept validator for smart contract owners to verify addreses as "creators" via EIP712 signatures
⬆️
67

dynamic-contracts

Architectural pattern for writing dynamic smart contracts in Solidity.
⬆️
68

safe-counter

⬆️
69

kyber-exploit-example

reproduce kyber-elastic exploit
⬆️
70

HyVM

Run arbitrary code on the EVM, by nested.fi
⬆️
71

rareskills-huffathon-challenge

⬆️
72

huffbits

An adaptation and improvement on sway-bits, a similar but more minimal lib written in Sway.
⬆️
73

chainlink-vrf-demo

Chainlink VRF V2 example with unit test
⬆️
74

UniswapX

🦄 Gasless ERC20 swap settlement protocol 🦄
⬆️
75

example-subgraph

An example to help you get started with The Graph
⬆️
76

learn-solidity-presentations

All of the presentations in the Learn Solidity course
⬆️
77

create3-factory

⬆️
78

forge-poc-templates

⬆️
79

fuzzer-evaluation

Evaluating fuzzer effectiveness
⬆️
80

sx-evm

Core smart contracts of Snapshot X for EVM
⬆️
81

zora-protocol

Zora 1155 Contracts
⬆️
82

properties

Pre-built security properties for common Ethereum operations
⬆️
83

book

A book on all things Foundry, available at https://book.getfoundry.sh.
⬆️
84

clamm

⬆️
85

sablier-v2-integration-template

Sablier V2 integration template
⬆️
86

zipped-contracts

⬆️
87

foundry-template

An opinionated template for Foundry projects.
⬆️
88

prettier-plugin-solidity

A Prettier plugin for automatically formatting your Solidity code.
⬆️
89

Ghost-Contract

A minimalistic contract to execute a payload and make the code size of the msg.sender appear to be 0.
⬆️
90

security

Materials related to security: docs, checklists, processes, etc...
⬆️
91

creator-tokens

⬆️
92

Mastering-Blockchain-Programming-with-Solidity

Mastering Blockchain Programming with Solidity, published by Packt
⬆️
93

token-vesting-contracts

ERC20 token vesting smart contracts 💰⏳
⬆️
94

snekmate

State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.
⬆️
95

optimism-starter

A boilerplate for getting started with optimism
⬆️
96

quantum-gravity-bridge

Celestia -> EVM bridge
⬆️
97

verified-smart-contracts

Smart contracts which are formally verified
⬆️
98

light-account

⬆️
99

skipper

Example MEV searching bot for the Cosmos ecosystem, using Skip.
⬆️
100

SmartDev-Contract

Solidity智能合约库,包含了基础类型到上层业务的一系列智能合约库代码,便于开发者借鉴、引入和复用。
⬆️