Cosmos SDK: Modular blockchain development framework
Open-source framework for building customizable Layer 1 blockchains with native interoperability support.
Learn more about Cosmos SDK
Cosmos SDK is a modular, open-source framework for building application-specific blockchains written in Go. The framework provides a composable architecture where developers can use predefined modules for standard blockchain functionality or create custom modules for specific use cases. It integrates natively with the Inter-Blockchain Communication Protocol (IBC) for cross-chain interoperability and works with CometBFT consensus engine. The SDK includes abstractions for governance, state management, account handling, and tokenization, with over 200 chains currently using it in production.
Modular Architecture
Composable design allows developers to mix predefined modules with custom modules for specific blockchain requirements. The framework provides abstractions for governance, state management, and tokenization processes.
Native Interoperability
Built-in integration with Inter-Blockchain Communication Protocol (IBC) enables cross-chain communication and data transfer between different blockchains. The ibc-go module is implemented directly within the SDK.
Application-Specific Design
Tailored for building sovereign, single-purpose blockchains rather than general-purpose smart contract platforms. Each chain can be optimized for its specific use case and requirements.
package main
import (
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/simapp"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/bank"
"github.com/cosmos/cosmos-sdk/x/staking"
dbm "github.com/tendermint/tm-db"
)
type App struct {
*baseapp.BaseApp
cdc *codec.LegacyAmino
appCodec codec.Codec
interfaceRegistry types.InterfaceRegistry
// Module managers
mm *module.Manager
// Module keepers
AccountKeeper auth.AccountKeeper
BankKeeper bank.Keeper
StakingKeeper staking.Keeper
}
func NewApp(logger log.Logger, db dbm.DB) *App {
appCodec := simapp.MakeTestEncodingConfig().Marshaler
legacyAmino := simapp.MakeTestEncodingConfig().Amino
interfaceRegistry := simapp.MakeTestEncodingConfig().InterfaceRegistry
bApp := baseapp.NewBaseApp("myapp", logger, db, nil)
app := &App{
BaseApp: bApp,
cdc: legacyAmino,
appCodec: appCodec,
interfaceRegistry: interfaceRegistry,
}
return app
}Patch release with minor dependency updates and non-breaking functionality additions
- –Minor dependency and non-breaking functionality additions
- –Fully API and state-compatible with all v0.53.x releases
Updates CometBFT dependency and fixes event indexing issue
- –Updates CometBFT dependency
- –Fixes an issue with event indexing
Patch release with minor dependency updates and non-breaking functionality additions
- –Minor dependency and non-breaking functionality additions
- –Fully API and state-compatible with all v0.53.x releases
See how people are using Cosmos SDK
Top in Crypto
Related Repositories
Discover similar tools and frameworks used by developers
Wormhole
Reference implementation of the Wormhole protocol for cross-chain blockchain interoperability and asset transfers.
Zcash
Full node implementation of Zcash cryptocurrency with zero-knowledge privacy features and shielded transactions.
Forge Std
Collection of contracts and libraries that provide testing utilities and cheatcode wrappers for Forge and Foundry.
OpenZeppelin Contracts
A library of audited Solidity components for secure smart contract development on Ethereum and EVM-compatible chains.
CCXT
Unified API library for 100+ cryptocurrency exchanges, standardizing trading, market data, and account management.
Related Reading
Guides and comparisons from the Greptile content library
The 7 Best AI Coding Tools for Complex Codebases
The best AI coding tools for complex codebases, ranked on accuracy, suggestion quality, and full-codebase context. See which ones you can actually trust.
Best AI Code Review Tools for GitHub
Top-rated AI code review tools for GitHub teams in 2025. Compare features, pricing, and accuracy to find the perfect fit for faster PR reviews and bulletproof code quality.
Best Security-Focused AI Code Review Tools [2026 Guide]
The six best security-focused AI code review tools, compared on SAST, SCA, DAST, and full-repo context, so you can pick the one that fits your codebase and your cycle times.
10 Powerful Code Quality Tools That Catch Bugs Before Deployment
We tested 10 code quality tools that catch bugs before production. Detailed comparison with real-world examples, pricing, and ROI analysis for dev teams.