Skip to content

c1im4cu5/BitcoinTaproot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Taproot Implementation with Merkle Tree and Witness Path Spend

A basic implementation for two leaves in a merkle tree on Bitcoin. Witness path spend is also included for each leaf.

Leaf One OP_CODE structure

The first leaf is governed by a timelock and public key match. Once the timelock has expired, the assigned public key can withdraw the UTXO.

Leaf Two OP_CODE structure

The second leaf is structured with opcodes allowing a 2/3 signatures before accessing UTXO.

Releases

No releases published

Packages

No packages published