By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
  • CONTACT
  • MARKETCAP
  • BLOG
onpointyshots logo onpointyshots logo
  • BOOKMARKS
  • Home
  • Cryptocurrency
  • Bitcoin
  • Ethereum
  • Market
  • Altcoin
  • NFT
Reading: What is a smart contract?
Share

Onpointyshots

Crypto tips, Crypto news, You can find here all

Aa
  • Crypto
  • Market
  • News
  • Blockchain
  • Contact
Search
  • Demos
    • Home 4
  • Categories
    • News
    • Market
    • Crypto
    • Coinbase
    • Mining
    • Stocks
  • Bookmarks
    • My Bookmarks
    • Customize Interests
  • More Foxiz
    • Blog Index
    • Sitemap
Have an existing account? Sign In
Follow US
© Foxiz News Network. Ruby Design Company. All Rights Reserved.
Onpointyshots > Blog > Article > What is a smart contract?
ArticleEthereum

What is a smart contract?

Shoyub Akter
Last updated: 2023/06/10 at 4:52 AM
Shoyub Akter Published April 3, 2022
Share
smart contract

smart contract

Contents
Why are smart contracts important?How do smart contracts work?

Definition

A smart contract, like any contract, establishes the terms of an agreement. But unlike a traditional contract, a smart contract’s terms are executed as code running on a blockchain like Ethereum. Smart contracts allow developers to build apps that take advantage of blockchain security, reliability, and accessibility while offering sophisticated peer-to-peer functionality — everything from loans and insurance to logistics and gaming.

Just like any contract, smart contracts lay out the terms of an agreement or deal. What makes smart contracts “smart,” however, is that the terms are established and executed as code running on a blockchain, rather than on paper sitting on a lawyer’s desk. Smart contracts expand on the basic idea behind Bitcoin — sending and receiving money without a “trusted intermediary” like a bank in the middle —  to make it possible to securely automate and decentralize virtually any kind of deal or transaction, no matter how complex. And because they run on a blockchain like Ethereum, they offer security, reliability, and borderless accessibility.

Why are smart contracts important?

Read moreDemystifying Ethereum: A Powerful Guide For Beginners

Smart contracts allow developers to build a wide variety of decentralized apps and tokens. They’re used in everything from new financial tools to logistics and game experiences, and they’re stored on a blockchain like any other crypto transaction. Once a smart-contract app has been added to the blockchain, it generally can’t be reversed or changed (although there are some exceptions).

Smart-contract-powered apps are often referred to as “decentralized applications” or “dapps” – and they include decentralized finance (or DeFi) tech that aims to transform the banking industry. DeFi apps allow cryptocurrency holders to engage in complex financial transactions — saving, loans, insurance — without a bank or other financial institution taking a cut and from anywhere in the world. Some of the more popular current smart-contract powered applications include:

  • Uniswap: A decentralized exchange that allows users, via smart contract, to trade certain kinds of crypto without any central authority setting the exchange rates.
  • Compound: A platform that uses smart contracts to let investors earn interest and borrowers to instantly get a loan without the need for a bank in the middle.
  • USDC: A cryptocurrency that is pegged via a smart contract to the US dollar, making one USDC worth one U.S. dollar. UDDC is part of a newer category of digital money known as stablecoins.

So how would you use these smart contract-powered tools? Imagine you’re holding some Ethereum that you’d like to trade for USDC. You could put some Ethereum into Uniswap, which, via smart contract, can automatically find you the best exchange rate, make the trade, and send you your USDC. You could then put some of your USDC into Compound to lend to others and receive an algorithmically determined rate of interest — all without using a bank or other financial institution.

In traditional finance, swapping currencies is expensive and time-consuming. And it isn’t easy or secure for individuals to loan out their liquid assets to strangers on the other side of the world. But smart contracts make both of those scenarios, and a vast variety of others, possible.

How do smart contracts work?

Read moreWhat is CeFi?

