diff --git a/bip-tap.mediawiki b/bip-tap.mediawiki index 65d342b5..1c72e8cb 100644 --- a/bip-tap.mediawiki +++ b/bip-tap.mediawiki @@ -212,12 +212,13 @@ asset ID. A given Taproot Asset tree is composed of two nested MS-SMT instances: The root hash of an asset tree, observing [[../master/bip-0341.mediawiki|BIP-341]] is represented as a Tapscript tree that commits to a single unique leaf of: -* tagged_hash("TapLeaf", leaf_version || taproot_asset_marker || taproot_asset_version || asset_tree_root) +* tagged_hash("TapLeaf", leaf_version || taproot_asset_marker || asset_tree_root || sum_value) where: * taproot_asset_marker is the sha256 hash of the ascii string "taproot-assets". * taproot_asset_version is the version of the Taproot Assets system which defines how the remainder of the commitment value is to be interpreted. -* asset_tree_root is a 40 byte (32 byte for hash, 8 bytes for value) MS-SMT root. +* asset_tree_root is the 32-byte sha256 root hash of the asset tree. +* sum_value is the 8-byte sum of the amt values of each of the asset leaves. A leaf_version of ??? is selected. From the PoV of the Bitcoin @@ -438,7 +439,7 @@ tranches of the same asset) or collectibles. * asset_id is the 32-byte asset ID specified above * left_hash is the hash of the left sub-tree. * right_hash is the hash of the right sub-tree. -* amt_sum is the sum of the amt values of each of the asset leaves (essentially asset UTXOs). +* sum_value is the sum of the amt values of each of the asset leaves (essentially asset UTXOs). Committing to the total sum of the asset values in a given asset sub-tree for a given asset allows asset holders to easily prove how much of a given asset they