You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daniel edited this page Jul 29, 2020
·
2 revisions
Packaging
The runtime is divided into packages and source. The packages are different components that we find useful to reuse and the source is the top-level code that compiles the whole project into a runtime.
The hierarchy has the following structure:
Runtime
│
└───packages
│ └───core-modules
│ └───core-utils
│ └───models
│ └───modules <--- Modules package. Contains the top-level "pallets" used in the Runtime
│ └───balances
│ ....
│
└───src
All of the packagings are done using yarn workspaces. Thus so far we have the following workspaces:
@core-modules - The core-modules that are used by most of the modules (f.e Storage, Crypto etc.)