The smart contract was introduced by Ethereum, and runs on a distributed system that uses p2p network communication. This running platform gives these codes the characteristics of immutability, determinism, distributed and self-checking. The storage of state during code execution is immutable. Everyone can open a private node, replay
the entire system, and get the same results.
In Ambr, each contract has a unique address to identify itself. The client can interact with this address, send and receive Ambr coins, call functions, query the current status, and so on.
Smart contracts are essentially two elements:
The code, and the state stored in the blockchain after the code is run.
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)
Great post!
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @ambr.global! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit