All Products
Search
Document Center

Access a blockchain network

Last Updated: Feb 22, 2019

To guarantee the security of the blockchain network, BaaS hosts the certificate and private key of the organization administrator. For operations that require administrator privileges, such as uploading the chain code, upgrading the chain code, instantiating the chain code, creating channels, and so on, please use the BaaS console.

BaaS supports the operation of client permissions through the community native SDK, such as executing chain codes, querying chain codes, reading events, and so on.

Download SDK configuration

Precondition

Steps

  1. Log on to Alibaba Cloud BaaS Console.

  2. In the My Organizations area, click on the name of an organization to enter the organization’s details page.

  3. Click the Users tab.

  4. Locate the target user and click Download SDK to download the user’s SDK configuration package (baas-sdk.zip). The following files are included in the archive.

    • connection-profile.yaml: for Go SDK, which contains the user’s information and the information of the network. Based on this configuration file, the SDK can easily access the blockchain network. You can avoid manual configuration.
    • connection-profile-standard.yaml: A configuration file for Java and Nodejs SDK, which contains the user’s information and the configuration information of the federation. Based on this configuration file, the SDK can easily access the blockchain network. You can avoid it. The cumbersome process of manual configuration.
    • connection-profile-standard.json: Configuration file for Java, Nodejs, python SDK, the content is consistent with connection-profile-standard.yaml, the only difference is in json format.
    • Executable script bootstrap.sh: for downloading SDK source code, SDK related demo app, and sample smart contract to local.

Download SDK configuration

Next step

If you are already familiar with the use of the SDK

Please use the configuration file to operate the blockchain network directly.

If you are not familiar with the use of the SDK

We provide sample programs for each language SDK, and instructions for use:

Support for TEE

For Enterprise Edition and Enterprise Security Edition, BaaS supports running Hyperledger Fabric Client SDK (private key management and signature) in TEE (Trusted Execution Environment), which can be leveraged for providing enhanced security for blockchain applications, especially on edge devices in IoT scenarios. Please contact support team by opening tickets if you have any need.