MAST with OP_EVAL and OP_CAT



Summary:

The concept of Merkleized Abstract Syntax Trees (MAST) implementation using only OP_CAT and OP_EVAL (BIP12) has been proposed. The idea is inspired by Pieter's Tree Signatures, where a scriptSig and scriptPubKey are used to run the 10th sub-script out of 11 sub-scripts in the MAST. The proposed implementation suggests enabling OP_CAT inside OP_EVAL for a pure softfork. This approach seems to be the easiest way to implement MAST since the reference implementation for BIP12 already exists.


Updated on: 2023-06-10T22:16:35.529637+00:00