cosmos-sdk

module
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0

README

Cosmos SDK

banner

version API Reference Rocket.Chat license LoC Go Report Card

Branch Tests Coverage
develop CircleCI codecov
master CircleCI codecov

WARNING: the libraries are still undergoing breaking changes as we get better ideas and start building out the Apps.

Note: Requires Go 1.9+

The Cosmos SDK is a platform for building multi-asset Proof-of-Stake cryptocurrencies, like the Cosmos Hub. It is both a library for building applications and a set of tools for securely interacting with them.

The goals of the SDK are to abstract away the complexities of building a Tendermint ABCI application in Golang and to provide a framework for building interoperable blockchain applications in the Cosmos Network.

It is inspired by capabilities-based security, and informed by years of wrestling with blockchain state machines.

The SDK is fast, safe, and easy-to-use. It is generic enough to be used to implement the state machines of other existing blockchains, like Bitcoin and Ethereum, allowing seamless integration with them and their data structures. It comes with batteries included, is easily extensible, and does not require developers to fork it to access any of its current or extended functionality. It provides both REST and command line interfaces for secure user interactions.

Applications in the Cosmos-SDK are defined in terms of handlers that process messages and read and write to a store. Handlers are given restricted capabilities that determine which parts of the store they can access. The SDK provides common data structures for Accounts, multi-asset Coins, checking signatures, preventing replay, and so on.

For more details on the design goals, see the SDK Guide

Prerequisites

Getting Started

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.
lcd
rpc
tx
examples
nolint
nolint
nolint
nolint
x
bank
nolint
nolint
ibc

Jump to

Keyboard shortcuts

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