Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mast]

As part of the Taproot upgrade, Merklized Alternative Script Trees allow defining multiple alternative spending scripts for an output. Upon spending, only the script that was used needs to be revealed.

Filter by
Sorted by
Tagged with
2 votes
1 answer
42 views

Question about MAST tree in book "mastering bitcoin"

On page 174, 3th edition, book "mastering bitcoin", what does the following statement means? thanks "we could also have four commitments for the same cost." Do the four commitments ...
fa william's user avatar
3 votes
1 answer
153 views

How many recipients can fit in a single Ark shared output?

It's the only boundary the taproot/MAST limitation of 128 levels of the tree, ie. 2^128?
Marco Argentieri's user avatar
2 votes
0 answers
107 views

Why is the Taproot Merkle path length limited to 128?

From BIP341: Why is the Merkle path length limited to 128? The optimally space-efficient Merkle tree can be constructed based on the probabilities of the scripts in the leaves, using the Huffman ...
Vojtěch Strnad's user avatar
1 vote
0 answers
71 views

which wallets/softwares utilize taproot capabilites?

this question is not about being able to pay/receive to taproot addresses as I know there's a list for that here. I'm curious to see if anyone knows about wallets/software that utilize taproot ...
Ziya_Sadr's user avatar
2 votes
1 answer
65 views

Is it possible to spend multiple scripts of a MAST in a taproot output

Let's say we have a MAST with n scripts in the leaves, is it possible to require that two (or more) of the scripts must be revealed for the transaction to be spent?
sa8's user avatar
  • 75
2 votes
1 answer
99 views

Maximum number of possible MAST leaves

According to BIP-341, the control block can have a length of 33 + 32m, for a value of m that is an integer max 128. Does it mean it's possible to construct a MAST with 128 levels, making ...
Burak's user avatar
  • 186
2 votes
1 answer
243 views

Single-leaf script-path example

I'm searching for Taproot script-path examples and so far found a two-leaf example here. Is there any single-leaf construction on testnet or somewhere? I'm wondering if TapBranch calculation is ...
Burak's user avatar
  • 186
1 vote
1 answer
145 views

Where does a single script go in the Taproot tree of a script path spend?

If I only have a single script for the script path does the hash of the script get placed at the top of the Merkle tree (instead of the effective Merkle root) or does it get placed in level 1 of the ...
Michael Folkson's user avatar
7 votes
3 answers
2k views

What are Merklized Alternative Script Trees?

I have seen the acronym MAST floating around. I saw that it stands for Merklized Alternative Script Trees, but what does that mean? In what context do they appear and what can they be used for?
Murch's user avatar
  • 75.7k
5 votes
1 answer
286 views

I keep hearing about MAST, what is it and what does it do?

So, somebody asked me about MAST yesterday. Apparently, it's formalized in BIP114 – Merkelized Abstract Syntax Trees. I couldn't explain what it was and what advantages it'll bring us. What are ...
Murch's user avatar
  • 75.7k