Docs.rs
  • moksha-core-0.1.2
    • moksha-core 0.1.2
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ngutech21
    • Dependencies
      • anyhow ^1.0.75 normal
      • base64 ^0.21.2 normal
      • bitcoin_hashes ^0.12.0 normal
      • hex ^0.4.3 normal
      • itertools ^0.11.0 normal
      • rand ^0.8.5 normal
      • secp256k1 ^0.27.0 normal
      • serde ^1.0.189 normal
      • serde_json ^1.0.107 normal
      • serde_with ^3.4.0 normal
      • thiserror ^1.0.49 normal
      • url ^2.4.1 normal
      • anyhow ^1.0.75 dev
      • getrandom ^0.2.8 normal
    • Versions
    • 0.89% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

moksha_core0.1.2

Module model

  • Structs
  • Traits
  • Functions

In crate moksha_core

?
Change settings

Module moksha_core::model

source ·

Structs

  • Amount
  • BlindedMessage
  • BlindedSignature
  • CashuErrorResponse
  • CheckFeesRequest
  • CheckFeesResponse
  • Keysets
  • MintKeyset
  • P2SHScript
  • PaymentRequest
  • PostMeltRequest
  • PostMeltResponse
  • PostMintRequest
  • PostMintResponse
  • PostSplitRequest
  • PostSplitResponse
  • Proof
  • Proofs
  • SplitAmount
  • Token
  • TokenV3

Traits

  • TotalAmount

Functions

  • split_amount
    split a decimal amount into a vector of powers of 2