<!-- feature description --> As part of taproot upgrade for Shinigami, we will need a way to compute the root hash of a tapscript. This will allow us to verify taproot leaves #### References - [Shinigami taproot root_hash](https://github.com/keep-starknet-strange/shinigami/blob/d509dfeee923dd811ac299b24761f1a03b097620/packages/engine/src/taproot.cairo#L83C1-L84C18) - [Btcd implementation](https://github.com/btcsuite/btcd/blob/24eb815168f49dea84767817717a11bd7928eb23/txscript/taproot.go#L154)