Interacting with Smart Contracts
Multi-party signed address
Multi-party signed address is a contract address that requires one or more parties to sign during the process of transaction.
To create a multi-party signed address:
From NEO-GUI, right-click on the account area and select
Create Contract Address->
In the public key list, enter the public keys used for signing.
Specify the minimal number of signatures.
The contract address is created and displayed in the account page.
A lock contract specifies a time stamp for the account. Any assets in the account cannot be transferred out until the specified time arrives.
There are two options to create a lock contract:
- Write the contract by yourself, refer to Lock Contract Tutorial.
- Use NEO-GUI to create the contract, which will be descried in the following section.
Creating a lock contract
- From NEO-GUI, create a wallet.
- Right-click on the blank area of the account page, and then click
Create Contract Add->
- Select the account and specify the unlock date. Click
The new contract address is created on the page. Right-click on the contract address and select
View Contact，you can view the contract address and script.
Verifying lock contract script
You can verify if a lock contract script is standard and valid using http://lockverify.azurewebsites.net/.
The following screenshot shows a normal verification result which displays the lock contract address and unlock time.
If the script inputted is not correct, an error is displayed.
Deploying and invoking smart contracts
For the smart contracts you have compiled, you can depoy and invoke them in the NEO blockchain using NEO-GUI. For more information, refer to deploying and invoking smart contracts.