All Products
Search
Document Center

Create Ant Blockchain

Last Updated: Jun 17, 2019

This topic describes how to apply to create or join the contract blockchain of Ant Blockchain.

  • You can apply to create consortium blockchains to deploy your own blockchains and become a blockchain administrator. An administrator can invite a user to join the blockchain as a consortium member. The administrator can also configure data classification to specify the data formats in a consortium blockchain.
  • If you are invited to join a blockchain as a consortium member, you can skip the preceding steps and directly apply to join a blockchain.
  • After you join a blockchain, you can see Ant Blockchain Development Guide to learn how to access the blockchain network and develop your business systems.

Prerequisites

You have activated Alibaba Cloud BaaS and logged on to Alibaba Cloud.

Apply to create a contract blockchain

Members of the consortium can run and maintain the contract chain, but only the consortium administrator can apply to create a contract chain in the consortium. Create a contract blockchain as follows:

  1. Create a consortium: Log on to the Alibaba Cloud BaaS console. In the left-side navigation pane, click Ant Blockchain and click Contract Blockchain to go the My Consortiums page. Click Create Consortium, and enter the name and description of the consortium.create_consortium

  2. Create a blockchain in a consortium: In the consortium list, select a consortium, and click Management in the Operation column to go to the Blockchain Management page. Click Apply To Create Blockchain to create a blockchain in the consortium.consortium_managementapply_create

  3. Configure a blockchain: In the application dialog box, specify the name, region, signature cipher, TLS algorithm, Merkle tree, instance type, the number of nodes, and the effective days of the blockchain. Click Apply to submit your application. The BaaS platform administrator will review your application. In the configuration items:

  • The signature cipher supports classic ciphers. Click Classic to specify the signature cipher.
  • TLS Algorithm supports both RSA and ECDSA.
  • The Merkle tree supports MPT and FDMT. MPT is open source. FDMT is an optimized Merkle algorithm provided by Ant Blockchain and is not available now.
  • The instance type supports Basic Edition, Enterprise Edition, and Ultimate Edition.
  • The number of nodes defaults to four during the preview period.
  • The effective days for a blockchain during the preview period is set to 14 days by default. The corresponding resources will be automatically released after 14 days.applyinfo

    Note: Do not upload sensitive data or production data during the preview period.

  1. View application progress: After you submit an application, you can click Task Progress in the left-side navigation pane to view the progress. You are not allowed to submit new applications when there are pending review tasks.progress

  2. Access blockchain: After your application is approved, the platform administrator will create a blockchain for you. After your application is approved, you need to submit the certificate requests and obtain the permission to access a blockchain network as described in Apply to join a blockchain.

Apply to join a blockchain

Whether you are an administrator or a consortium member, you need to follow this procedure to submit a certificate request before you can access a blockchain network. Upload the certificate request file as follows:

  1. Log on to the Alibaba Cloud BaaS console. Based on the blockchain type, click Ant Blockchain and then click Contract Blockchain or Notary Blockchain. If you click Notary Blockchain, the Notary Blockchain page appears. If you click Contract Blockchain, you need to select a consortium in the page that appears, and click Management to go to the Blockchain Management page.

  2. After you enter the blockchain list page, click Apply to apply for certificates.apply

  3. BaaS supports two methods to generate a certificate: automatic generation and manual generation. Automatically Generated: You need to specify all the information required to generate a certificate in the dialog box that appears. Manually Generated: You need to click Upload to upload the required certificate file. Click Apply to submit your application and complete the application procedure. For more information about making and configuring certificate requests, see the environment setup documentation. Click here if you use MacOS. Click here if you use Windows.cert

    Note: The key in the automatic certificate generation is unique and is not saved by the platform. It cannot be recovered when lost. Save the key properly.

  4. After you complete the application, the status changes to “Already Applied”. For a contract blockchain, you can click More and click Create Account to create an account. BaaS supports manual creation and automatic creation. You can choose a method to create an account based on your business requirements. After you create an account, you can download the corresponding public and private keys, public and private recovery keys, and obtain the permissions to connect to and operate the blockchain.accountcreateaccount

    Note: The key in the automatic certificate generation is unique and is not saved by the platform. It cannot be recovered when lost. Save the key properly.

  5. You can also click the More icon in the upper right corner to perform the following operations:

    • For a contract blockchain, you can download the signed certificate, download the SDK, download the root certificate (trustCa), download the root certificate (ca.crt), create an account, and reset the certificate.contractdownload

More

Follow the Development Guides to begin the application development.