This article explains the connections between the python codes we wrote earlier (same for JavaScript) and the pre-built functions inside the src folder created with the cargo generate–git command. Reading this article will give you a deeper insight into what actually happens when we instantiate, execute or query a state of Terra smart contracts in python code and how it communicates with the CosmWasm libraries written in Rust. Being familiar with Rust programming language can help you better understand the steps we are going to take to interact with the CosmWasm smart contracts on the Terra network. We have provided a small Rust tutorial to make you more familiar with Rust scripts at CosmWasm Smart Contracts – learning Rust series.
Why Smart Contracts Are Revolutionary? (Smart Contracts Use Cases)
A smart contract is a program that runs when certain conditions are met on a blockchain. An automated agreement executes so that all parties can see its outcome immediately without involving an intermediary. In addition to automating workflows, smart contracts can also trigger the next action when conditions are met. This blog discusses how smart contracts are changing the world around us and the benefits they will bring to the market in the future.
What is a Smart Contract?
The terms of a smart contract can be established in the same way as those of any other contract. However, unlike traditional contracts, a smart contract is executed as code running on a blockchain, for example, Ethereum. From loans and insurance to logistics and gaming, it offer sophisticated peer-to-peer functionality backed by blockchain security, reliability, and accessibility.
Types of Smart Contracts
Here are some types of self-executing smart contracts.
Smart Legal Contra...
Comments
Post a Comment