+
+
+
+
+ {liveTimeLockCells.map(({ cell, lock }) => (
+
+ ))}
+
+
+
+
+
+ );
+}
+
+function buildTimeLockArgs(
+ requiredScriptHash: ccc.HexLike,
+ lockedUntil: ccc.NumLike,
+) {
+ const lockedUntilBytes8 = ccc.numToBytes(lockedUntil, 8);
+ return ccc.bytesConcat(requiredScriptHash, lockedUntilBytes8);
+}
diff --git a/packages/demo/src/app/connected/page.tsx b/packages/demo/src/app/connected/page.tsx
index b61cd512..e0707069 100644
--- a/packages/demo/src/app/connected/page.tsx
+++ b/packages/demo/src/app/connected/page.tsx
@@ -16,6 +16,12 @@ const TABS: [ReactNode, string, keyof typeof icons, string][] = [
"LampWallDown",
"text-yellow-500",
],
+ [
+ "Time Locked Transfer",
+ "/connected/TimeLockedTransfer",
+ "Clock",
+ "text-amber-500",
+ ],
["Transfer xUDT", "/connected/TransferXUdt", "BadgeCent", "text-emerald-500"],
["Issue xUDT (SUS)", "/connected/IssueXUdtSus", "Rss", "text-sky-500"],
[