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:
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.