Alibaba Cloud BaaS (Blockchain as a Service ) is an enterprise-level PaaS (Platform as a Service) based on leading blockchain technologies. This service helps you build a stable, secure blockchain environment, and manage the deployment, operation, maintenance, and development of blockchains easily. Alibaba Cloud BaaS enables you to focus on business innovation.
Blockchain establishes a peer-to-peer network where each participant in the network has access to a shared ledger. Transactions and history records cannot be removed or altered. The smart contract and consensus algorithms enable transactions between multiple participants and confirm the transactions and ledger records.
Alibaba Cloud BaaS is built on Alibaba Cloud Container Service for Kubernetes clusters. It leverages the capabilities of Alibaba Cloud in databases, security, maintenance, and computing. Alibaba Cloud BaaS provisions blockchain services based on multiple architectures, such as public cloud deployments and private cloud deployments.
Alibaba Cloud BaaS supports mainstream open source blockchain technoligies Hyperledger Fabric and Enterprise Ethereum - Quorum, and also supports proprietary financial-grade blockchain technology Ant Blockchain, satifying various requirements.
- Hyperledger Fabric is an open source enterprise-class blockchain technology hosted by Linux Foundation. Hyperledger Fabric has a modular architecture, and allows components, such as consensus and membership services, to be plug-and-play.
- Ant Blockchain is a proprietary finanical-grade blockchain technology developed by Ant Financial, providing high performance, global deployment and strict privacy protection.
- Enterprise Ethereum - Quorum is an enterprise-focus version of Ethereum, developed by J.P. Morgan, and is compliant with the specification of EEA (Enterprise Ethereum Alliance).
-Alibaba Cloud BaaS helps users quickly create and deploy a production-level blockchain environment, and provides graphical interfaces for blockchain management and operation. Enterprises and businesses can be dynamically added to the blockchain network. This service simplifies development and reduces the development time with pre-configured networks and infrastructure.
- The consortium blockchain network is built on the Alibaba Cloud BaaS. This network relies on the multi-tenant isolation of cloud computing, including the isolation of computing, storage, and network resources. Business participants are independent and can manage their own resources separately.
- This service provides a cross-regional network for participants in different regions. For example, as shown in the following figure, operators and participants in a consortium blockchain network can be deployed in three different cities.
-Alibaba Cloud provides a wide range of methods for you to integrate the blockchain service into your applications. You can create resources on demand and scale up the deployment easily. Additionally, this service provides advanced protection for data security and privacy. You can select the services that best suit your business needs at the optimal costs.
For more information, see Product advantages.
Hyperledger Fabric and Ant Blockchain both provide multiple product editions for your choice. For a detailed description and comparison of these product editions, see Product editions.
Create a blockchain network
You can create a blockchain network in quick mode or standard mode.
Quick mode: You only need to specify the required information, and Alibaba Cloud BaaS will automatically perform operations to create a complete blockchain network. These operations include creating a consortium, creating organizations, and inviting groups to join a consortium or a channel. For more information, see Quick start.
Standard mode: You can manually create an organization, create and join a consortium, and create a channel. For more information, see Operation process.
This step includes uploading, installing, and instantiating the chaincode. For more information, see Deploy chaincodes.
Access the blockchain network
Create or join a blockchain
You can apply for creating or joining a blockchain through BaaS Console. For more information, see Apply for Ant Blockchain.
In BaaS Console, you can invite other users to join your consortium, or approve applications for joining. For more information, see Manage blockchains.
Access the blockchain network
Create a blockchain network
You can create a Enterprise Ethereum - Quorum blockchain network in BaaS Console. For more information, see Create a blockchain network.
You can invite Alibaba Cloud users to join a Quorum network, and then add Quorum nodes from Alibaba BaaS. For more information, see Invite a user of Alibaba Cloud BaaS to join and Add a new node from Alibaba Cloud BaaS. You can also directly add Quorum nodes from other cloud platforms (e.g. AWS, Azure) or from on-premise environments. For more information, see Add a new node from another environment.
Deploy smart contracts
After smart contracts are developed, you can start to compile and deploy smart contracts, and then send transactions to invoke the contract. For more information, see Use solc to compile smart contracts, Deploy a smart contract using geth and Send a transaction using geth.
Alibaba Cloud BaaS API is an extension to the native API of underlying blockchain technologies. It not only simplifies the complex processes of using native API for management and invocation, but can also operate both the blockchain objects and cloud resource objects related with BaaS. BaaS API allows users to manage and maintain blockchain consortium, organization, peer, channel, smart contract, log, configuration, etc. in a much easier way.
BaaS API supports both HTTP and HTTPS requests, and requires Access Key and Access Key Secrect generated with Alibaba Cloud account for authentication, in order to guarantee the security of API invocation.
Besides, you can also leverage Alibaba Cloud OpenAPI Explorer, a web-based GUI tool, for quick search and visual debugging of BaaS API.
If you are interested to learn and use BaaS API, please refer to the API Reference.