📚 cosmos-sdk - Awesome Go Library for Blockchain

Go Gopher mascot for cosmos-sdk

A Framework for Building Public Blockchains in the Cosmos Ecosystem.

🏷️ Blockchain
📂 Tools for building blockchains.
6,231 stars
View on GitHub 🔗

Detailed Description of cosmos-sdk

Cosmos SDK

banner

The Cosmos SDK is a framework for building blockchain applications. CometBFT (BFT Consensus) and the Cosmos SDK are written in the Go programming language. Cosmos SDK is used to build Gaia, the implementation of the Cosmos Hub.

WARNING: The Cosmos SDK has mostly stabilized, but we are still making some breaking changes.

Note: Always use the latest maintained Go version for building Cosmos SDK applications.

Quick Start

To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK High-Level Intro.

If you want to get started quickly and learn how to build on top of Cosmos SDK, visit Cosmos SDK Tutorials. You can also fork the tutorial's repository to get started building your own Cosmos SDK application.

For more information, see the Cosmos SDK Documentation.

Contributing

See CONTRIBUTING.md for details on how to contribute and participate in our dev calls. If you want to follow the updates or learn more about the latest design then join our Discord.

Tools and Frameworks

The Cosmos ecosystem is vast. Awesome Cosmos is a community-curated list of notable frameworks, modules and tools.

Inter-Blockchain Communication (IBC)

The IBC module for the Cosmos SDK has its own cosmos/ibc-go repository. Go there to build and integrate with the IBC module.

Version Matrix

The version matrix below shows which versions of the Cosmos SDK, modules and libraries are compatible with each other.

Core Dependencies

Core dependencies are the core libraries that an application may depend on. Core dependencies not mentioned here as compatible across all maintained SDK versions.

Cosmos SDKcosmossdk.io/corecosmossdk.io/apicosmossdk.io/x/tx
0.52.z1.y.z0.8.z0.14.z
0.50.z0.11.z0.7.z0.13.z
0.47.z0.5.z0.3.zN/A

Module Dependencies

Module Dependencies are the modules that an application may depend on and which version of the Cosmos SDK they are compatible with.

Note: The version table only goes back to 0.50.x, as modules started to become modular with 0.50.z. X signals that the module was not spun out into its own go.mod file. N/A signals that the module was not available in the Cosmos SDK at that time.

Cosmos SDK0.50.z0.52.z
cosmossdk.io/x/accountsN/A0.2.z
cosmossdk.io/x/bankX0.2.z
cosmossdk.io/x/circuit0.1.z0.2.z
cosmossdk.io/x/consensusX0.2.z
cosmossdk.io/x/distributionX0.2.z
cosmossdk.io/x/epochsN/A0.2.z
cosmossdk.io/x/evidence0.1.z0.2.z
cosmossdk.io/x/feegrant0.1.z0.2.z
cosmossdk.io/x/govX0.2.z
cosmossdk.io/x/groupX0.2.z
cosmossdk.io/x/mintX0.2.z
cosmossdk.io/x/nft0.1.z0.2.z
cosmossdk.io/x/protocolpoolN/A0.2.z
cosmossdk.io/x/slashingX0.2.z
cosmossdk.io/x/stakingX0.2.z
cosmossdk.io/x/upgrade0.1.z0.2.z

Disambiguation

This Cosmos SDK project is not related to the React-Cosmos project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.