Crate spark_rust

Source
Expand description

§Spark Wallet SDK

This crate forms a complete wallet with all necessary Spark utilities.

Modules§

error
Error handling for the Spark Wallet SDK
rpc
RPC client implementation for connecting to Spark Operators
signer
This module contains the signer implementation for the Spark Wallet SDK. To implement a new signer, you need to implement the traits::Signer trait. The default signer is implemented in the default_signer module.
spark_test_utils

Macros§

with_handler_lock
Macro to wrap handler functions with a global lock

Structs§

CompleteCoopExitInput
Input for completing a cooperative exit
RequestCoopExitInput
Input for requesting a cooperative exit
SparkSdk
The main interface for the Spark wallet SDK
Transfer
This structure represents a Spark transfer. It is returned when a transfer is initiated, or when querying pending transfers.

Enums§

SparkNetwork
Spark Network. This is the network of the Spark Operators that the user chooses to connect to.