Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 3.29 KB

README.md

File metadata and controls

57 lines (43 loc) · 3.29 KB

Secret Rust

An extension of Cosmos Rust for Secret.

Crates

Name Description crates.io docs.rs CI Build
secretrs Secret SDK for Rust crates.io docs.rs CI
secret‑sdk‑proto Proto and gRPC definitions crates.io docs.rs CI

Goals

  • use as much upstream stuff as possible from cosmos-rust
  • use tonic gRPC clients for everything
  • support gRPC-web client for wasm32 target
  • (bonus) gRPC-gateway client

Plan

  • proto-build crate like cosmos-rust and tendermint-rs each have
  • secret-sdk-proto crate that re-exports cosmos-sdk-proto and adds secret protobuf structs
  • secretrs crate that re-exports cosmrs and adds secret types, encryption tools
  • secret-grpc crate with full gRPC client implementation
  • secret-grpc-gateway crate with full gRPC-gateway (REST) client implementation

Building Proto files from source

The proto-build crate in this repo clones and rebuilds proto files for all other crates, simply make the required edits in main.rs and run

cargo run

Minimum Supported Rust Version

Rust 1.72