BaaS hosts the certificate and private key of the organization administrator to protect your blockchain network. This means some operations must be performed in the BaaS console, while client-level operations use community native SDKs.
| Operation type | Where to perform |
|---|---|
| Upload, upgrade, or instantiate chaincode | BaaS console |
| Create channels | BaaS console |
| Execute or query chaincode | Community native SDK |
| Read events | Community native SDK |
Download SDK configuration
Prerequisites
Before you begin, complete the following steps:
Download the SDK package
Log on to the Alibaba Cloud BaaS console.
In the My Organizations area, click the name of your organization to open the organization details page.
Click the Users tab.
Locate the target user and click Download SDK.
BaaS downloads baas-sdk.zip to your local machine. The package contains the following files:
File Supported SDKs Description connection-profile.yamlGo SDK Contains user information and network information. The Go SDK uses this file to connect to the blockchain network automatically, without manual node configuration. connection-profile-standard.yamlJava SDK, Node.js SDK Contains user information and consortium configuration. The Java and Node.js SDKs use this file to connect to the blockchain network automatically. connection-profile-standard.jsonJava SDK, Node.js SDK, Python SDK Same content as connection-profile-standard.yaml, in JSON format.bootstrap.shAll SDKs Script that downloads the SDK source code, demo applications, and sample smart contracts to your local machine.
What's next
Choose the guide that matches your SDK:
If you are already familiar with the SDK, use the connection profile directly to access the blockchain network.
TEE support
Enterprise Edition and Enterprise Security Edition support running the Hyperledger Fabric Client SDK—including private key management and signing—inside a Trusted Execution Environment (TEE). This provides enhanced security for blockchain applications, particularly on edge devices in IoT scenarios. To enable TEE support, open a support ticket.