Package-level declarations
Types
this class tracks and completes the spend of a single input of a transaction
Contracts have a UI; they need to display stuff and solicit user input. This defines a text-based interface into contracts. You can ask the WalletContract for a particular UI bu class via the WalletContract.ui function.
Wallet-facing half of the time lock vault: a non-interactive contract that locks coins to an address until a committed unlock value — a block height, or a Unix timestamp at/above the BIP-65 500,000,000 split — after which only the holder of the committed key can spend them.
Pay-to-Template destination for a single time lock vault: given a chain, an owner secret, an unlock value (block height, or Unix timestamp at/above the BIP-65 500,000,000 split) and a BIP-44 leaf index, it produces the locking script, the nexa: address, and the spend-time satisfier.
Which vault(s) of a time-lock factory a claim may spend. One TimeLockVault derives MANY vaults — one per HD leaf, each at its own address and unlock value — and they all share one contractId, so the scope is what tells a single-vault claim apart from a factory-wide sweep.
Properties
Functions
Given an invitation from someone else, call this function to begin the formation of a multi-party contract
Register the TimeLockVaultDestination deserializer so wallets can rehydrate spendables that carry one as their backingPayDestination. Call once at startup, after org.nexa.libnexakotlin.initializeLibNexa. Without this, any wallet that has signed a vault spend will throw "destination type not handled" on the next load.
Deserialize an InteractiveMultisigDestination
Create a InteractiveMultisigDestination, storing this object for later use since we really need one per destination to share communications channels
Deserializer factory for the DestinationDeserializer map. Reads a TimeLockVaultDestination from a disk-format byte stream.
Return an object of the expected Wallet Contract Interface