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, at/above the BIP-65 500,000,000 split, a Unix timestamp — is reached, after which only the holder of the committed private key can spend them.
Pay-to-Template destination for a single time lock vault.
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