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
You have Create Organization.
The organization has joined the consoritum.
The organization has joined channel.
The organization has Create User.
Steps
Log on to Alibaba Cloud BaaS Console.
In the My Organizations area, click on the name of an organization to enter the organization’s details page.
Click the Users tab.
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 withconnection-profile-standard.yaml
, the only difference is injson
format.Executable script
bootstrap.sh
: for downloading SDK source code, SDK related demo app, and sample smart contract to local.
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.