Installation
We provide the Rust SDK for developing secure threshold cryptography projects in Rust.
Obtaining Credentials
To obtain the necessary credentials for accessing the Sodot Rust SDK, use our guide here.
Rust
To use the SDK in your Rust project:
- Add the following to your
Cargo.toml:
[dependencies]
sodot-mpc = { version = "<version>", registry = "sodot" } # Replace with the desired version
-
Make sure that you have a valid Relay API key provided by the Sodot team.
-
Build your project with Cargo:
cargo build