10.2.1 Service publication of permissioned chains

1. Log in to BSN portal. Then go to 【Permissioned Services】->【Published Services】, and select “Online IDE”;

9.2.1-1

2. Choose the platform type, and click the “Confirm” button to jump to the IDE web page;

9.2.1-2

3. Create, edit and deploy the chaincode package in the IDE, and select “Create a new service”;

  • Create a chaincode package:

    Go to IDE, and click the “New Project” button.

    9.2.1-3.1

    When creating the chaincode package, the IDE supports importing the chaincode package from BSN portal or uploading from a local disk drive.

    9.2.1-3.2

    If “Create Type” is selected as “Upload from local”, the developer should input a chaincode name, upload the chaincode package, and click the “Create” button. Note that the file in the chaincode package cannot contain Chinese characters.

    9.2.1-3.3

    If “Create Type” is selected as “Import from BSN”, the developer should select the network type, framework and chaincode package, and then click the “Create” button to finish creating the project.

    9.2.1-3.4
  • Edit chaincode package:

    Click and expand the chaincode package in the IDE, and edit the chaincode in the editing page.

    9.2.1-3.5
  • Deploy chaincode package:

    On the editing page, click the “Deploy” button and go to the “Deploy Chaincode” page. Complete the from and click the “Deploy” button to deploy the chaincode package. Note that the chaincode name cannot contain Chinese characters.

    9.2.1-3.6
  • Create a new service

    On the chaincode deployment page, select “New service” in the Service section. It will navigate to the BSN portal – “Create a New Service” page.

    9.2.1-3.7

4. Jump back to the BSN portal, “Create a New Service” page, and continue the following process to publish the service. The chaincode package now has been synchronized to the portal.

9.2.1-4
© 2019-2023 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2023-02-16 12:22:03

results matching ""

    No results matching ""

    results matching ""

      No results matching ""