Go to file
frog power 4000 3fe5869148
Merge PR #4159: Module/Genesis Generalization
* first commit

* gaia cleanup

* ...

* staking multihooks

* missing module function return args

* bank module name constant

* working, module interface for x/

* got this thing compiling

* make test compiles and passes

* remove expanded simulation invariants

* genesis issue

* continued

* continued

* register crisis routes thought mm

* begin blocker to mm

* end blocker to mm

* empty routes not initialized

* move gaia initChainer sanity check to baseapp

* remove codecs from module manager

* reorging genesis stuff

* module manager passed by reference/bugfixes from working last commit

int

int

* move invariant checks from gaia to crisis

* typo

* basic refactors cmd/gaia/init

* working

* MultiStakingHooks from types to x/staking/types

int

* default module manager order of operations from input modules

* working

* typo

* add AppModuleBasic

* moduleBasicManager / non-test code compiles

* working attempting to get tests passing

* make test passes

* sim random genesis fix

* export bug

* ...

* genutil module

* genutil working

* refactored - happy with non-testing code in cmd/

* ...

* lint fixes

* comment improvement

* cli test fix

* compile housing

* working through compile errors

* working gettin' compilin'

* non-test code compiles

* move testnet to its own module

* reworking tests

int

* bez staging PR 1 comments

* concise module function-of names

* moved all tests from genesis_test.go to other genutil tests

* genaccounts package, add genutil and genaccounts to app.go

* docs for genutil genaccounts

* genaccounts iterate fn

* non-test code with genaccounts/ now compiles

* working test compiling

* debugging tests

* resolved all make test compile errors

* test debuggin

* resolved all unit tests, introduced param module

* cli-test compile fixes

* staking initialization bug

* code comment improvements, changelog entries

* BasicGaiaApp -> ModuleBasics

* highlevel explanation in types/module.go

* @alexanderbez comment revisions

* @fedekunze PR comments

* @alexanderbez PR comments (x2)

* @cwgoes comments (minor updates)

* @fedekunze suggestions

* panic on init with multiple validator updates from different modules

* initchain panic makes validate genesis fail

int

* AppModuleGenesis seperation

int

* test

* remove init panic logic in validate genesis replaced with TODO

* set maxprocs to match system's GOMAXPROCS

* Update circleci

* Cap maxprocs in CI to 4

* @alexanderbez recent comments addressed

* less blocks in twouble sims

int

* runsim error output flag

* -e on import_export as well

* error out

int

* Try to fix failures

* runsim
2019-05-16 11:25:32 -04:00
.circleci Merge PR #4344: set runsim's default maxprocs to match system's GOMAXPROCS 2019-05-16 01:54:07 -04:00
.github Merge PR #4221: Change sdkch to clog in docs 2019-04-29 10:32:01 -04:00
.pending Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
baseapp Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
client Merge PR #4333: Remove Shares from Client Responses 2019-05-15 10:44:47 -04:00
cmd/gaia Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
codec No packages must depend on cmd/gaia/ (#4048) 2019-04-04 15:36:39 +01:00
contrib R4R: Infrastructure for reproducible builds (#4262) 2019-05-14 00:33:34 +02:00
crypto Replace vet with golangci lint govet (#4277) 2019-05-06 17:50:05 +01:00
docs Merge PR #4343: Update go to 1.12.5 2019-05-15 11:17:20 -04:00
networks Merge PR #2866: URL fixed 2018-11-20 11:03:11 +01:00
scripts Merge PR #4343: Update go to 1.12.5 2019-05-15 11:17:20 -04:00
server server: run cleanupFunc before Exit (#4324) 2019-05-11 04:27:11 +02:00
store Merge PR #4265: CacheKVStore keep sorted items 2019-05-15 10:42:06 -04:00
tests Merge PR #3553: Code cleanup, take #1 2019-02-08 22:45:41 +01:00
types Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
version R4R: Infrastructure for reproducible builds (#4262) 2019-05-14 00:33:34 +02:00
x Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
.clog.yaml Move clog out of the repo (#4249) 2019-05-02 17:15:17 +01:00
.codecov.yml codecov: closes #334 2018-01-17 20:00:54 -05: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 #4023: Genesis port script v0.33.x to v0.34.0 2019-04-08 12:49:14 -04:00
.golangci.yml Replace vet with golangci lint govet (#4277) 2019-05-06 17:50:05 +01:00
CHANGELOG.md Merge PR #4293: Add changelog for v0.34.4 2019-05-07 11:21:48 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CONTRIBUTING.md Merge PR #4258: Contributing doc update 2019-05-06 15:32:19 -04:00
docker-compose.yml Merge PR #2899: Remove redundant $ 2018-11-26 11:26:05 +01:00
Dockerfile R4R: Infrastructure for reproducible builds (#4262) 2019-05-14 00:33:34 +02:00
go.mod Merge PR #4342: Upgrade to go-amino v0.15.0 2019-05-15 09:42:16 -04:00
go.sum Merge PR #4342: Upgrade to go-amino v0.15.0 2019-05-15 09:42:16 -04:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
README.md Merge PR #4343: Update go to 1.12.5 2019-05-15 11:17:20 -04:00
SECURITY.md Remove mismatch in specification section (for now) 2018-07-09 11:36:43 -07: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
Vagrantfile Fix Makefile's all target (#3085) 2018-12-20 10:03:59 -08:00
vendor-deps Merge PR #3965: Cherry pick docs update to develop 2019-03-22 13:53:37 -07:00

Cosmos SDK

banner

version CircleCI Snap Status 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.12+

Cosmos Hub Mainnet

To run a full-node for the mainnet of the Cosmos Hub, first install gaia, then follow the guide.

For status updates and genesis file, see the launch repo.

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

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.