Smart contracts were first proposed in the 1990s by a computer scientist and lawyer named Nick Szabo. Szabo famously compared a smart contract to a vending machine. Imagine a machine that sells cans of soda for a quarter. If you put a dollar into the machine and select a soda, the machine is hardwired to either produce your drink and 75 cents in change or (if your choice is sold out) prompt you to make another selection or get your dollar back. This is an example of a simple smart contract. Just like a soda machine can automate a sale without a human intermediary, smart contracts can automate virtually any kind of exchange.

Currently, Ethereum is the most popular smart contract platform, but many other cryptocurrency blockchains (including EOS, Neo, Tezos, Tron, Polkadot, and Algorand) can run them. A smart contract can be created and deployed to a blockchain by anyone. Their code is transparent and publicly verifiable, which means that any interested party can see exactly what logic a smart contract follows when it receives digital assets.

  • Smart contracts are written in a variety of programming languages (including Solidity, Web Assembly, and Michelson). On the Ethereum network,  each smart contract’s code is stored on the blockchain, allowing any interested party to inspect the contract’s code and current state to verify its functionality.

  • Each computer on the network (or “node”) stores a copy of all existing smart contracts and their current state alongside the blockchain and transaction data.

  • Read moreWhat is Cryptography: A Comprehensive Guide to Secure Communication

    When a smart contract receives funds from a user, its code is executed by all nodes in the network in order to reach a consensus about the outcome and resulting flow of value. This is what allows smart contracts to securely run without any central authority, even when users are making complex financial transactions with unknown entities.

  • To execute a smart contract on the Ethereum network, you will generally have to pay a fee called “gas” (so named because these fees keep the blockchain running).

  • Once deployed onto a blockchain, smart contracts generally can’t be altered, even by their creator. (There are exceptions to this rule.) This helps ensure that they can’t be censored or shut down.

You Might Also Like

What Is DePIN in Crypto?

What Is Data Availability?

What Be Airdrop Schemes and How to Prevent Them?

How to Withdraw Money from Crypto.com: A Comprehensive Guide

Crypto Index Funds: The Ultimate Game-Changer in the World of Cryptocurrency Investments

TAGGED: smart-contract

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.

By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Copy Link Print
Share
What do you think?
Love2
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
By Shoyub Akter
I'm an experienced online professional since 2017, specializing in content writing for the past two years. With expertise in Microsoft Excel and Word, I deliver high-quality work, meeting deadlines with accuracy and professionalism. My skills and dedication make me a valuable asset in the digital realm.
Previous Article tron What Is Tron Cryptocurrency? Everything You Need To Know About TRX.
Next Article cloud mining Cloud Mining: How To Mine Cryptocurrency Without Hardware
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow US

Find US on Socials
Facebook Like
Twitter Follow
Youtube Subscribe
Telegram Follow
Rendom Post

Subscribe to our newslettern

Get Newest Articles Instantly!

Popular News
Hash Rate
What Is Hash Rate?
Ethereum
what is bitcoin how it works
What is Cryptocurrency
What You Need To Know About Cryptocurrency

You Might Also Like

DePIN
Article

What Is DePIN in Crypto?

June 13, 2024
data Availability
Article

What Is Data Availability?

May 22, 2024
airdrop schemes
Article

What Be Airdrop Schemes and How to Prevent Them?

May 20, 2024
withdraw money from Crypto.com
Article

How to Withdraw Money from Crypto.com: A Comprehensive Guide

June 21, 2023
Crypto Index Fund
Article

Crypto Index Funds: The Ultimate Game-Changer in the World of Cryptocurrency Investments

May 30, 2023

Follow Us on Socials

We use social media to react to breaking news, update supporters and share information

Twitter Youtube Telegram Linkedin
onpointyshots logo onpointyshots logo

Wkeep posting new content and news about crypto world in everyweek. For keep up to date join onpointyshots newsletter..

Subscribe to our newsletter

You can be the first to find out the latest news and tips about trading, markets...

© Onpointyshots . All Rights Reserved.
  • Privacy Policy
  • Terms & Conditions
  • Sitemap
adbanner
AdBlock Detected
Our site is an advertising supported site. Please whitelist to support our site.
Okay, I'll Whitelist
Welcome Back!

Sign in to your account

Lost your password?