All Products
Search
Document Center

Blockchain as a Service:Manage contract projects

Last Updated:Jul 21, 2023

Contract blockchains allow you to manage contract projects. The administrators can create, copy, and delete contract projects. After you create a project, you can edit, debug, and deploy the contract project files. For more information, see Cloud IDE Instructions.

Note

Only Solidity smart contracts are supported.

Go to the Project Management page

  1. In the BaaS console, click Contract Blockchain under Ant BlockChain , select a consortium, and click Manage to go to the Blockchain Management page.

  2. In the left-side navigation pane, click Project Management to go to the Consortium Contract Projects page. On this page, you can create, edit, copy, or delete contract projects.

Manage contract projects

Create contract projects

  1. Click Create Contract Project. In the dialog box that appears, enter the name, version, and description of the contract project. The version number can only contain letters, digits, and periods (.).

  2. After you enter the relevant information, click Start. The contract project appears on the Consortium Contract Projects page. Edit contract projects. For more information, see Cloud IDE Instructions.

Edit contract projects

Select a contract project and click Edit. The Cloud IDE page appears. For how to edit contract projects, see Cloud IDE Instructions.

Copy contract projects

  1. Click Copy in the Actions column of the corresponding contract project. In the dialog box that appears, enter the name, version, and description of the contract project. The version number can only contain letters, digits, and periods (.).

    Note

    When copying a contract project, if it has the same name as an existing project, the system will automatically rename it and add a serial number.

  2. Click Start to copy the contract project. You can edit the copied contract project in the project list.

Delete contract projects

  1. In the Actions column of the target contract project, click Delete.

  2. In the dialog box that appears, click OK to delete the specified contract.

    Note

    If a contract project is deleted, it cannot be recovered.