Crate moksha_core
source ·Modules§
- This module defines the
Amount
andSplitAmount
structs, which are used for representing and splitting amounts in Cashu. - This module defines the
BlindedMessage
andBlindedSignature
structs, which are used for representing blinded messages and signatures in Cashu as described in Nut-00 - This module defines the basic crypto primitives for Blind Diffie-Hellman Key Exchange (blind ecash).
- This module defines the
MokshaCoreError
enum, which represents the possible errors that can occur in the Moksha Core library. - This module defines helper functions for loading fixtures in tests.
- This module defines the
MintKeyset
andKeysets
structs, which are used for managing keysets in Cashu as described in Nut-02 - This module contains all the request and response objects that are used for interacting between the Mint and Wallet in Cashu. All of these structs are serializable and deserializable using serde.
- This module defines the
Proof
,P2SHScript
, andProofs
structs, which are used for representing proofs in the Moksha Core library as described in Nut-00 - This module defines the
Token
struct, which is used for representing tokens in Cashu as described in Nut-00