depin-sdk

command module
v0.0.0-...-34be4e3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

depin-sdk

banner

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

Note: Always use the latest maintained Go version for building depin-sdk applications.

Quick Start

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

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

For more information, see the depin-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 depin-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 depin-sdk, modules and libraries are compatible with each other.

[!IMPORTANT] depin-sdk v2 corresponds to a chain using the runtime/v2, server/v2/**, and store/v2 packages. The github.com/cosmos/depin-sdk module has a less important role in a v2 chain.

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. See an exhaustive list of core dependencies at cosmossdk.io.

Version v2 0.52.z 0.50.z 0.47.z
cosmossdk.io/core 1.y.z 1.y.z 0.11.z 0.5.z
cosmossdk.io/api 0.8.z 0.8.z 0.7.z 0.3.z
cosmossdk.io/x/tx 1.y.z 1.y.z < 1.y.z N/A
cosmossdk.io/store N/A >= 1.10.z 1.0.0 >= 1.9.z N/A
cosmossdk.io/store/v2 2.y.z N/A N/A N/A
cosmossdk.io/collections 1.y.z 1.y.z < 1.y.z < 1.y.z
Module Dependencies

Module Dependencies are the modules that an application may depend on and which version of the depin-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 depin-sdk at that time.

depin-sdk v2 0.52.z 0.50.z
cosmossdk.io/x/accounts 0.2.z 0.2.z N/A
cosmossdk.io/x/bank 0.2.z 0.2.z X
cosmossdk.io/x/circuit 0.2.z 0.2.z 0.1.z
cosmossdk.io/x/consensus 0.2.z 0.2.z X
cosmossdk.io/x/distribution 0.2.z 0.2.z X
cosmossdk.io/x/epochs 0.2.z 0.2.z N/A
cosmossdk.io/x/evidence 0.2.z 0.2.z 0.1.z
cosmossdk.io/x/feegrant 0.2.z 0.2.z 0.1.z
cosmossdk.io/x/gov 0.2.z 0.2.z X
cosmossdk.io/x/group 0.2.z 0.2.z X
cosmossdk.io/x/mint 0.2.z 0.2.z X
cosmossdk.io/x/nft 0.2.z 0.2.z 0.1.z
cosmossdk.io/x/params N/A 0.2.z X
cosmossdk.io/x/protocolpool 0.2.z 0.2.z N/A
cosmossdk.io/x/slashing 0.2.z 0.2.z X
cosmossdk.io/x/staking 0.2.z 0.2.z X
cosmossdk.io/x/upgrade 0.2.z 0.2.z 0.1.z

Disambiguation

This depin-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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api module
baseapp
oe
testutil/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
grpc/cmtservice
Package cmtservice is a reverse proxy.
Package cmtservice is a reverse proxy.
grpc/node
Package node is a reverse proxy.
Package node is a reverse proxy.
grpc/reflection
Package reflection is a reverse proxy.
Package reflection is a reverse proxy.
rpc
tx
legacy
Package legacy contains a global amino Cdc which is deprecated but still used in several places within the SDK.
Package legacy contains a global amino Cdc which is deprecated but still used in several places within the SDK.
types
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
unknownproto
Package unknownproto implements functionality to "type check" protobuf serialized byte sequences against an expected proto.Message to report:
Package unknownproto implements functionality to "type check" protobuf serialized byte sequences against an expected proto.Message to report:
collections module
core module
hd
Package hd provides support for hierarchical deterministic wallets generation and derivation.
Package hd provides support for hierarchical deterministic wallets generation and derivation.
keyring
Package keyring provides common key management API.
Package keyring provides common key management API.
keys/bcrypt
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
keys/internal/ecdsa
Package ECDSA implements Cosmos-SDK compatible ECDSA public and private key.
Package ECDSA implements Cosmos-SDK compatible ECDSA public and private key.
keys/secp256r1
Package secp256r1 implements Cosmos-SDK compatible ECDSA public and private key.
Package secp256r1 implements Cosmos-SDK compatible ECDSA public and private key.
daemon
algod/api/server/v2/generated/openapi_types
Package openapi_types contains type definitions for the OpenAPI generator
Package openapi_types contains type definitions for the OpenAPI generator
depinject module
errors module
indexer
postgres module
internal
conv
Package conv provides internal functions for conversions and data manipulation
Package conv provides internal functions for conversions and data manipulation
cosmosreplacement
Package cosmosreplacement provides placeholder implementations for Cosmos SDK functionality
Package cosmosreplacement provides placeholder implementations for Cosmos SDK functionality
log module
math module
schema module
server module
grpc/reflection/v2alpha1
Package v2alpha1 is a reverse proxy.
Package v2alpha1 is a reverse proxy.
v2/appmanager module
v2/cometbft module
v2/stf module
v2
Package std defines all the common and standard inter-module depin-sdk types and definitions modules and applications can depend on.
Package std defines all the common and standard inter-module depin-sdk types and definitions modules and applications can depend on.
store module
cli
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
sims
Package sims provides replacement functionality for Cosmos SDK simulation
Package sims provides replacement functionality for Cosmos SDK simulation
x/counter/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
bech32/legacybech32
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.
errors
Package errors provides a shared set of errors for use in the SDK, aliases functionality in the cosmossdk.io/errors module that used to be in this package, and provides some helpers for converting errors to ABCI response code.
Package errors provides a shared set of errors for use in the SDK, aliases functionality in the cosmossdk.io/errors module that used to be in this package, and provides some helpers for converting errors to ABCI response code.
kv
module
Package module contains application module patterns and associated "manager" functionality.
Package module contains application module patterns and associated "manager" functionality.
tx
Package tx is a reverse proxy.
Package tx is a reverse proxy.
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/ante/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
auth/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
auth/tx/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
auth/types
Package types is a reverse proxy.
Package types is a reverse proxy.
auth/vesting/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
genutil
Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
genutil/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
genutil/v2
v2 contains logic and CLI used for genutil by server/v2 / runtime/v2 applications.
v2 contains logic and CLI used for genutil by server/v2 / runtime/v2 applications.
simulation
Package simulation implements a full fledged depin-sdk application used for executing simulation test suites.
Package simulation implements a full fledged depin-sdk application used for executing simulation test suites.
bank module
staking module
tx module

Jump to

Keyboard shortcuts

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