Smart contracts are computer protocols that facilitate, verify, or enforce the negotiation or performance of a contract, or that make a contractual clause unnecessary. Smart contracts usually also have a user interface and often emulate the logic of contractual clauses. Proponents of smart contracts claim that many kinds of contractual clauses may thus be made partially or fully self-executing, self-enforcing, or both. Smart contracts aim to provide security superior to traditional contract law and to reduce other transaction costs associated with contracting.
Digital rights management schemes are smart contracts for copyright licenses, as are financial cryptography schemes for financial contracts. Admission control schemes, token bucket algorithms, and other quality of service mechanisms help facilitate network service-level agreements. Some P2P networks need mechanisms to ensure that remote strangers contribute as well as consume resources, without requiring the overhead of actual legal contracts. Two examples of such protocols are the storage trading protocol in flŭd backup and the Mojo Nation filesharing auction. Cryptographic authentication of one product part by another has been used, in lieu of a contract between manufacturer and consumer, to enforce tying strategies.
Agoric computing was a movement in the 1970s and 1980s to bring market mechanisms such as auctions to computational resource management. Meanwhile, public key cryptography revolutionized what was possible in online security after the mid-1970s.
The phrase "smart contracts" was coined by legal theorist computer scientist Nick Szabo, probably around 1993, to emphasize the goal of bringing what he calls the "highly evolved" practices of contract law and related business practices to the design of electronic commerce protocols between strangers on the Internet. Szabo, inspired by researchers like David Chaum, also had a broader expectation that specification through clear logic, and verification or enforcement through cryptographic protocols and other digital security mechanisms, might constitute a sharp improvement over traditional contract law, even for some traditional kinds of contractual clauses (such as automobile security interests that provide for repossession) that could be brought under the dominion of computer protocols.
In a 2013 paper, Mark Miller and others have stressed capabilities as the security basis of smart contracts, in contrast to Chaum and other researchers in the financial cryptography community who have emphasized advanced cryptographic protocols to bring security and privacy to digital money, credentials, contract signing, auctions, and other commercial mechanisms. Most of the above-cited examples[which?] have, however, probably been developed largely independently of these lines of work, and indeed some proponents[who?] see smart contracts as the inevitable outcome of many independent efforts to improve transactions in various industries using digital technology.
Several formal languages have been developed or proposed for specifying contractual clauses. The IEEE has held two workshops[when?] on electronic contracting, which have furthered this research.
Replicated titles and contract execution
A smart contracts infrastructure can be implemented by replicated asset registries and contract execution using cryptographic hash chains and Byzantine fault tolerant replication. Each node in the peer-to-peer network acts as a title registry and escrow, executing changes of ownership and automatically checkable rules governing those transactions, and checks the same work of other nodes. Askemos implemented this approach in 2002 using Scheme as contract script language. Cryptocurrencies such as bitcoin have implemented special cases of such registries, where the property is money. Bitcoin and many of its spin-offs contain mechanisms to enable more general property titles and contract execution. Code supporting this is a latent part of the bitcoin protocol, based on probabilistic and anonymous (proof-of-work based) Byzantine replication. One proposal for using bitcoin for replicated asset registration and contract execution is called "colored coins". A replicated domain name registry is implemented in Namecoin; replicated titles for potentially arbitrary forms of property, along with replicated contract execution, are implemented in Crypti, Ripple, Mastercoin and Ethereum. NXT implements replicated property titles based on proof-of-stake in the underlying currency.
Applications may include financial instruments such as bonds, shares, and derivatives, assurance contracts, and other instruments and transactions where the nodes can monitor the events on which the smart contract rules are conditioned. As of 2015[update], UBS was experimenting with "smart bonds" that use the bitcoin blockchain in which payment streams could be fully automated, creating a self-paying instrument.
In popular culture
Permanence (2002) by Karl Schroeder features a "rights economy" in which all physical objects are nano-tagged with contractual requirements so that payment may be enforced for all uses of proprietary information, e.g. a military mission in deep space must continuously justify the cost-benefit ratio of their mission to the ship or it will stop working.
- Code and Other Laws of Cyberspace
- Decentralized autonomous organization
- Secure multiparty computation
- "Fairness". flud.org.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Castillo, Andrea (2016-05-24). "Can a Bot Run a Company?". Reason (magazine)/Reason. Retrieved 2016-05-25.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Nick Szabo. "Formalizing and Securing Relationships on Public Networks". First Monday.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- "Welcome to ERights.Org". erights.org.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- "A Formal Language for Analyzing Contracts". vwh.net.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Nick Szabo (2005). "Secure Property Titles with Owner Authority". Retrieved January 12, 2014.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- "https://en.bitcoin.it/wiki/Smart_Property". External link in
|title=(help); Missing or empty
- Hal Hodson (20 November 2013). "Bitcoin moves beyond mere money". New Scientist. Retrieved 12 January 2014.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- "Ethereum: A Next-Generation Generalized Smart Contract and Decentralized Application Platform". Retrieved 12 January 2014.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- "Bitcoin Descendant NXT Features 100% New Code, Green Mining, Decentralized Trading, More". Yahoo Finance. 23 December 2013. Retrieved 12 January 2014.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Ross, Rory (2015-09-12). "Smart Money: Blockchains Are the Future of the Internet". Newsweek. Retrieved 2016-05-27.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Wigan, David (2015-06-11). "Bitcoin technology will disrupt derivatives, says banker". IFR Asia. Retrieved 2016-05-27.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>