Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.41 KB

File metadata and controls

33 lines (27 loc) · 1.41 KB
title Timelock
description Lockup some token to be claimed by another user under set conditions.
sidebar_position 110
<title> {`Lockup some token to be claimed by another user under set conditions`} </title>

The timelock example demonstrates how to write a timelock and implements a greatly simplified claimable balance similar to the claimable balance feature available on Stellar.

Open in Codespaces

Open in Codeanywhere

The contract accepts deposits of an amount of a token, and allows other users to claim it before or after a time point.