Go to file
Aaron Craelius 712d23740f
Migrate x/auth cmd's to TxGenerator marshaling (#6391)
* Migrate encode, decode, and broadcast cmd's to use TxGenerator marshal methods

* Fix tests, add EncodingConfig

* Add simapp/encoding.go and wire up with simcli

* add godocs

* fix tests

* Debugging CLI Tests

* Fix integration test

* 6391 - lint issues and code coverage (#6414)

* fixed lint issue of "txEncodeRespStr"

* added tests for encode.go

* WIP: added tests for decode.go

* added txEncoder at bytes

* updated decode test

* updated txBytes to use TxEncoder in decoder test

* added a require after TxEncoder

* removed file save

* debug decode command

* fixed decode tests

* added decode cli

* updated encode and decode in a single file

* separated decode test from encode test

* review changes

* removed register interface

* review change

* Fix tests

* WIP add test for tx sign

* removed commented code

* Fix flags

* WIP add test for sign

* Address review suggestions

* fixed command issue

* Add tests for TxEncoder

* Revert sign changes

* Fix TxEncoder tests

* Fix GetSign Cmd

* Add tx test

* Remove duplicate validation

* Add tests for TxDecoder

* Fix tests

* Fix tests

* Output to clientCtx.Output

* Fix cli_tests

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-18 20:29:41 +00:00
.circleci ci: remove swagger check (#6123) 2020-05-02 22:22:49 +02:00
.github Liveness CI Test (#6445) 2020-06-16 03:58:51 -04:00
baseapp Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
client Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
codec Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
contrib Liveness CI Test (#6445) 2020-06-16 03:58:51 -04:00
crypto Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
docs Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
networks/local Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
proto Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
scripts Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
server Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
simapp Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
std Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
store Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
telemetry Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
tests Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
third_party/proto Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
types Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
version Fix various linter warnings (#5824) 2020-03-18 12:59:08 +00:00
x Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00: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 #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
.gitignore Makefiles: various improvements (#6101) 2020-04-30 21:30:30 +02:00
.golangci.yml linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
.goreleaser.yml ci: automate release post tag push (#6230) 2020-05-25 20:02:08 +02:00
.mergify.yml Tweak mergify config 2020-03-01 16:18:22 +00:00
CHANGELOG.md rename blacklist to blocked (#6455) 2020-06-17 13:32:49 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CONTRIBUTING.md Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
README.md readme: add sourcegraph badge (#6362) 2020-06-07 17:08:19 -04:00
SECURITY.md update SECURITY.md (#6263) 2020-05-21 11:12:51 +02:00
Vagrantfile Fix Makefile's all target (#3085) 2018-12-20 10:03:59 -08:00
buf.yaml Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
docker-compose.yml Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
go.mod build(deps): bump github.com/prometheus/client_golang from 1.6.0 to 1.7.0 (#6465) 2020-06-18 17:12:20 +00:00
go.sum build(deps): bump github.com/prometheus/client_golang from 1.6.0 to 1.7.0 (#6465) 2020-06-18 17:12:20 +00: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

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.