SDK Examples

Rust SDK

Rust SDK is much more complex since the entire Rusty Kaspa project is written in Rust. As such, the entire framework can serve as a reference.

A few key points can be found here:

  • Connecting to wRPC - examples and specificities about connecting via wRPC
  • wRPC client examples - examples on connecting to a Kaspa node using wRPC and executing RPC methods as well as subscribing to and processing notifications.
  • PSKT multisig example - a multisig example that uses PSKT primitives.
  • Kaspa Cli - a project that uses the Wallet subsystem as well as the RPC subsystem.
  • Kaspa NG - Kaspa NG is built using Rusty Kaspa SDK and is a good example of a full-fledged Rust application built using Rusty Kaspa.