diff --git a/Cargo.lock b/Cargo.lock index 60089b43..a83b1581 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -179,6 +179,22 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +[[package]] +name = "bip32" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2d0f0fc59c7ba0333eed9dcc1b6980baa7b7a4dc7c6c5885994d0674f7adf34" +dependencies = [ + "bs58", + "hkd32", + "hmac 0.11.0", + "k256", + "ripemd160", + "sha2", + "subtle", + "zeroize", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -211,6 +227,15 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "bs58" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +dependencies = [ + "sha2", +] + [[package]] name = "bumpalo" version = "3.7.1" @@ -370,6 +395,39 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" +[[package]] +name = "cosmos-sdk-proto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "676c5bae3939f3a7cbda3ff160fdcf85bbc997cb95dde092c2709099077564d8" +dependencies = [ + "prost", + "prost-types", + "tendermint-proto", +] + +[[package]] +name = "cosmrs" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f3e08699be80cce88bcfd87a3c87628a7b4cd5a52362816ba9f3712fedbf34c" +dependencies = [ + "bip32", + "cosmos-sdk-proto", + "ecdsa", + "eyre", + "getrandom 0.2.3", + "k256", + "prost", + "prost-types", + "rand_core 0.6.3", + "serde", + "serde_json", + "subtle-encoding", + "tendermint", + "thiserror", +] + [[package]] name = "cpufeatures" version = "0.2.1" @@ -923,6 +981,7 @@ checksum = "84f2a5541afe0725f0b95619d6af614f48c1b176385b8aa30918cfb8c4bfafc8" dependencies = [ "hmac 0.11.0", "once_cell", + "pbkdf2", "rand_core 0.6.3", "sha2", "zeroize", @@ -2417,6 +2476,7 @@ dependencies = [ "bytes 0.5.6", "bytes 1.1.0", "chrono", + "cosmrs", "ed25519-dalek", "eyre", "getrandom 0.1.16", diff --git a/Cargo.toml b/Cargo.toml index b08573b7..8dbf1bdc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ abscissa_tokio = { version = "=0.6.0-pre.2", optional = true } bytes_v0_5 = { version = "0.5", package = "bytes" } bytes = "1" chrono = "0.4" +cosmrs = "0.2.1" ed25519-dalek = "1" eyre = "0.6" getrandom = "0.1"