secretkeylabs / sats-connect

Sats connect is a simple javascript library that connects apps to Bitcoin wallets
https://www.npmjs.com/package/sats-connect
98 stars 36 forks source link

Time-Lock Mechanism for UTXOs #109

Open stoXmod opened 4 months ago

stoXmod commented 4 months ago

We are currently developing a feature that involves a runes-locking mechanism using your APIs. However, we noticed that there isn't a method for implementing time locks on UTXOs either when they're created or transferred.

Requirement

Our goal is to add time locks to UTXOs to control their usability based on predefined conditions. The intended approach is to intercept received transactions and apply a time-lock script to the specific UTXOs we wish to lock.

Questions

Looking forward to your guidance and any resources you can provide!

emilcondrea commented 4 months ago

What are you trying to achieve? Why do you need time locks? Is this for etching & activation height of 84000 and ensuring they are not spent earlier?