Skip to main content

Crate hns_wallet_chain_api

Crate hns_wallet_chain_api 

Source
Expand description

Capability-separated wallet chain interfaces.

Structs§

AccountFeePolicy
AuthorizeSend
AuthorizedSend
BroadcastReceipt
BroadcastSend
HtlcLockRequest
HtlcRedeemRequest
HtlcRefundRequest
MarketLockRequest
MarketRedeemRequest
MarketRefundRequest
ModuleRegistry
Runtime-owned capability registry. Registration is explicit and rejects a second implementation for the same module instead of silently replacing a funds-bearing backend.
ObservePreimageRequest
Preimage
PreparedArtifact
PreparedHtlcLock
PreparedHtlcRedeem
PreparedHtlcRefund
PreparedMarketLock
PreparedMarketRedeem
PreparedMarketRefund
PreparedSend
PreparedSettlementLock
PreparedSettlementRedeem
PreparedSettlementRefund
SendRequest
SettlementCapabilities
SettlementLockExpectation
SettlementLockRequest
SettlementRedeemRequest
SettlementRefundRequest
SwapRecoveryHtlcParameters
SwapRecoveryPublication
SwapRecoveryTerms
Public data sufficient to rebuild both exact contracts and the seed-derived authorities. Network binding is supplied by the independently authenticated wallet chains and is included in the funding marker’s commitment. No offer journal, seed, signing scalar, or preimage is serialized.
Utxo
UtxoFeePolicy
VerifiedHtlcLock
VerifiedLock
VerifiedMarketLock
VerifiedSettlementLock
VerifyHtlcLockRequest
VerifyMarketLockRequest
VerifySettlementLockRequest

Enums§

ChainError
RegistryError
SettlementSigningError
SwapRecoveryPublicationError

Constants§

MAX_DESTINATION_BYTES
MAX_HISTORY_RESULTS
MAX_OPAQUE_TRANSACTION_BYTES
MAX_SWAP_RECOVERY_FRAMES
SWAP_RECOVERY_MARKER_BYTES

Traits§

AccountChainModule
AtomicSettlement
ChainModule
SettlementSigner
Non-exportable per-session secp256k1 signing authority shared by the two native HTLC adapters. Implementations expose only a compressed public key and a purpose-supplied 32-byte transaction digest; the private scalar never crosses the wallet boundary.
UtxoChainModule

Type Aliases§

ObserveSecretRequest