RGB-WG / rgb-std

RGB standard libs for WASM & low-level integrations (no FS/networking)
https://rgb.tech
Apache License 2.0
66 stars 30 forks source link

Allow to pay from both tapret and opret inputs #256

Closed dr-orlovsky closed 2 months ago

dr-orlovsky commented 2 months ago

This is an enhancement over #246 which allows to spend from both opret and tapret inputs at the same time.

I am not sure whether it is worth adding it since it adds a lot of code and logic complexity - or is it just better to stick with UX-based solution I have described in https://github.com/RGB-WG/rgb-std/issues/246#issuecomment-2284812331

dr-orlovsky commented 2 months ago

Thank you. I was a bit worried since at this stage I am really opposing adding new logic.

Btw, this also allows spending from tapret inputs from opret wallets - and should also work for NfTs with combined taprets/oprets. So yes, this is a completion of huge epic we had since last October.