# Functions
BuildGenesisTx constructs a virtual transaction and prevOut that represent the genesis state transition for a grouped asset.
EstimateFee provides a worst-case fee and vsize estimate for a transaction built from the given inputs and outputs.
FlipParity turns the given public key from even to odd parity or vice versa.
InputAssetPrevOut returns a TxOut that represents the input asset in a Taproot Asset virtual TX.
InputKeySpendSigHash returns the signature hash of a virtual transaction for a specific Taproot Asset input that can be spent through the key path.
InputPrevOutFetcher returns a Taproot Asset input's `PrevOutFetcher` to be used throughout signing.
InputScriptSpendSigHash returns the signature hash of a virtual transaction for a specific Taproot Asset input that can be spent through the script path.
No description provided by the author
PayToAddrScript constructs a P2TR script that embeds a Taproot Asset commitment by tweaking the receiver key by a Tapscript tree that contains the Taproot Asset commitment root.
PayToTaprootScript creates a pk script for a pay-to-taproot output key.
VirtualTx constructs the virtual transaction that enables the movement of an asset representing an asset state transition.
# Variables
ErrInputMismatch represents an error case where an asset's set of inputs mismatch the set provided to the virtual machine.
ErrInvalidScriptVersion represents an error case where an asset input commits to an invalid script version.
ErrNoInputs represents an error case where an asset undergoing a state transition does not have any or a specific input required.
# Structs
GroupTxBuilder is an implementation of the asset.GenesisTxBuilder interface that constructs virtual transactions for grouped asset genesis.
No description provided by the author
# Interfaces
Signer is the interface used to compute the witness for a Taproot Asset virtual TX.
TxValidator is the interface used to validate an asset transfer with the Taproot Asset VM.
WitnessValidator is the interface used to validate the witnesses of an asset transfer.