cosmos-sdk

module
v1.2.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2019 License: Apache-2.0

README

Cosmos SDK

banner

version CircleCI codecov Go Report Card license LoC API Reference riot.im

The Cosmos-SDK is a framework for building blockchain applications in Golang. It is being used to build Gaia, the first implementation of the Cosmos Hub.

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

Note: Requires Go 1.13+

Quick Start

To learn how the SDK works from a high-level perspective, go to the SDK Intro.

If you want to get started quickly and learn how to build on top of the SDK, please follow the SDK Application Tutorial. You can also fork the tutorial's repo to get started building your own Cosmos SDK application.

For more, please go to the Cosmos SDK Docs

Cosmos Hub Mainnet

The Cosmos Hub application, gaia, has moved to its own repository. Go there to join the Cosmos Hub mainnet and more.

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.

Directories

Path Synopsis
Package baseapp contains data structures that provide basic data storage functionality and act as a bridge between the ABCI interface and the SDK abstractions.
Package baseapp contains data structures that provide basic data storage functionality and act as a bridge between the ABCI interface and the SDK abstractions.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/client/context ALIASGEN: github.com/svinonek/cosmos-sdk/client/flags ALIASGEN: github.com/svinonek/cosmos-sdk/client/keys ALIASGEN: github.com/svinonek/cosmos-sdk/client/lcd ALIASGEN: github.com/svinonek/cosmos-sdk/client/rest ALIASGEN: github.com/svinonek/cosmos-sdk/client/rpc ALIASGEN: github.com/svinonek/cosmos-sdk/client/tx ALIASGEN: github.com/svinonek/cosmos-sdk/client/utils ALIASGEN: github.com/svinonek/cosmos-sdk/client/input
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/client/context ALIASGEN: github.com/svinonek/cosmos-sdk/client/flags ALIASGEN: github.com/svinonek/cosmos-sdk/client/keys ALIASGEN: github.com/svinonek/cosmos-sdk/client/lcd ALIASGEN: github.com/svinonek/cosmos-sdk/client/rest ALIASGEN: github.com/svinonek/cosmos-sdk/client/rpc ALIASGEN: github.com/svinonek/cosmos-sdk/client/tx ALIASGEN: github.com/svinonek/cosmos-sdk/client/utils ALIASGEN: github.com/svinonek/cosmos-sdk/client/input
lcd
lcd/statik
Package statik contains static assets.
Package statik contains static assets.
rpc
keys/hd
Package hd provides basic functionality Hierarchical Deterministic Wallets.
Package hd provides basic functionality Hierarchical Deterministic Wallets.
mock
nolint
nolint
Package simapp implements a full fledged Cosmos SDK application used for executing simulation test suites.
Package simapp implements a full fledged Cosmos SDK application used for executing simulation test suites.
module
Package module contains application module patterns and associated "manager" functionality.
Package module contains application module patterns and associated "manager" functionality.
rest
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
x
auth/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
auth/legacy/v0_36
DONTCOVER nolint DONTCOVER nolint
DONTCOVER nolint DONTCOVER nolint
auth/types
nolint noalias
nolint noalias
bank
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/bank/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/bank/types
crisis
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/crisis/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/crisis/types
nolint
distribution
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/types ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/client
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/types ALIASGEN: github.com/svinonek/cosmos-sdk/x/distribution/client
nolint
distribution/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
distribution/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
distribution/types
nolint nolint
nolint nolint
genaccounts
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/genaccounts/internal/types Package genaccounts contains specialized functionality for initializing accounts from genesis including: - genesis account validation, - initchain processing of genesis accounts, - export processing (to genesis) of accounts, - server command for adding accounts to the genesis file.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/genaccounts/internal/types Package genaccounts contains specialized functionality for initializing accounts from genesis including: - genesis account validation, - initchain processing of genesis accounts, - export processing (to genesis) of accounts, - server command for adding accounts to the genesis file.
genaccounts/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
genaccounts/legacy/v0_36
DONTCOVER nolint DONTCOVER nolint
DONTCOVER nolint DONTCOVER nolint
genutil
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/genutil/types Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/genutil/types Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
gov
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/gov/types nolint:deadcode unused
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/gov/types nolint:deadcode unused
gov/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
gov/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
gov/types
nolint
nolint
mint
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/mint/internal/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/mint/internal/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/mint/internal/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/mint/internal/types
mint/internal/keeper
nolint:deadcode unused
nolint:deadcode unused
mock
Package mock provides utility methods to ease writing tests.
Package mock provides utility methods to ease writing tests.
params
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/params/subspace ALIASGEN: github.com/svinonek/cosmos-sdk/x/params/types nolint: deadcode unused
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/params/subspace ALIASGEN: github.com/svinonek/cosmos-sdk/x/params/types nolint: deadcode unused
simulation
Package simulation implements a simulation framework for any state machine built on the SDK which utilizes auth.
Package simulation implements a simulation framework for any state machine built on the SDK which utilizes auth.
slashing
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/slashing/types nolint nolint:deadcode unused
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/slashing/types nolint nolint:deadcode unused
nolint
staking
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/types ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/exported
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/types ALIASGEN: github.com/svinonek/cosmos-sdk/x/staking/exported
staking/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
staking/legacy/v0_36
DONTCOVER nolint DONTCOVER nolint
DONTCOVER nolint DONTCOVER nolint
staking/types
nolint
nolint
supply
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/supply/internal/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/supply/internal/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/svinonek/cosmos-sdk/x/supply/internal/keeper ALIASGEN: github.com/svinonek/cosmos-sdk/x/supply/internal/types
supply/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL