Skip to content

luxfi/sdk-rs

Repository files navigation

lux-sdk-rs

Rust SDK for the Lux blockchain. Wraps native libraries with idiomatic Rust types.

Crates

Crate Description
lux-crypto Post-quantum cryptography (ML-KEM-768, ML-DSA-65)
lux-fhe Fully homomorphic encryption (boolean gates, integer ops)
lux-precompile EVM precompile dispatch
lux-accel GPU-accelerated tensor operations (Metal, CUDA, Vulkan)
lux-consensus-sdk Quasar consensus engine (Wave, FPC, Photon, Focus)

Architecture

Each crate wraps a native -sys FFI crate that lives in the corresponding Go repo:

  • luxcrypto-sys -- luxfi/crypto/bindings/rust
  • luxfhe-sys -- luxfi/fhe/bindings/rust
  • luxprecompile-sys -- luxfi/precompile/bindings/rust
  • lux-consensus -- luxfi/consensus/pkg/rust

The SDK crates provide: error enums, Result types, safe wrappers, and documentation.

Build

Requires the native shared libraries to be built first. See each repo for build instructions.

cargo check --workspace
cargo test --workspace

License

MIT

About

Rust SDK for the Lux blockchain

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages