Go to file
Marie 320a852ee2
PubKey proto types (#7147)
* WIP on protobuf keys

* Use Type() and Bytes() in sr25519 pub key Equals

* Add tests

* Add few more tests

* Update other pub/priv key types Equals

* Fix PrivKey's Sign method

* Rename variables in tests

* Fix infinite recursive calls

* Use tm ed25519 keys

* Add Sign and VerifySignature tests

* Remove ed25519 and sr25519 references

* proto linting

* Add proto crypto file

* Implement some of the new multisig proto type methods

* Add tests for MultisigThresholdPubKey

* Add tests for pubkey pb/amino conversion functions

* Move crypto types.go and register new proto pubkeys

* Add missing pointer ref

* Address review comments

* panic in MultisigThresholdPubKey VerifySignature

* Use internal crypto.PubKey in multisig

* Add tests for MultisigThresholdPubKey VerifyMultisignature

* Only keep LegacyAminoMultisigThresholdPubKey and move to proto keys to v1

* Remove conversion functions and introduce internal PubKey type

* Remove old secp256k1 PubKey and PrivKey

* Uncomment test case

* Fix linting issues

* More linting

* Revert tests keys values

* Add Amino overrides to proto keys

* Add pubkey test

* Fix tests

* Use threshold isntead of K

* Standardize Type

* Revert standardize types commit

* Add comment

* Simplify proto names

* Add comment about multisig codec

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-16 11:08:55 +00:00
.circleci fix docs build failure (#6633) 2020-07-07 19:56:01 +02:00
.github pipe go test -race output into tparse (#7309) 2020-09-16 10:31:14 +01:00
baseapp Merge PR #7265: Tendermint Block Pruning 2020-09-14 10:12:49 -04:00
client enable -race on go test (#7305) 2020-09-15 10:43:46 +01:00
codec PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
contrib proto tools install script (#7294) 2020-09-14 14:30:12 +01:00
cosmovisor feat: allow "any" to specify a "binary" with no arch/os deps (#7230) 2020-09-14 21:32:10 +00:00
crypto PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
docs Removing an incomplete sentence. (#7313) 2020-09-16 08:57:38 +00:00
proto PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
scripts Add swagger for gRPC REST (#7075) 2020-08-28 18:49:08 +00:00
server enable -race on go test (#7305) 2020-09-15 10:43:46 +01:00
simapp Merge PR #7265: Tendermint Block Pruning 2020-09-14 10:12:49 -04:00
snapshots test: fix data race in snapshots.ChunkReader test (#7299) 2020-09-14 14:00:08 +01:00
std PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
store Merge PR #7265: Tendermint Block Pruning 2020-09-14 10:12:49 -04:00
telemetry Minor Code Cleanup - gRPC queries (#6862) 2020-07-28 12:53:35 +00:00
tests rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
testutil enable -race on go test (#7305) 2020-09-15 10:43:46 +01:00
third_party/proto Merge PR #7251: Cleanup of evidence types 2020-09-08 09:33:53 -07:00
types Remove UNINITIALIZED usage from connection and channel (#7297) 2020-09-14 21:41:23 +00:00
version testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
x PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
.clang-format Add proto formatting tool (#7266) 2020-09-08 22:06:54 +00:00
.codecov.yml test delay for codecov (#7134) 2020-08-21 15:38:40 +01:00
.dockerignore
.gitattributes Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
.gitignore update .gitignore (#7325) 2020-09-16 11:08:42 +01: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 add changelog entry for 0.39.1 (#7321) 2020-09-16 09:00:40 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Stable Releases: Definition and Process (#6394) 2020-07-14 10:28:53 +02:00
Dockerfile Add flag & toml config for gRPC server (#6933) 2020-08-05 15:45:22 +00:00
LICENSE
Makefile enable -race on go test (#7305) 2020-09-15 10:43:46 +01: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
STABLE_RELEASES.md Stable Releases: Definition and Process (#6394) 2020-07-14 10:28:53 +02:00
buf.yaml Add Grpc gateway annotations (#6918) 2020-08-14 10:05:35 +00:00
build.sh Reproducible buildsystem (#7247) 2020-09-13 20:55:35 +01:00
docker-compose.yml buildsystem: simplify Makefile and ci automation (#7189) 2020-08-31 15:39:05 +02:00
go.mod Bump github.com/magiconair/properties from 1.8.2 to 1.8.3 (#7308) 2020-09-15 08:57:57 +00:00
go.sum Bump github.com/magiconair/properties from 1.8.2 to 1.8.3 (#7308) 2020-09-15 08:57:57 +00:00
snapcraft.yaml
snapcraft.yaml.in

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.