Package-level declarations

Types

Link copied to clipboard
@ThreadSafe
object DustKeyDeriver

JNI bridge to Midnight's Rust cryptography for deriving dust keys.

Link copied to clipboard

JNI bridge to Midnight's Rust DustLocalState for managing dust wallet state.

Link copied to clipboard
data class DustParameters(val nightDustRatio: Long, val generationDecayRate: Int)

Parameters for Dust generation and decay.

Link copied to clipboard
data class DustSpend(val feeAmount: BigInteger, val oldNullifier: String, val newCommitment: String, val proof: String? = null)

Represents spending a Dust token to pay transaction fees.

Link copied to clipboard
sealed class DustSpendError : Exception

Error types for dust spending operations.

Link copied to clipboard
data class DustToken(val initialValue: BigInteger, val owner: String, val nonce: String, val sequenceNumber: Int, val creationTime: Long, val backingNight: String, val merkleTreeIndex: Long, val pendingUntil: Long? = null)

Represents a Dust UTXO (Unspent Transaction Output) in the wallet.