Off-Narrative-Labs / Tuxedo

Write UTXO-based Substrate Runtimes
https://off-narrative-labs.github.io/Tuxedo/
Apache License 2.0
56 stars 17 forks source link

Bitcoin script `Verifier` #180

Open JoshOrndorff opened 7 months ago

JoshOrndorff commented 7 months ago

Bitcoin script is one of the (or probably the) most popular ways to program logic in UTXO chains. Implementing compatibility in Tuxedo would be a big step toward bitcoin wallet compatibility and would also allow many 2nd layer protocols like Farcaster or perhaps even lightning to run on top of a Tuxedo chain.

The right place to implement this would be as a Verifier. We coudl try to stick to something exactly like original bitcoin script / bitcoin network, or do something that is just basically compatible, or something that is a superset like the BCH script. Or even something like miniscript.

Or, really we could do all of those. Any one of them closes this issue.