cool hit counter Blockchain Technology Sharing_Intefrankly

Blockchain Technology Sharing


Basic concepts of smart contracts

A smart contract is a collection of code and data that can be deployed to run on the ethereum network. If you make an analogy smart contracts are more like JAVA programs, JAVA programs are executed by interpreting code bytes through JAVA virtual machine (JVM), Ethernet smart contracts are executed by interpreting byte code through Ethernet virtual machine (EVM), if you have studied assembly, you will find that the compiled byte code is very similar to assembly. Also smart contracts have their own accounts and can automatically perform some functions driven by time or events, such as the ability to pass information between each other and modify the state of the blockchain such as account information. The biggest feature of ethereum's smart contracts is that they are Turing-complete, which in layman's terms can completely simulate everything a computer can do, and the well-known Bitcoin can actually execute some simple scripts, but he is not Turing-complete, for example, circular instructions Bitcoin cannot execute.

smart contract protocol

Ether Virtual Machine EVM

The Ethernet Virtual Machine (EVM) is the environment in which smart contracts run in Ether. Not only is it sandboxed, it actually runs in complete isolation, meaning that code running inside the EVM has no access to the network, file system, or other processes, and even smart contracts have only limited calls to each other.

Smart Contracts Programming Language

It is not possible for users to write Ethernet Virtual Machine (EVM) bytecode directly, so Ethernet provides several high-level languages for writing smart contracts.

Solidity: similar to JavaScript, this is the flagship language recommended by Ether and the most popular smart contract language. For specific usage, see the Solidity documentation at: https://solidity.readthedocs.io/en/latest/

Serpent: Python like style, documentation at https://github.com/ethereum/wiki/wiki/Serpent


Recommended>>
1、Hangzhou held an industrial information security competition
2、Two free data recovery software you must use to get back your deleted by mistake small movies
3、Do you think that the career you are in now will definitely be replaced by AI in the future
4、Get a taste of TempoAI a live stream not to be missed
5、Countless 90s and 00s piled into Pleasantville this morning just to attend this event

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号