UNPKG

@smartpy/timelock

Version:

Tezos Timelock

12 lines (11 loc) 385 B
interface ChestAndChestKey { chest: string; key: string; } declare const Timelock: { createChestAndChestKey: (payload: string, time: number) => ChestAndChestKey; createChestKey: (chest: string, time: number) => string; openChest: (chest: string, chest_key: string, time: number) => string; ensureHaclWasmLoaded: () => Promise<void>; }; export default Timelock;