More on atomic swaps and smart contracts

The smart contract

Back to Nick Szabo

(Copyright (c) 1994 by Nick Szabo)

“A smart contract is a computerized transaction protocol that executes the terms of a contract.”

With objectives:

“The general objectives of smart contract design are to satisfy common contractual conditions (such as payment terms, liens, confidentiality, and even enforcement), minimize exceptions both malicious and accidental, and minimize the need for trusted intermediaries. Related economic goals include lowering fraud loss, arbitration and enforcement costs, and other transaction costs[1].”

and from Wikipedia:

alternate text

Smart contracts: Misunderstandings

  • Example of incorrect statement (more than one error here):

  • Note that

  • The Bitcoin scripting language is limited but so are all programming languages.

  • Developers can write their own programs in the Bitcoin scripting language!!

  • A more flexible language gives more flexibility :-)

  • A more flexible language is often more error-prone and less secure

  • There is no limit to the number of scripts one can write in the Bitcoin scripting language!!

Tools for atomic swaps

Examples of tools and discussions

“These tools were built for those who … have … transaction script and OP_CLTV support”

And recall that “these tools do not address the issue of order book management”

  • for which you need Lightning or other tool for announcements of intent etc

Which coins are ready?

Nice overview: https://swapready.net/