Features of Smart Contracts

in ambr •  6 years ago 

fosc.png

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:

  1. Write the code for the contract in Solidity .

  2. Compile the code into a binary byte file .

  3. Interpret using AVM (Ambr Virtual Machine) and execute at the respective nodes.

#ambr #vocabulary #bitcoin #cryptocurrency #ethereum #DAG

steemit001.png

🔥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)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Great post!

Posted using Partiko Android

Congratulations @ambr.global! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 10 as payout for your posts. Your next target is to reach a total payout of 50

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!

Support SteemitBoard's project! Vote for its witness and get one more award!