-
Notifications
You must be signed in to change notification settings - Fork 124
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
cosmrs v0.3.0 #150
Conversation
//! # 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")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Added
Proto
type toMsg
trait - formerly namedMsgType
(#146)from_any
/to_any
methods toMsg
trait - formerly namedMsgType
(#146)/cosmos.crypto.multisig.LegacyAminoPubKey
support (#147)SignerPublicKey
enum forSignerInfo::public_key
(#147)Changed
tx::MsgType
trait totx::Msg
(#146)MsgProto::from_msg
/to_msg
tofrom_any
/to_any
(#146)cosmos-sdk-proto
to v0.8 (#149)Removed
tx::Msg
newtype forprost_types::Any
. UseAny
instead (#146)