Packages
The Cosmos SDK is a collection of Go modules. This section provides documentation on various packages that can used when developing a Cosmos SDK chain. It lists all standalone Go modules that are part of the Cosmos SDK.
tip
For more information on SDK modules, see the SDK Modules section. For more information on SDK tooling, see the Tooling section.
Core
- Core - Core library defining SDK modules and Server core interfaces (ADR-063)
- API - API library containing generated SDK Pulsar API
- Store - Implementation of the Cosmos SDK store
- Store/v2 - Implementation of the Cosmos SDK store
V2
- Server/v2/stf - State Transition Function (STF) library for Cosmos SDK v2
- Server/v2/appmanager - App coordinator for Cosmos SDK v2
- runtime/v2 - Runtime library for Cosmos SDK v2
- Server/v2 - Global server library for Cosmos SDK v2
- Server/v2/cometbft - CometBFT Server implementation for Cosmos SDK v2
State Management
- Collections - State management library
- ORM - State management library
- Schema - Logical representation of module state schemas
- PostgreSQL indexer - PostgreSQL indexer for Cosmos SDK modules
UX
Utilities
- Core/Testing - Mocking library for SDK modules
- Log - Logging library
- Errors - Error handling library
- Errors/v2 - Error handling library
- Math - Math library for SDK arithmetic operations
Example
- SimApp v2 - SimApp/v2 is the sample Cosmos SDK v2 chain. This package should not be imported in your application.