cdk-spilman 0.17.6

Standalone Spilman payment channels library for Cashu
Documentation
//! Core string-oriented functions used by the language bindings.

use super::{
    compute_channel_secret as ecdh, ChannelParameters, CommitmentOutputs,
    DeterministicOutputsForOneContext, EstablishedChannel, KeysetInfo, SpilmanChannelSender,
};
#[cfg(feature = "wallet")]
use cashu::dhke::construct_proofs as dhke_construct_proofs;
#[cfg(feature = "wallet")]
use cashu::nuts::{BlindSignature, BlindSignatureDleq};
use cashu::nuts::{CurrencyUnit, Id, Keys, Proof, PublicKey, SecretKey, SwapRequest, Token};
#[cfg(feature = "wallet")]
use cashu::secret::Secret;
use cashu::util::{hex, unix_time};
use cashu::Amount;
use std::collections::BTreeMap;
use std::str::FromStr;

mod basic;
mod funding;
mod signing;
mod tokens;

pub use basic::*;
pub use funding::*;
pub use signing::*;
pub use tokens::*;