rooch-network / rooch

VApp Container with Move Language
https://rooch.network
Apache License 2.0
128 stars 54 forks source link

[bitcoin-move] Implement Bitcoin script interpreter in Move #1651

Open jolestar opened 2 weeks ago

jolestar commented 2 weeks ago

Motivation

If a UTXO is locked via a script, not a public key or public key hash. The UTXO Objet in Rooch is owned by the system address.

If the developer wants to provide a method to handle the UTXO, they need an approach to unlock the UTXO.

So, we must provide the Bitcoin script interpreter in Move and enable the Move & Bitcoin script mix programming.

Use case

  1. Unlock UTXO(multi-sign, no-standard script)
  2. Support Taproot script and BitVM

Reference