# Solidity project architecture examples

Interactive architecture diagrams of 117 open-source Solidity repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

## Repositories 1 to 50 of 117

1. [openzeppelin/openzeppelin-contracts](https://gitdiagram.com/openzeppelin/openzeppelin-contracts) (27.4k stars): OpenZeppelin Contracts is a Solidity library for secure smart-contract development; its README highlights token standards, access control, and reusable utilities. Markdown: https://gitdiagram.com/openzeppelin/openzeppelin-contracts.md
2. [sunweb3sec/defihacklabs](https://gitdiagram.com/sunweb3sec/defihacklabs) (6.5k stars): – Contains lessons and tutorials under multiple sections (e.g., “move”, “onchain_debug”, “solidity”, “user_awareness”) Markdown: https://gitdiagram.com/sunweb3sec/defihacklabs.md
3. [transmissions11/solmate](https://gitdiagram.com/transmissions11/solmate) (4.3k stars): Auth Module: Represent the “auth” folder as one component. Within this, include sub-components. Markdown: https://gitdiagram.com/transmissions11/solmate.md
4. [uniswap/v4-core](https://gitdiagram.com/uniswap/v4-core) (2.5k stars): This is a blockchain-focused smart contract project for an automated market maker protocol (AMM). Markdown: https://gitdiagram.com/uniswap/v4-core.md
5. [crytic/building-secure-contracts](https://gitdiagram.com/crytic/building-secure-contracts) (2.5k stars): This is a documentation-centric repository that uses Markdown and mdBook to build a static site (a learning “book”) covering best practices, EVM knowledge, common smart-contract… Markdown: https://gitdiagram.com/crytic/building-secure-contracts.md
6. [openzeppelin/ethernaut](https://gitdiagram.com/openzeppelin/ethernaut) (2.3k stars) Markdown: https://gitdiagram.com/openzeppelin/ethernaut.md
7. [layerzero-labs/layerzero-v1](https://gitdiagram.com/layerzero-labs/layerzero-v1) (2k stars): This is a blockchain-focused, backend-only repository implementing LayerZero Endpoints as a set of gas-efficient, non-upgradable smart contracts. Markdown: https://gitdiagram.com/layerzero-labs/layerzero-v1.md
8. [foundry-rs/forge-std](https://gitdiagram.com/foundry-rs/forge-std) (1.1k stars) Markdown: https://gitdiagram.com/foundry-rs/forge-std.md
9. [makerdao/dss](https://gitdiagram.com/makerdao/dss) (824 stars) Markdown: https://gitdiagram.com/makerdao/dss.md
10. [sky-ecosystem/dss](https://gitdiagram.com/sky-ecosystem/dss) (824 stars) Markdown: https://gitdiagram.com/sky-ecosystem/dss.md
11. [layr-labs/eigenlayer-contracts](https://gitdiagram.com/layr-labs/eigenlayer-contracts) (714 stars) Markdown: https://gitdiagram.com/layr-labs/eigenlayer-contracts.md
12. [decurity/semgrep-smart-contracts](https://gitdiagram.com/decurity/semgrep-smart-contracts) (712 stars) Markdown: https://gitdiagram.com/decurity/semgrep-smart-contracts.md
13. [ethereum/ercs](https://gitdiagram.com/ethereum/ercs) (676 stars) Markdown: https://gitdiagram.com/ethereum/ercs.md
14. [eth-sri/securify2](https://gitdiagram.com/eth-sri/securify2) (629 stars) Markdown: https://gitdiagram.com/eth-sri/securify2.md
15. [pcaversaccio/snekmate](https://gitdiagram.com/pcaversaccio/snekmate) (587 stars) Markdown: https://gitdiagram.com/pcaversaccio/snekmate.md
16. [solidquant/mev-templates](https://gitdiagram.com/solidquant/mev-templates) (572 stars) Markdown: https://gitdiagram.com/solidquant/mev-templates.md
17. [base/contract-deployments](https://gitdiagram.com/base/contract-deployments) (537 stars) Markdown: https://gitdiagram.com/base/contract-deployments.md
18. [graphprotocol/contracts](https://gitdiagram.com/graphprotocol/contracts) (368 stars) Markdown: https://gitdiagram.com/graphprotocol/contracts.md
19. [sablier-labs/lockup](https://gitdiagram.com/sablier-labs/lockup) (346 stars) Markdown: https://gitdiagram.com/sablier-labs/lockup.md
20. [polymarket/ctf-exchange](https://gitdiagram.com/polymarket/ctf-exchange) (342 stars) Markdown: https://gitdiagram.com/polymarket/ctf-exchange.md
21. [base/contracts](https://gitdiagram.com/base/contracts) (330 stars) Markdown: https://gitdiagram.com/base/contracts.md
22. [ithacaxyz/account](https://gitdiagram.com/ithacaxyz/account) (318 stars) Markdown: https://gitdiagram.com/ithacaxyz/account.md
23. [morpho-org/morpho-blue](https://gitdiagram.com/morpho-org/morpho-blue) (307 stars) Markdown: https://gitdiagram.com/morpho-org/morpho-blue.md
24. [tokenysolutions/t-rex](https://gitdiagram.com/tokenysolutions/t-rex) (265 stars) Markdown: https://gitdiagram.com/tokenysolutions/t-rex.md
25. [mudgen/diamond-3-hardhat](https://gitdiagram.com/mudgen/diamond-3-hardhat) (254 stars) Markdown: https://gitdiagram.com/mudgen/diamond-3-hardhat.md
26. [aave/aave-v4](https://gitdiagram.com/aave/aave-v4) (208 stars) Markdown: https://gitdiagram.com/aave/aave-v4.md
27. [pendle-finance/pendle-core-v2-public](https://gitdiagram.com/pendle-finance/pendle-core-v2-public) (208 stars) Markdown: https://gitdiagram.com/pendle-finance/pendle-core-v2-public.md
28. [euler-xyz/euler-vault-kit](https://gitdiagram.com/euler-xyz/euler-vault-kit) (195 stars) Markdown: https://gitdiagram.com/euler-xyz/euler-vault-kit.md
29. [metamask/delegation-framework](https://gitdiagram.com/metamask/delegation-framework) (192 stars) Markdown: https://gitdiagram.com/metamask/delegation-framework.md
30. [llamapay/llamapay](https://gitdiagram.com/llamapay/llamapay) (189 stars) Markdown: https://gitdiagram.com/llamapay/llamapay.md
31. [storyprotocol/protocol-core-v1](https://gitdiagram.com/storyprotocol/protocol-core-v1) (189 stars) Markdown: https://gitdiagram.com/storyprotocol/protocol-core-v1.md
32. [dodoex/contractv2](https://gitdiagram.com/dodoex/contractv2) (165 stars) Markdown: https://gitdiagram.com/dodoex/contractv2.md
33. [euler-xyz/ethereum-vault-connector](https://gitdiagram.com/euler-xyz/ethereum-vault-connector) (157 stars) Markdown: https://gitdiagram.com/euler-xyz/ethereum-vault-connector.md
34. [originprotocol/origin-dollar](https://gitdiagram.com/originprotocol/origin-dollar) (148 stars) Markdown: https://gitdiagram.com/originprotocol/origin-dollar.md
35. [mudgen/diamond-1-hardhat](https://gitdiagram.com/mudgen/diamond-1-hardhat) (146 stars) Markdown: https://gitdiagram.com/mudgen/diamond-1-hardhat.md
36. [celer-network/sgn-v2-contracts](https://gitdiagram.com/celer-network/sgn-v2-contracts) (144 stars) Markdown: https://gitdiagram.com/celer-network/sgn-v2-contracts.md
37. [across-protocol/contracts](https://gitdiagram.com/across-protocol/contracts) (141 stars) Markdown: https://gitdiagram.com/across-protocol/contracts.md
38. [auditware/radar](https://gitdiagram.com/auditware/radar) (137 stars) Markdown: https://gitdiagram.com/auditware/radar.md
39. [balancer/balancer-v3-monorepo](https://gitdiagram.com/balancer/balancer-v3-monorepo) (135 stars) Markdown: https://gitdiagram.com/balancer/balancer-v3-monorepo.md
40. [bancorprotocol/carbon-contracts](https://gitdiagram.com/bancorprotocol/carbon-contracts) (130 stars) Markdown: https://gitdiagram.com/bancorprotocol/carbon-contracts.md
41. [liquity/bold](https://gitdiagram.com/liquity/bold) (128 stars) Markdown: https://gitdiagram.com/liquity/bold.md
42. [etherfi-protocol/smart-contracts](https://gitdiagram.com/etherfi-protocol/smart-contracts) (127 stars) Markdown: https://gitdiagram.com/etherfi-protocol/smart-contracts.md
43. [dangerousfood/ethstrategy](https://gitdiagram.com/dangerousfood/ethstrategy) (123 stars) Markdown: https://gitdiagram.com/dangerousfood/ethstrategy.md
44. [aerodrome-finance/contracts](https://gitdiagram.com/aerodrome-finance/contracts) (113 stars) Markdown: https://gitdiagram.com/aerodrome-finance/contracts.md
45. [pancakeswap/infinity-core](https://gitdiagram.com/pancakeswap/infinity-core) (105 stars) Markdown: https://gitdiagram.com/pancakeswap/infinity-core.md
46. [jk-labs-inc/jokerace](https://gitdiagram.com/jk-labs-inc/jokerace) (104 stars) Markdown: https://gitdiagram.com/jk-labs-inc/jokerace.md
47. [morpho-org/vault-v2](https://gitdiagram.com/morpho-org/vault-v2) (104 stars) Markdown: https://gitdiagram.com/morpho-org/vault-v2.md
48. [smartcontractkit/chainlink-local](https://gitdiagram.com/smartcontractkit/chainlink-local) (104 stars) Markdown: https://gitdiagram.com/smartcontractkit/chainlink-local.md
49. [mudgen/diamond-2-hardhat](https://gitdiagram.com/mudgen/diamond-2-hardhat) (99 stars) Markdown: https://gitdiagram.com/mudgen/diamond-2-hardhat.md
50. [se7en-seas/boring-vault](https://gitdiagram.com/se7en-seas/boring-vault) (95 stars) Markdown: https://gitdiagram.com/se7en-seas/boring-vault.md

Next page: https://gitdiagram.com/architecture-examples/solidity/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
