Crate moksha_core

Source

Modulesยง

amount
This module defines the Amount and SplitAmount structs, which are used for representing and splitting amounts in Cashu.
blind
This module defines the BlindedMessage and BlindedSignature structs, which are used for representing blinded messages and signatures in Cashu as described in Nut-00
dhke
This module defines the basic crypto primitives for Blind Diffie-Hellman Key Exchange (blind ecash).
error
This module defines the MokshaCoreError enum, which represents the possible errors that can occur in the Moksha Core library.
fixture
This module defines helper functions for loading fixtures in tests.
keyset
This module defines the MintKeyset and Keysets structs, which are used for managing keysets in Cashu as described in Nut-02
primitives
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.
proof
This module defines the Proof, P2SHScript, and Proofs structs, which are used for representing proofs in the Moksha Core library as described in Nut-00
token
This module defines the Token struct, which is used for representing tokens in Cashu as described in Nut-00