Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze the use of NEO Lock contract

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to analyze the use of NEO lock contracts, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

If you want to send an asset to someone else on the NEO block chain and agree on an unlocking time, the other party cannot use the asset before the unlocking time, and the other party is free to transfer the asset after the unlocking time arrives.

How do we do this?

Recipient:

First you need to create a lock contract using neo-gui, and then send the contract address and contract script to the sender.

1. Open neo-gui and create / open a wallet.

two。 Right-click outside the blank and create the contract address (A) Lock (L).

3. Select your account and unlock date, and then click create.

4. Now, you can see that there is an additional contract address in your account, right-click this address, click, view the contract, and then send the address and script to the sender.

Sender:

1. Open http://lockverify.azurewebsites.net/ and paste the contract script sent by the other party in the text box.

two。 Click Verify

3. If the contract script is incorrect, an error will be prompted here.

4. If the contract is a standard lock contract, you can see the unlock date and the contract address here.

5. Compare whether the contract address is the same as the one sent to you by the recipient.

When everything is in place, the sender can send the asset to the lock address. Any assets in this address (NEO,GAS, and other assets) cannot be transferred until the unlocking date. After the unlocked date, the recipient is free to transfer the asset.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 253

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report