The largest Solidity repositories by lines of code

OctoCounts has measured 43 public GitHub repositories whose primary programming language is Solidity. the-web3/ai-web3-shenzhen is the largest, with 864,669 code lines across 5,659 files, counted with tokei on November 9, 2026. The table ranks the 44 largest by code lines; each row links to a report pinned to the commit it counted.

RankRepositoryCode linesTotal linesFilesSolidity share
1the-web3/ai-web3-shenzhen864,6691,164,9955,65942.4%
2gmh5225/ai-web3-shenzhen712,437976,5004,86450.6%
3flashbots/EIP-712-swap-PoC406,365408,322650.8%
4wjorgensen/porto-zkEmail387,096518,4171,65462.9%
5plouis01/MultiSub-ClaimOnly337,872471,4092,44761.3%
6kingmariano/kontrol-sanity-tracka151,652164,34128117.1%
7lewbei/aegis770298,772127,05858849.7%
8ethduke/eip_7702_batch_txs78,938110,81553263.6%
924hlivepay/ProofPay-Mainnet51,01161,93318537.3%
10ironblocks/ether-fi-smart-contracts46,02454,90223624.1%
11ian-shim/ERC721Attachable43,88243,975110.4%
12reserve-protocol/protocol41,31070,39958745.9%
13EthereumCommonwealth/Dex223-contracts38,45655,65426082.6%
14edendao/lfg35,78848,80014484.8%
15Bakuli3600/nemesis-ot31,55340,91325559.6%
16rhinestonewtf/core-modules27,50432,2241229.0%
17CodeExplorer29/anon-router26,35837,72812271.9%
18zengjiajun0623/anon-router26,35837,72812271.9%
19jatin9996/multicall19,45820,002244.7%
20hadv/ethersafe19,05226,1764697.1%
21BuildBearLabs/tutorial-time-advancement-token-locking-rewards18,96624,0954197.0%
22Nazar-Brunarskyi/DelegatedTokenClaims10,15510,396115.0%
23harshasingamshetty1/account9,16317,6717669.8%
24omnus-group/delegated-erc20-claim-with-burn8,6329,26092.0%
25smartcontractkit/chainlink-ccv-starter-kit-contracts8,56611,5886745.2%
26aishwarya-m-260803/eip712-merkle7,8648,02270.6%
27rhinestonewtf/smartsessions7,60711,9237143.0%
28r001/diamond-exchange4,6576,6081499.1%
290xrusowsky/account4,4847,4303966.8%
30Dexaran/Dex223-dev4,2627,98043100.0%
31base/flywheel4,0356,5323632.7%
32stackedlol/haj-token3,3103,7332421.5%
330xsequence/wallet-contracts-v33,2355,6866493.7%
34Uniswap/v3-core3,0155,0365094.5%
35Uniswap/universal-router2,4853,80911284.1%
36leopardracer/account1,4602,6011299.1%
37PopPunkLLC/gaslite-core1,3793,1072999.1%
38ChaituKReddy/airdrop1,2922,609799.7%
39OceanaPods/airdrop1,2922,609799.7%
40plagtech/spraay-uniswap-v4-hook1,1311,6371548.5%
41ian-shim/app-wallet4927251373.2%
42Dexaran/ERC223-token-standard2287069100.0%
43BuildBearLabs/tutorial-buildbear-eip-7702137335783.2%
44jesperkristensen58/FunctionSelectorEthereum82193882.9%

Ranking rule: a repository belongs to Solidity when Solidity is its largest programming language by code lines; data and prose formats such as JSON, YAML, TOML and Markdown do not count as a language for this rule. "Solidity share" is the share of the repository's code lines written in Solidity. Code lines exclude comments and blank lines. Every report uses OctoCounts' canonical public options, with tests, docs and generated directories excluded, and reports were generated on different dates.

Solidity leaderboard FAQ

Which Solidity repository has the most lines of code?

the-web3/ai-web3-shenzhen is the largest Solidity repository in OctoCounts' index, with 864,669 code lines out of 1,164,995 total lines across 5,659 files, counted on November 9, 2026. gmh5225/ai-web3-shenzhen follows with 712,437 code lines. Code size is not code quality: a larger count only means more source material.

How does a repository join the Solidity leaderboard?

Solidity must be its primary programming language: the language with the most code lines in the repository's OctoCounts report, ignoring data and prose formats such as JSON, YAML, TOML and Markdown. The repository then needs a public report with at least 5 files, and it is listed when it is among the 50 largest by code lines.

How many Solidity repositories has OctoCounts measured?

43 public GitHub repositories have Solidity as their primary programming language in OctoCounts' index. This page lists the 44 largest by code lines; a repository analyzed with custom counting options keeps those counts as a separate saved result.

Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use line counts to gauge the scale of what you would be reading or maintaining, not as a quality signal.