![smart_contract_steemit.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmR8RMKGYPZ2ye6LZsk22xPdLTzhenCE6Ang8YnEzhqzsu/smart_contract_steemit.png)
In some high level language systems (such as java and .net), for the sake of high platform compatibility and portability, and high running performance, most introduce an intermediate encoding, assembly language, and then the execution is interpreted by the virtual machine. Like Ethereum's Solidity, RChain’s RHO, and ECO’s WASM.
After comprehensive evaluation of various platforms, Ambr decided to use the Solidity language as a contract writing language. The simple, proven and expressive language and has accumulated a large number of community developers due to the use of the Ethereum community. With the powerful JIT interpreter developed by the C language to interpret the execution, the performance functionality is very high.
And can use the existing development tools of the community to make the contract preparation easier and more convenient.
Smart Contract is part of the first set of "promises" the cryptography scholar Nick Szabo defined in the digital form in 1994, including the agreement that participants can execute these "promises". Once a smart contract is established, it becomes automated and can no longer be affected by actions from anyone.
Ambr has successfully implemented smart contracts in the DAG architecture through using a verification chain and adopting the Casper algorithms. The system also maintains consistency between smart contracts and common trading solutions. Smart contracts are synchronized to other nodes in the network through the consensus protocol and the p2p network, so they can be executed at each complete node.
In Ambr, the smart contract implementation process is:
- Write the code for the contract in Solidity
- Compile the code into a binary byte file
- Interpret using AVM (Ambr Virtual Machine) and execute at the respective nodes
🔥Our Social Media Channels🔥
Twitter:
https://twitter.com/AmbrGlobal
Facebook:
https://www.facebook.com/Ambr.Global.Blockchain
GitHub:
https://github.com/Ambr-org/Ambr
SteemIT:
https://steemit.com/@ambr.global
Bitcointalk ANN:
https://bitcointalk.org/index.php?topic=5080890
Reddit:
https://www.reddit.com/user/AmbrGlobal
Instagram:
https://www.instagram.com/ambr.global
Medium:
https://medium.com/@ambr.global
Telegram:
https://t.me/AmbrGlobal2
Telegram Developers Community:
https://t.me/AmbrGlobal
(only for developers)