soladyOptimized Solidity snippets.
WTF-Solidity我最近在重新学solidity，巩固一下细节，也写一个“WTF Solidity极简入门”，供小白们使用，每周更新1-3讲。官网: https://wtf.academy
ERCsThe Ethereum Request for Comment repository
useful-solidity-patterns一些常见的 solidity 的设计模式
solmateModern, opinionated, and gas optimized building blocks for smart contract development.
ctf-blockchainA summary of 100+ CTF blockchain challenges
echidnaEthereum smart contract fuzzer
security-and-auditing-full-course-s23The ultimate, most advanced, security, DeFi, assembly, web3 auditor course ever created.
huff-puzzlesThese exercises were created for our Advanced Solidity Bootcamp and open sourced. Learn EVM bytecode with the Huff Language.
foundry-templateFoundry-based template for developing Solidity smart contracts
WTF-CTFCollect CTFs related to evm, and provide solutions, using Foundry. 收集 EVM 类的 CTF 挑战，并提供解决方案。
v2-core⏳ Core smart contracts of the Sablier V2 token streaming protocol
forge-stdForge 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-attacksLearn & Contribute on previously exploited vulnerabilities across several EVM projects.
solid-grinderA 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.
Web3BugsDemystifying Exploitable Bugs in Smart Contracts
btt-examplesExamples for Branching Tree Technique, a simple specification framework for writing structured Solidity tests
uni-lbpA capital-efficient Uniswap v4 liquidity bootstrapping pool (LBP) hooks contract
cicadaA protocol for private on-chain voting, implemented in Solidity.
weird-erc20weird erc20 tokens
building-secure-contractsGuidelines and training material to write secure smart contracts
Dapp-LearningDapp learning project for developers at all stages. Becoming and cultivating sovereign individuals. Nonprofit organization.
Clone0Clone0 optimize the previous Minimal Proxy Contract (eip-3855) with `PUSH0` opcodes, saving 200 gas at deployment and 5 gas at runtime.
amm-arbitrageurAn arbitrage bot between Uniswap AMMs
prb-mathSolidity library for advanced fixed-point math
v4-core🦄 🦄 🦄 🦄 Core smart contracts of Uniswap v4
semgrep-rulesSemgrep rules registry
solidity-stringutilsBasic string utilities for Solidity
yui-ibc-solidityIBC in Solidity
foundry-huffA Foundry Library for compiling, debugging, and working with Huff contracts in Solidity.
v4-periphery🦄 🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v4
solidity-riddlesA 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.
tokenized-strategy-foundry-mixCreate Yearn V3 "Tokenized Strategies" using Foundry
solidity-security-by-exampleLearn Solidity Smart Contract Security By Examples
huffmateA library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.
solidity-bytes-utilsUtility Solidity library composed of basic operations for tightly packed bytes arrays
evm-bench🚀🪑 evm-bench is a suite of Ethereum Virtual Machine stress tests and benchmarks.
optimizor-warA gas golf game on Huffathon
memview-solMemory access with runtime typechecking in Solidity
era-test-nodeIn-memory node that can be used for integration testing and debugging.
solidity-patternsA compilation of patterns and best practices for the smart contract programming language Solidity
create2deployerHelper smart contract to make easier and safer usage of the `CREATE2` EVM opcode.
pyusd-contractPYUSD stablecoin smart contract repo
onlypwner-challengesChallenges for the ONLYPWNER CTF Platform
permit2🔑🔑🔑 next generation token approvals mechanism
semacaulkGas-efficient and blazing fast proving for private signaling
nitro-contractsThe core Arbitrum Nitro contracts deployed to the base chain to host the rollup
diamond-3-hardhatEIP-2535 Diamond reference implementation using Hardhat and Solidity 0.8.*
huff-examplesA collection of commonly used, vigorously tested Huff contracts for learning purposes.
huff-project-templateFoundry Repository Template that supports writing contracts in Huff using the foundry-huff library.
flashloan-boxA box containing all you need to get started with developing Aave v1 flash loans
memmoveA data structures library that does memory management for you
grim-reaperon-chain liquidation bot built with Huff language
contractsImplementation of the Farcaster ID and Name Registry contracts
bsc-genesis-contractThe genesis contracts of Binance Smart Chain.
creator-claim-validatorproof-of-concept validator for smart contract owners to verify addreses as "creators" via EIP712 signatures
dynamic-contractsArchitectural pattern for writing dynamic smart contracts in Solidity.
kyber-exploit-examplereproduce kyber-elastic exploit
HyVMRun arbitrary code on the EVM, by nested.fi
huffbitsAn adaptation and improvement on sway-bits, a similar but more minimal lib written in Sway.
chainlink-vrf-demoChainlink VRF V2 example with unit test
UniswapX🦄 Gasless ERC20 swap settlement protocol 🦄
example-subgraphAn example to help you get started with The Graph
learn-solidity-presentationsAll of the presentations in the Learn Solidity course
fuzzer-evaluationEvaluating fuzzer effectiveness
sx-evmCore smart contracts of Snapshot X for EVM
zora-protocolZora 1155 Contracts
propertiesPre-built security properties for common Ethereum operations
bookA book on all things Foundry, available at https://book.getfoundry.sh.
sablier-v2-integration-templateSablier V2 integration template
foundry-templateAn opinionated template for Foundry projects.
prettier-plugin-solidityA Prettier plugin for automatically formatting your Solidity code.
Ghost-ContractA minimalistic contract to execute a payload and make the code size of the msg.sender appear to be 0.
securityMaterials related to security: docs, checklists, processes, etc...
Mastering-Blockchain-Programming-with-SolidityMastering Blockchain Programming with Solidity, published by Packt
token-vesting-contractsERC20 token vesting smart contracts 💰⏳
snekmateState-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.
optimism-starterA boilerplate for getting started with optimism
quantum-gravity-bridgeCelestia -> EVM bridge
verified-smart-contractsSmart contracts which are formally verified
skipperExample MEV searching bot for the Cosmos ecosystem, using Skip.
cryticPython, Solidity, Shell
transmissions11Solidity, Rust, TypeScript
willitscalePHP, Solidity, TypeScript
VectorizedSolidity, Python, Java
paco0xSolidity, TypeScript, HTML
foundry-rsSolidity, Rust, TypeScript
ethereum-optimismTypeScript, Go, Solidity
ZeframLouSolidity, TypeScript, Objective-C
dragonfly-xyzSolidity, HTML, CSS