Introduction
Compose is a smart contract library that helps developers build smart contract systems using the ERC-2535 Diamond standard. It's designed from the ground up for code clarity, reusability, and on-chain composability.
The Vision
Imagine a verified, standard library of on-chain smart contract components — each one small, self-contained, and reusable like LEGO blocks.
Deployed once, trusted by all, and combined in endless ways to create new systems.
That's Compose — where your unique value and functionality connects seamlessly with simple, transparent, on-chain building blocks.
Why Choose Compose?
On-chain Standard Library
(Not yet, in the future) - Access verified, audited smart contracts deployed once and reused across multiple diamonds on multiple blockchains.
Composable Architecture
Mix and match on-chain components to build exactly what you need.
Readability First
Code designed to be understood. Compose prioritizes clarity over cleverness.
Upgradeable by Design
Full power of ERC-2535 Diamonds means your contracts can evolve without full redeployment.
Battle-Tested Patterns
Community-reviewed implementations following proven best practices and security standards.
Developer Experience
Intuitive APIs, comprehensive documentation, and helpful libraries make development a breeze.
Types of Smart Contract Systems
Compose is a general purpose smart contract library that can be used to build a wide variety of systems, including small, large, upgradeable and immutable smart contract systems.
However Compose shines when building these types of systems:
- Smart contract systems that evolve over time through upgrades and improvements
- Large smart contract systems that benefit from being broken into modular, focused components
- Large immutable smart contract systems
- Large upgradeable smart contract systems
- Smart contract systems that require full transparency of upgrades
- Smart contract systems that are upgradeable for a time and then become immutable
Perfect For
Our smart contract library is perfect for:
- DeFi Protocols: Build financial products with composable, upgradeable components
- NFT Platforms: Create custom marketplaces and collections with flexible, reusable logic
- DAO Governance: Implement voting and proposal systems that can evolve over time
- Upgradeable Systems: Any project that needs to adapt and improve without full redeployment
- Quality-Focused Teams: Developers who value readable, maintainable, and auditable code
Next Steps
Compose Foundations
Learn the foundations of Compose and how it is unique.
Compose Design
Learn how Compose is designed.
Community & Support
Compose is built with 🩵 by a vibrant community of developers who care about their craft.