# HMM-Based Blockchain Visual Automatic Deployment System
## 1 Introduction  
Blockchain is a decentralized shared ledger that combines blocks of data into a specific data structure in a chronological chain and is cryptographically guaranteed to be tamper-proof and unforgeable; in layman's terms, blockchain is a distributed ledger [1]. Blockchain technology has achieved remarkable development results globally and has a wide range of application prospects in many fields, including digital economy [2], healthcare [3], Internet of Things (IoT) [4], etc. With the continuous development and improvement of technology, blockchain is expected to play a greater role in the future and promote the digitalization and intelligitization of the global economy [5]. In order to respond to the differentiated needs of blockchains in different application scenarios, it becomes critical to deploy a customizable blockchain [6]. There are differences in the customizable blockchain used in different industries, and it is impossible to achieve uniform deployment across industries, so it needs to be adjusted in real time according to the scenarios during deployment. Currently, in the actual deployment process of customizable blockchain represented by Chainmaker, there are many blockchain deployment processes and complex blockchain configuration parameters [7]. For instance, the deployment process in blockchain involves several steps such as preparing the deployment environment, downloading and compiling the source code, generating the configuration file, creating an installation package, initiating a node cluster, and deploying smart contracts. The parameters required for blockchain deployment encompass selecting the compilation method of the blockchain source code, choosing an appropriatetransmission method for the compiled Executable and Linkable Format (ELF) file based on network conditions, determining the consensus algorithm to be employed in the blockchain system, opting for a specific type of encrypted hash function, configuring the number of nodes within a cluster, and specifying block size and height within the blockchain. In the field of blockchain deployment tools and frameworks, there are some notable contributions. [PERSON] et al. [8] developed NutBaaS, a Blockchain-as-a-Service platform that provides various services such as network deployment, system monitoring, and smart contract analysis and testing. The approach aims to ensure the continuous deployment of containerized blockchain distributed applications. In terms of using smart contracts, [PERSON] et al. [9] proposed a block-based visual programming framework that enables non-expert programmers and learners to build syntactically correct smart contracts without writing code. Moreover, [PERSON] et al. 's [10] proposed approach aims to ensure the continuous deployment of containerized blockchain distributed applications through the integration of delivery and deployment components using Git distributed version control. In the specific area of automated blockchain deployment, [PERSON] [11] proposed an automated blockchain deployment approach that involves integrating multiple scripts. Users are required to enter a small number of Linux commands in the system's shell interface to complete the blockchain deployment. However, this approach has limitations as it still requires manual command entry and does not achieve complete automation of blockchain deployment. Furthermore, [PERSON] et al. [12] developed a system for automated blockchain deployment that lacks hardware detection, detection of dependent software, and automated installation of dependent software during blockchain deployment. Additionally, it is unable to deploy smart contracts through an automated system. Currently, the industry's research on automated deployment of blockchain is still in its early stages. In response to this, we have developed and implemented a web-based system for automating the deployment of blockchain visualization based on the Hidden Markov Model (HMM).