{"id":14794,"date":"2017-05-12T10:36:18","date_gmt":"2017-05-12T10:36:18","guid":{"rendered":"https:\/\/www.techopedia.com\/definition\/smart-contract\/"},"modified":"2024-01-19T11:17:46","modified_gmt":"2024-01-19T11:17:46","slug":"smart-contract","status":"publish","type":"definition","link":"https:\/\/www.techopedia.com\/definition\/32499\/smart-contract","title":{"rendered":"Smart Contract"},"content":{"rendered":"
A smart contract is a self-executing agreement in which the terms of the contract are written into lines of code. Smart contracts use\u00a0distributed ledgers like blockchain<\/a>\u00a0to document and validate contract transactions in a secure, transparent manner without the need for oversight by a central authority.<\/p>\n One of the main advantages of smart contracts over traditional contracts is their ability to automate each step of a contract\u2019s execution when predetermined if\/then conditions are met. In business, smart contracts are used to:<\/p>\n The idea of smart contracts was first proposed by computer scientist and legal scholar Nick Szabo in the mid-1990s. Szabo envisioned a system in which contracts could be self-executing, using computer code to enforce the terms of the contract.<\/p>\n It wasn\u2019t until\u00a0Bitcoin<\/a> and the widespread use of distributed ledger technology for\u00a0cryptocurrencies<\/a>, however, that the concept of smart contracts really started to catch people\u2019s interest, especially in industries such as finance and supply chain management.<\/p>\n Here is an example of how a smart contract can be used in supply chain management (SCM<\/a>):<\/p>\n By deploying a smart contract on a distributed ledger, all parties involved in the supply chain have access to a secure and tamper-proof record of the transaction that ensures the information is accurate, up-to-date, and transparent.<\/p>\n If at any time during contract execution, an involved party wants to check the status of the contract, they can use a client application or web interface to call a function<\/a>\u00a0on the contract that will return the data they are interested in. The function call gets broadcast to the network, and the requested data will be returned if the call is successful.<\/p>\n One of the biggest challenges of using smart contracts in business is that there is still a lot of regulatory uncertainty around the use of smart contracts, especially in heavily regulated industries such as finance and healthcare.<\/p>\n While smart contracts are designed to be tamper-proof and secure, there is still the possibility of bugs or code vulnerabilities that could be exploited by malicious actors.<\/p>\n When there are concerns about how disputes or errors in smart contracts should be resolved, there can be confusion about whether different geopolitical regions should\u00a0apply their traditional contract laws to smart contracts<\/a>. In response, some jurisdictions in the United States have made efforts to provide\u00a0new legal recognition\u00a0for smart contracts with mixed results.<\/p>\n Smart contracts play a critical role in the management and transfer of cryptocurrencies. They are used to:<\/p>\n A DApp is an application that runs on a distributed ledger. DApps use smart contracts to\u00a0automate the execution and enforcement\u00a0of the application’s rules and logic. For example, a DApp that enables peer-to-peer lending might use a smart contract to automatically transfer funds from a lender to a borrower based on predefined conditions, such as the receipt of collateral.<\/p>\n Although Ethereum is the most well-known and widely-used blockchain platform for smart contracts, it is not the only blockchain platform\u00a0to support smart contracts.<\/p>\n Other popular distributed ledgers that support the creation and execution of smart contracts and DApps include:<\/p>\n While all the platforms above support smart contracts, the specific functionalities each platform offers and the way contracts are implemented vary from platform to platform. For example, some blockchains, such as Ethereum and Binance Smart Chain, support multiple programming languages for smart contract development, while others, like Cardano and Tron use a specific language for smart contract development.<\/p>\n It can be difficult to find developers who have the expertise to develop and implement smart contracts, so it’s no surprise that vendors are using an “as-a-service” delivery model for them. Some of the major vendors in the smart contract space include:<\/p>\n ScienceSoft \u2013 is known for helping clients integrate oracles with smart contracts. Oracles, in the context of smart contracts, are third-party services that feed off-chain data to the smart contract.<\/p>\n Innowise \u2013 is known for helping clients select the most appropriate blockchain platform for their smart contracts.<\/p>\n Avalanche<\/a>\u00a0– claims to be the fastest smart contracts platform in the blockchain industry, as measured by time-to-finality.<\/p>\n 4soft<\/a> \u2013 is known for helping clients optimize their smart contracts.<\/p>\n VeriDoc Sign\u00a0<\/strong>\u2013 an\u00a0e-signature<\/a>\u00a0service supported by smart contracts.<\/p>\n While smart contracts executed on a distributed ledger offer many security benefits, there are still security risks associated with their use, including:<\/p>\n To address these concerns, smart contract developers need to implement robust security measures, including code audits, multi-signature controls and regular security assessments. Increasingly, artificial intelligence (AI<\/a>) and machine learning (ML<\/a>) are being used to monitor the execution of smart contracts and trigger actions or alerts when predefined conditions are not met or when anomalies are detected in data patterns.<\/p>\n","protected":false},"excerpt":{"rendered":" What Does Smart Contract Mean? A smart contract is a self-executing agreement in which the terms of the contract are written into lines of code. Smart contracts use\u00a0distributed ledgers like blockchain\u00a0to document and validate contract transactions in a secure, transparent manner without the need for oversight by a central authority. One of the main advantages […]<\/p>\n","protected":false},"author":7813,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","om_disable_all_campaigns":false,"footnotes":""},"definitioncat":[241,256],"class_list":["post-14794","definition","type-definition","status-publish","format-standard","hentry","definitioncat-computer-science","definitioncat-emerging-technology"],"acf":[],"yoast_head":"\n\n
Techopedia Explains Smart Contract<\/span><\/h2>\n
\n
Advantages of Smart Contracts<\/span><\/h2>\n
Challenges of Smart Contracts<\/span><\/h2>\n
Smart Contracts and Cryptocurrencies<\/span><\/h2>\n
\n
Smart Contracts and DApps<\/span><\/h2>\n
Smart Contract Distributed Ledgers<\/span><\/h2>\n
\n
Smart Contract Service Vendors<\/span><\/h2>\n
Smart Contract Security<\/span><\/h2>\n
\n