Skip to main content

Timelock Funds in Transfers

With Stardust, you can lock funds away based on time. When an output has a Timelock Unlock Condition defined, not even its rightful owner can unlock it before the timelock expires. Just like in the case of transaction C and transaction D, the notion of time in the ledger is determined by the timestamp of the milestone that confirms the transaction.

Example Transaction

Transaction E creates an output owned by the recipient but timelocked until May 24 2022 18:00:00.

Transaction E - Sending funds with timelock

The recipient has no way to unlock the output before the deadline. Once the timelock expired, the funds can be moved, as depicted on Transaction F.

Transaction F - Recipient unlocks timelocked funds