Research
SolidPattern
Research project on modular, extensible smart contracts on Ethereum. Funded by netidee, code open on GitHub.
- Context
- netidee Call 12 (Projekt 2232)
- Industry
- Blockchain, research
- Year
- 2018
- Services
- Backend
- Technologies
- Solidity, Ethereum, Truffle, Remix
Situation
Smart contracts on Ethereum cannot be changed once deployed. A flaw in the structure can render an application unusable. In 2017 there was no established approach for large, modular blockchain applications.
Challenge
The code should stay trustworthy while the application can still grow and fix bugs. That requires separating data, logic and permissions so that individual parts can be replaced without recreating all data.
Solution
SolidPattern applies the idea of MVC to smart contracts. A proxy gateway knows every contract in the system, manages owners and managers, and lets changes be decided by vote. Behind it sit separate contracts for application logic, data access, storage and shared functions.
Research, a reference implementation and a bilingual project site were created as part of netidee Call 12 (project 2232).
Features
- Proxy gateway as a registry of all contracts, with owners, managers and voting
- Logic contracts for application logic
- Controller contracts as the only access to data
- Database contracts for storage
- Service contracts for shared functions and libraries
- Examples built on the pattern: permission management and ETH balances
- Project site in German and English
A closer look
Result
The reference implementation, documentation and final report have been openly published since 2018; the repository is now archived. SolidPattern is a research prototype: the code was never audited and is not meant for production use or real funds.
The underlying question remains. Today we would use established standards instead: ERC-1967 proxies, approvals via Safe multisig and audited building blocks from OpenZeppelin.
Planning something similar?
Tell us briefly what it is about. You talk directly to the developer who builds it.