Designing Blockchain-Based Systems With Clean Architecture
Blockchain-based systems have gained increasing attention due to their ability to provide secure, decentralized, and transparent solutions across various domains. However, implementing such systems is challenging, as the chosen architecture directly impacts their quality, reliability, and performance. Clean Architecture is a widely recognized architectural pattern that promotes maintainability, scalability, and testability. While it has been extensively applied in traditional software development, there are few studies exploring its application in blockchain-based systems. This paper addresses this gap by presenting an approach to structuring blockchain-based systems using Clean Architecture. To illustrate this, we developed a blockchain-based system for managing an artisanal cheese supply chain. We also conducted a performance evaluation of the system, and the results indicate that Clean Architecture does not significantly impact performance while offering substantial advantages in terms of maintainability. These findings suggest that Clean Architecture can be a viable and effective choice for structuring blockchain-based applications, balancing both software quality and system efficiency.
