The Rust documentation is the single source of truth for the Substrate code base. However, if you aren't sure what you are looking for—for example, a specific crate, trait, or data structure—it can be tricky to navigate or to know the best place to start.
As discussed in Architecture and Rust libraries, Substrate libraries use a naming convention to indicate whether a library is part of the Substrate core client (
sc_*), FRAME and the runtime (
pallet_*), or a Substrate primitive (
If you don't have a specific crate in mind, use the following links as entry points to explore the core Rust libraries.
Substrate core client libraries
Use the following links to explore Substrate libraries that are part of the Substrate core client (
Use the following links to explore the core FRAME libraries that are used in the Substrate runtime (
Substrate primitive libraries
Use the following links to explore Substrate primitive libraries (
Use the following links to explore other libraries.