For modular smart contracts, the first results are openzeppelin/openzeppelin-contracts (OpenZeppelin Contracts provides foundational, reusable smart contract components and proxy-based upgradeability patterns that align well with modular architecture needs, though it acts more as a library of individual building blocks than a standalone opinionated framework), openzeppelin/zeppelin-solidity (This project provides reusable building blocks and access control components for smart contract development, though it functions as a library rather than a full modular deployment framework) and thirdweb-dev/contracts (This repository provides a collection of modular and deployable smart contracts in Solidity, offering pre-built components for upgradeable architecture and access control that fit the search). rari-capital/solmate and argotorg/solidity round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Compare the top open-source modular smart contract frameworks, ranked by stars and activity, and pick the best fit for your project.
OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo
OpenZeppelin Contracts provides foundational, reusable smart contract components and proxy-based upgradeability patterns that align well with modular architecture needs, though it acts more as a library of individual building blocks than a standalone opinionated framework.
This project is a Solidity smart contract library providing a collection of audited, reusable templates and building blocks for developing secure blockchain applications on the Ethereum Virtual Machine. It serves as a foundational toolkit for smart contract development, encompassing a secure mathematical library, role-based access frameworks, and reference implementations of industry-standard token specifications. The library focuses on reducing security risks through community-vetted contract components and audited templates. It provides specific implementations for creating fungible and non
This project provides reusable building blocks and access control components for smart contract development, though it functions as a library rather than a full modular deployment framework.
Contracts is a collection of reusable, deployable smart contracts and modular building blocks for EVM blockchains. It provides standard token implementations, marketplace trading components, decentralized governance systems, and revenue splitting logic, enabling developers to build applications using pre-built smart contract libraries and standardized token interfaces. The framework features architectural patterns that support atomic asset bundling, batch transaction multiplexing, and configurable drop mechanisms for scheduled digital asset releases. It combines extensible base contracts wit
This repository provides a collection of modular and deployable smart contracts in Solidity, offering pre-built components for upgradeable architecture and access control that fit the search.
Solmate is a Solana program framework and smart contract library providing gas-optimized blockchain primitives. It serves as a development kit for implementing SPL tokens and secure access control systems on the Solana blockchain. The project focuses on reducing compute unit usage and transaction costs through resource-efficient building blocks. It provides standardized components for token logic, balance tracking, and authorization primitives designed to restrict sensitive smart contract functions. The framework employs opinionated patterning and primitive-based composition to structure pro
Solmate is a gas-optimized smart contract primitive library rather than a modular upgradeable framework, providing low-level building blocks for Solana rather than a composition and upgrade architecture.
This project is a high-level programming language and compiler toolchain designed for writing and deploying smart contracts on decentralized virtual machines. It provides a framework for creating self-executing code that operates within deterministic execution environments, ensuring that distributed nodes reach identical state transitions through stack-based machine execution. The language enables the development of complex decentralized logic by supporting state-machine-based contract structures and modular composition. It includes built-in capabilities for cryptographic signature verificati
This repository is the core Solidity programming language compiler and toolchain rather than a modular framework or upgradeable smart contract architecture itself.
Solmate is a collection of gas-optimized building blocks and libraries for developing secure and efficient smart contracts on the Solana blockchain. It provides a set of standardized tools including an access control framework for managing user roles and ownership, a high-precision fixed-point math library for decimal and signed integer calculations, and a Merkle proof verifier for validating data inclusion. The project provides secure token implementations for issuing and transferring fungible and non-fungible tokens. These implementations include safety checks to prevent silent failures dur
Solmate is a collection of gas-optimized smart contract building blocks and libraries rather than a framework for composing and upgrading modular architectural components.
Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse application environments. It decouples authorization logic from application code by using a configuration-driven approach, allowing developers to define access rules and evaluation logic independently. The system supports a wide range of access control models, including role-based, attribute-based, and relationship-based patterns, which are evaluated at runtime to determine if a subject is permitted to perform an action on a resource. The project distinguishes itself through a hig
Casbin is an authorization library for enforcing access control rules across applications, which provides role-based and attribute-based security controls but lacks the smart contract architecture and on-chain modularity requested.
GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add
This project is a GraphQL library for Ruby applications rather than a modular smart contract framework, making it the wrong domain entirely for smart contract development.
Stellar Core is the primary software implementation of the Stellar blockchain network, serving as a distributed ledger and a Federated Byzantine Agreement system. It functions as a core node that maintains the shared state of the network and provides a runtime environment for executing WebAssembly smart contracts. The project enables the creation and management of digital assets, including the implementation of decentralized exchanges through distributed orderbooks and automated liquidity pools. It facilitates cross-border payment settlement by routing assets via path payments and bridging di
Stellar Core is a blockchain node implementation rather than a modular smart contract development framework, though it does provide a runtime for executing smart contracts on the Stellar network.
Hardhat is a smart contract development framework and EVM tooling suite designed for the full lifecycle of Ethereum and EVM-compatible applications. It serves as a development environment for compiling, testing, and deploying smart contracts, providing a local blockchain simulation and a programmable task runner. The framework is distinguished by its extensive simulation capabilities, including the ability to fork remote network state and manipulate block time or account balances. It features a hook-based plugin system that allows for the extension of core functionality and the creation of cu
Hardhat is a smart contract development and testing environment rather than a framework for building upgradeable and modular smart contracts itself.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| openzeppelin/openzeppelin-contracts | 27.2K | Solidity | MIT | |
| openzeppelin/zeppelin-solidity | 27.2K | Solidity | MIT | |
| 1.1K |
| Solidity |
| Apache-2.0 |
| rari-capital/solmate | 4.3K | Solidity | NOASSERTION |
| argotorg/solidity | 25.7K | C++ | GPL-3.0 |
| transmissions11/solmate | 4.3K | Solidity | NOASSERTION |
| casbin/casbin | 19.8K | Go | apache-2.0 |
| rmosolgo/graphql-ruby | 5.4K | Ruby | MIT |
| stellar/stellar-core | 3.3K | C++ | other |
| nomicfoundation/hardhat | 8.5K | TypeScript | NOASSERTION |