Go to file
Alessio Treglia a1feca39c2
Enter the new keyring interface (#5904)
crypto/keyring:

`Keybase` interface gives way to its successor: `Keyring`. `LegacyKeybase`
interface is added in order to guarantee limited backward compatibility with
the old `Keybase` interface for the sole purpose of migrating keys across
the new keyring backends.

The package no longer depends on the `github.com/types.Config`
singleton.

`SupportedAlgos` and `SupportedLedgerAlgos` methods have been removed.
The keyring just fails when trying to perform an action with an unsupported
algorithm.

crypto/ subdirs reorganization:

`crypto/keys/hd` was moved to `crypto/hd`, which now groups together
all HD wallets related types and utilities.

client/input:

* Removal of unnecessary `GetCheckPassword`, `PrintPrefixed` functions.
* `GetConfirmation`'s signature changed to take in a io.Writer for better integration
  with `cobra.Command` types.

client/context:

* In-memory keyring is allocated in the context when `--gen-only` flag is passed
  in. `GetFromFields` does no longer silently allocate a keyring, it takes one as
  argument.

Co-authored with @jgimeno

Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2020-04-08 11:38:28 +02:00
.circleci revert proto changes 2020-03-27 16:04:55 +01:00
.github x/staking: skip HistoricalInfo in simulations (#5949) 2020-04-07 22:33:30 +00:00
baseapp Fix tests 2020-03-26 12:50:39 -04:00
client Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
codec JSON Proto changes 2020-03-26 12:46:10 -04:00
contrib Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00
crypto Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
docs Merge PR #5894: ADR 021 - Protocol Buffer Query Support 2020-04-02 12:07:34 -04:00
scripts Merge PR #5491: Protobuf Introduction + Types 2020-01-24 10:32:00 -05:00
server Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
simapp x/staking: skip HistoricalInfo in simulations (#5949) 2020-04-07 22:33:30 +00:00
store x/staking: skip HistoricalInfo in simulations (#5949) 2020-04-07 22:33:30 +00:00
tests regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
third_party/proto Merge PR #5669: proto: update tendermint proto files 2020-02-20 11:38:07 +01:00
types types/rest: add convenience functions for error checking (#5900) 2020-04-01 09:50:22 +02:00
version Fix various linter warnings (#5824) 2020-03-18 12:59:08 +00:00
x Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
.codecov.yml types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
.dockerignore Add basic Dockerfile to build all binaries and export gaiad 2018-04-10 12:39:47 +02:00
.gitattributes Merge PR #3192: This is not a js repo :) 2018-12-26 20:16:25 +01:00
.gitignore Merge PR #4787: Updated docs build process 2019-08-26 09:09:18 -04:00
.golangci.yml lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
.mergify.yml Tweak mergify config 2020-03-01 16:18:22 +00:00
CHANGELOG.md Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CONTRIBUTING.md Merge PR #5392: Fix typos in the CONTRIBUTING.md 2019-12-12 10:46:14 -05:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
README.md Build with go1.14 (#5719) 2020-02-28 12:26:11 +00:00
SECURITY.md update SECURITY.md (#5377) 2019-12-16 16:24:37 -03:00
Vagrantfile Fix Makefile's all target (#3085) 2018-12-20 10:03:59 -08:00
buf.yaml Merge PR #5591: Ignore testdata 2020-01-30 11:26:16 -05:00
go.mod Bump github.com/tendermint/iavl from 0.13.2 to 0.13.3 (#5933) 2020-04-06 10:15:50 -04:00
go.sum run go mod tidy (#5937) 2020-04-06 17:40:35 +02:00
snapcraft.yaml replace dep with go mod (#3907) 2019-03-18 13:45:25 +01:00
snapcraft.yaml.in Autobuild snap (#3455) 2019-01-31 09:59:19 -08:00

README.md

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.14+

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 repository 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.

Scaffolding

If you are starting a new app or a new module we provide a scaffolding tool to help you get started and speed up development. If you have any questions or find a bug, feel free to open an issue in the repo.

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.