Smart assets apply constraints on transactions involving the asset.An example of a smart account is a multi-signature account with which several users jointly manage assets: a transaction from such an account is allowed if it contains valid signatures of co-owners. ![]() If the conditions are not met, the transaction is discarded. Smart accounts check whether transactions and orders sent on behalf of the account meet certain conditions specified in the script.A dApp also provides functionality similar to a smart account. An invocation can contain payments in favor of the dApp. A dApp script can be invoked by sending an Invoke Script transaction, and dApps can also invoke each other. dApp callable functions can transfer, issue and burn tokens, change data in dApp’s data storage, and much more. dApps can perform almost all operations possible on the Waves blockchain. ![]() There are three types of smart contracts on the Waves blockchain: Ride is a domain-specific programming language for developing decentralized applications focusing on security and ease of development. Smart contracts on the Waves blockchain are accounts and assets with assigned scripts written in Ride. ![]() Because of running on the blockchain, smart contracts are transparent: anyone can read the code and understand how it works. Smart contracts have a variety of applications, including financial (DeFi), gaming/gambling, and many others. The script contains various checks, data reading and writing, operations with digital assets. From a technical point of view, a smart contract is a script executed in a decentralized environment like a blockchain: not on a single server but multiple nodes of a network. Welcome! We are excited that you want to learn about Waves smart contracts.Ī smart contract is a protocol of interaction between participants under certain terms without third parties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |