fravoll/solidity-patterns resource
A compilation of patterns and best practices for the smart contract programming language Solidity observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3122
- days_rel: n/a
- days_push: 866
- n_releases_24m: 0
Adoption not part of the score
3323 stars · 528 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A curated collection of design, security, upgradeability, and economic patterns for the Solidity smart contract language, each with code samples and detailed explanations. It is published as a documentation site and is no longer under active development.
Use cases
- learn common solidity design patterns
- secure my smart contract against reentrancy
- how to upgrade a smart contract without breaking dependencies
- optimize gas costs in solidity contracts
- generate random numbers on the blockchain safely
- restrict access to contract functions
- implement an emergency stop in a smart contract
When to choose
- learning foundational smart contract design and security patterns
- studying classic patterns like checks-effects-interactions or proxy delegate
- getting concise code examples with explanations for Ethereum contracts
When to avoid
- working with modern Solidity versions, since examples target 0.4.20 and may be outdated
- needing a maintained library or production-ready audited code
- requiring up-to-date best practices for current tooling and standards
Facets
learning-resource · maturity maintenance
security documentation blockchain security developer-tools tutorials cross-platform solidity smart-contracts design-patterns ethereum gas-optimization upgradeability
2 sources
- readme: https://github.com/fravoll/solidity-patterns · fetched 2026-08-28 · 38612a6f9aea
- homepage: https://fravoll.github.io/solidity-patterns/ · fetched 2026-08-29 · 937408bbf867
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fravoll/solidity-patterns | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="fravoll/solidity-patterns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem