tencent cloud

Tencent Cloud Blockchain as a Service

Release Notes
Product Introduction
Overview
Product Features
Underlying Engine
Strengths
Scenarios
Basic Concepts
Purchase Guide
Purchase Page Description
Overdue Payment Instructions
Pricing and Specification Description
Getting Started
Hyperledger Fabric
Operation Guide
Consortium
Event Center
Network Overview
Connection Management
Contract Management
Organization Management
Node Management
Blockchain Browser
Certificate management
Audit Log
Node Monitoring and Logs
Development Guide
Hyperledger Fabric
Application System Integration
API Documentation
History
Introduction
API Category
Making API Requests
Hyperledger Fabric 2.3 APIs
Data Types
Error Codes
FAQs
Product Policy
Data Processing And Security Agreement
Contact Us

Integration Instructions

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-04-10 00:41:07
This documentation introduces how to perform application development integration after purchasing the Tencent Blockchain as a Service (TBaaS) product, that is, how to call contracts on the application system and interact with the blockchain network.

Connection Method

The contract is the only way for the application system to interact with the blockchain network. Therefore, different connection methods correspond to different contract calling methods. As shown in the figure below:



Application systems include upper-level applications and Tencent Cloud SDK/Blockchain SDK. Currently, users' application systems can call contracts on the blockchain network of TBaaS through TencentCloud API and the official blockchain SDK. Both methods interact with the blockchain network through the blockchain SDK. It can be considered that TencentCloud API is an encapsulation of the blockchain SDK. The logical relationship between the two calling methods is shown in the following figure:




Comparison of Connection Methods

Connection Method
Advantages and Disadvantages
Applicable Scenarios
TencentCloud API
Simple configuration. You can access the network just by using SecretID and SecretKey. It has less functionality, containing only calling, querying, and initiating transactions.
User-side application systems hope to integrate with the cloud-based blockchain network at the fastest speed or in the shortest development time.
The call frequency of the user-side application system to the blockchain is less than 20 TPS.
User-side application systems are unable to be fixedly deployed in the same cloud VPC as the blockchain or users do not plan to purchase CVMs.
Support Fabric blockchain engine.
Blockchain SDK
Cumbersome configuration, powerful feature.
tbaas-fabric-sdk-java encapsulates the Native Community SDK, simplifying the configuration process while retaining rich functionality support.
chainmaker-sdk-go-demo provides a detailed introduction on how to use the sdk to integrate with the Chang'an Chain network. It also offers a complete demo to help users quickly understand the integration method of the sdk.
The call frequency of the user-side application system to the blockchain exceeds 20 transactions per second (TPS).
The user-side application system has already developed based on the native blockchain SDK. When migrating to the cloud, it hopes to make as few changes as possible.
If Private Network Services are required (requires purchasing a Tencent Cloud server), the VPC where the user-side server is located must be in the same region as the blockchain network. For example, if the user-side server's VPC is in Guangzhou, the blockchain network also needs to be purchased in Guangzhou. Currently, TBaaS only supports connection within the same region.
Currently, Fabric supports private network and public network services.

Select Connection Method

You can connect to the network by two methods: TencentCloud API or Blockchain SDK.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック