bp-std icon indicating copy to clipboard operation
bp-std copied to clipboard

Support taproot script-path spendings

Open crisdut opened this issue 2 years ago • 5 comments

Description

Currently, the TapTree::merkle_root is not implemented. This causes error during transfer creation step in RGB v0.11:

RGB: command-line wallet for RGB smart contracts
     by LNP/BP Standards Association

Loading descriptor from wallet default ... success
Loading stock ... success
thread 'main' panicked at 'not yet implemented', /bp-std/derive/src/taptree.rs:144:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Type: bug Version: https://github.com/BP-WG/bp-std/commit/a2005978df1078c3ea55c11db27693c9cd5a9052

crisdut avatar Dec 22 '23 05:12 crisdut

Partially closed in 4a234b94136613f1f5ef8d409fed2829f0d8e346

dr-orlovsky avatar Dec 24 '23 21:12 dr-orlovsky

I'm going to close this issue, okay?

crisdut avatar Dec 26 '23 10:12 crisdut

Nope - script part is not yet implemented.

dr-orlovsky avatar Dec 26 '23 17:12 dr-orlovsky

Does this issue also cover the addition of a tapret commitment to a non-empty taptree, in which a nonce is used to ensure unique position of the tapret leaf as described in LNPBP12?

St333p avatar Oct 29 '24 15:10 St333p

@St333p Basically this issue is because there is no taproot implementation for script path spendings. So this is unrelated to RGB - it is just the fact that RGB when tries to build taproot tree fails (since it is not yet supported)

dr-orlovsky avatar Oct 31 '24 14:10 dr-orlovsky