Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmrs v0.3.0 #150

Merged
merged 1 commit into from
Oct 29, 2021
Merged

cosmrs v0.3.0 #150

merged 1 commit into from
Oct 29, 2021

Conversation

tony-iqlusion
Copy link
Member

Added

  • Associated Proto type to Msg trait - formerly named MsgType (#146)
  • from_any/to_any methods to Msg trait - formerly named MsgType (#146)
  • /cosmos.crypto.multisig.LegacyAminoPubKey support (#147)
  • SignerPublicKey enum for SignerInfo::public_key (#147)

Changed

  • Bump tendermint-rs crates to v0.23 (#144)
  • Bump prost crates to v0.9 (#144)
  • Bump tonic to v0.6 (#144)
  • MSRV 1.56 (#144)
  • Renamed tx::MsgType trait to tx::Msg (#146)
  • Renamed MsgProto::from_msg/to_msg to from_any/to_any(#146)
  • Bump cosmos-sdk-proto to v0.8 (#149)

Removed

  • tx::Msg newtype for prost_types::Any. Use Any instead (#146)

//! # Cosmos SDK for Rust
//!
//! Framework for building [Cosmos] blockchain applications in Rust, modeled off
//! of the [Cosmos SDK for Golang].
//!
//! ## About
//!
//! This library is presently designed to serve as a *client* for interacting
//! with the Golang implementation of the Cosmos SDK.
//!
//! It does not implement server-side functionality (yet), such as hooks
//! and message passing.
//!
//! ## Features
//!
//! - [CosmWasm][`cosmwasm`]: messages used by smart contracts written using CosmWasm
//! - [Staking][`staking`]: support for staking with validators
//! - [Transactions][`tx`]: build, sign, and/or parse Cosmos SDK transactions
//!
//! [Cosmos]: https://cosmos.network/
//! [Cosmos SDK for Golang]: https://github.com/cosmos/cosmos-sdk

#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: gave this crate the include_str! treatment as well. Here's a rendered screenshot of the docs:

Screen Shot 2021-10-28 at 3 36 43 PM

Copy link

@andynog andynog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, minor comment

@@ -1,4 +1,4 @@
# CosmRS: Cosmos SDK for Rust
# CosmRS: Cosmos Wallet and SDK for Rust
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we say it's a wallet ? Are there functionalities to build wallets yet in the library other than account ?

Thinking that this might still need some Wallet constructs that take mnemonics etc to build the wallets no ? Something like https://github.com/forbole/cosmos-rust-wallet/tree/main/packages/crw-wallet

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CosmRS has had BIP32 support for awhile now. It's perhaps a bit underdocumented.

From the 0.1.0 release:

https://docs.rs/cosmrs/0.1.0/cosmrs/crypto/secp256k1/struct.SigningKey.html#method.derive_from_path

Screen Shot 2021-10-29 at 8 19 14 AM

@tony-iqlusion tony-iqlusion merged commit 7b08d23 into main Oct 29, 2021
@tony-iqlusion tony-iqlusion deleted the cosmrs/v0.3.0 branch October 29, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants