nunchuk-io / nunchuk-desktop

GNU General Public License v3.0
75 stars 10 forks source link

Rust-miniscript descriptors import #29

Open evd0kim opened 1 year ago

evd0kim commented 1 year ago

Hello, I tried to import into nunchuck, and I failed, a descriptor of the form

wsh(t:or_c(pk(02a7d30ac6b0cd55b6868f5a65aff1dbdaa18f4315fe04de809fffb2899340ae0f),v:multi(1,tpubDBpAoACBVTeZGGeyQdjgHWCJC8hjfMHAwbkCfqnagyNHdkQKA8uTj3SpscLKzQ1SUjgzdih7uQji3uPwAaWjZT9GXECoUUqCNA5JXPvyNZm/1/1/*,02f17cce1778c101e3b0ac5c76997af3752b0a221b1ebffc23af679328f3f5d6fc,02350b5a9a12df96579d150f3f751de416e58a67f2ba9bc99f6964b7a48a79042b)))

which is valid in rust-miniscript library. Basically it does OR ( Masterkey, MULTI(1, KEY1, KEY2, KEY3) ).

I assume that by the Nunchuck such descriptor is considered as non-standard and wallet wont work with it, right? Do you have any plans about supporting arbitrary miniscripts?

bakaoh commented 1 year ago

yes, we have plans for supporting miniscripts!

evd0kim commented 1 year ago

Could you give any ETA for this feature? May be you have some branches in the repository you already work on?