kaspa_wallet_pskt/
lib.rs

1//!
2//! PSKT is a crate for working with Partially Signed Kaspa Transactions (PSKTs).
3//! This crate provides following primitives: `PSKT`, `PSKTBuilder` and `Bundle`.
4//! The `Bundle` struct is used for PSKT exchange payload serialization and carries
5//! multiple `PSKT` instances allowing for exchange of Kaspa sweep transactions.
6//!
7
8pub mod bundle;
9pub mod error;
10pub mod global;
11pub mod input;
12pub mod output;
13pub mod pskt;
14pub mod role;
15pub mod wasm;
16
17mod convert;
18mod utils;
19
20pub mod prelude {
21    pub use crate::bundle::Bundle;
22    pub use crate::bundle::*;
23    pub use crate::global::Global;
24    pub use crate::input::Input;
25    pub use crate::output::Output;
26    pub use crate::pskt::*;
27
28    // not quite sure why it warns of unused imports,
29    // perhaps due to the fact that enums have no variants?
30    #[allow(unused_imports)]
31    pub use crate::role::*;
32}