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 thedefault_signer
module. - spark_
test_ utils
Macros§
- with_
handler_ lock - Macro to wrap handler functions with a global lock
Structs§
- Complete
Coop Exit Input - Input for completing a cooperative exit
- Request
Coop Exit Input - Input for requesting a cooperative exit
- Spark
Sdk - 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§
- Spark
Network - Spark Network. This is the network of the Spark Operators that the user chooses to connect to.