Use an oracle to have a dynamic minimum_lock_time
while still having a constant script hash
#5
Labels
help wanted
Extra attention is needed
Right now
minimum_lock_time
is a compile-time constant to ensure we have a constant script hash. However, this isn't great because we may have to dynamically updateminimum_lock_time
for hololockers if Cardano hardforks to change the slot timeThe best way I can think of solving this is that instead of using a constant
minimum_lock_time
, we instead change it so that this value is fetched from a reference input. Unfortunately, doing this requires increasing contract complexity, and also developing a separate smart contract that manages the inline datum for this minimum_lock_time with some kind of DAO behind itThe text was updated successfully, but these errors were encountered: