If you want to send an asset to the other on the Neo blockchain and ask the other person to be unable to use the asset for a specified period of time.
How do we do that?
Receiver:
You need to create an lock account via neo-gui, then send Redeem Script and Address to sender.
-
Open neo-gui and create/open your wallet.
-
Right-click in a blank place,
Create Contract Add.
Lock...
-
Select your Account and Unlock Date, then click
Create
. -
Now you can see a Contract Address in your wallet. Righ click this Address,
View Contract
,and copy Redeem Script and Address to sender.
Sender:
-
Open http://lockverify.azurewebsites.net/ and paste Redeem Script in textbox.
-
Click
Verify
-
If the Redeem Script is not correct lock contract, it will be alert error.
-
If the Redeem Script is correct lock contract, you can see Unlock date and Address.
-
Compare this address to the address which sender gave you.
Once everything is in place, the sender can send assets to the lock address. No assets (Neo,gas, and other assets) in this address can be transferred until the unlock date. After the date, the recipient can transfer the assets freely.