Call 01
Build one unified file, not a foundation with linked libraries.
The conventional structure for a multi-product system is a shared foundation file feeding separate, linked product libraries, the model I’d used before. The alternative was to pack everything, foundations and all three products, into a single file.
What I chose
A single file. For a team this size, one source of truth meant no cross-file linking to maintain, no version-skew between a foundation and its dependents, and one place to look for anything. The simplicity paid for itself daily.
Trade-off
A single file scales less gracefully than a federation as a team and product count grow. The team was nowhere near that ceiling, and the daily cost of managing linked libraries was the more immediate price. For where Concordium was, single-file was the right call.







