What are the phases of the life cycle of solidity?

Time:2022-7-30

id:BSN_2021

Official account: BSN Institute

Solid language is a contract oriented high-level programming language, which is used to implement smart contracts on Ethereum blockchain networks. The solid language is deeply influenced by c++, Python and JavaScript, and is designed for Ethereum virtual machine (EVM).

The life cycle of solidity includes four stages: editing, deployment, execution and destruction. The following figure shows the complete life cycle of the solid program as a whole:
What are the phases of the life cycle of solidity?
After the source code is compiled, the solid file will generate bytecode. This is a kind of code similar to JVM bytecode. During deployment, the bytecode and construction parameters will be built into a transaction, which will be packaged into blocks. Through the network consensus process, the contract will be finally built on each block chain node, and the contract address will be returned to the user.

When the user is ready to call the function on the contract, the call request will also go through the process of transaction, block and consensus, and finally be executed by EVM virtual machine on each node.

Recommended Today

JS generate guid method

JS generate guid method https://blog.csdn.net/Alive_tree/article/details/87942348 Globally unique identification(GUID) is an algorithm generatedBinaryCount Reg128 bitsNumber ofidentifier , GUID is mainly used in networks or systems with multiple nodes and computers. Ideally, any computational geometry computer cluster will not generate two identical guids, and the total number of guids is2^128In theory, it is difficult to make two […]