Top Banner
Contracts Across Coins Smart Contracts for Bitcoin, Ripple and the altcoins Stefan Thomas CTO, Ripple Labs
18

Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Dec 01, 2014

Download

Economy & Finance

Ripple Labs

Held at Coin Congress in San Francisco on Thursday, July 24th, 2014.

Codius is a set of tools for building smart contracts that work with any blockchain and even work with any other service connected to the Internet.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Contracts Across Coins

Smart Contracts for Bitcoin, Ripple and the altcoins

Stefan ThomasCTO, Ripple Labs

Page 2: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

In this talk...

Why Bitcoin needs smart contracts

Codius: smart contracts across coins

The end game: a more efficient legal system

Page 3: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Cryptocurrencies have only solved half

of the payments puzzle

Page 4: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Push payments are like checks

Page 5: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

We use pull payments every day

+Additional Rules

Page 6: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Smart contracts enable pull payments

1.Translate rules to code

2.Securely identify code

3.Execute with non-colluding parties

Page 7: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Where in the software stack should

smart contracts be executed?

Page 8: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Standard software architecture

User Interface

Business Logic

Database

e.g. HTML5/JS, Swing, mobile apps

e.g. J2EE, Node.js, PHP

e.g. MySQL, PostgreSQL

Page 9: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Distributed systems today

Client

Ledger

e.g. Multibit, Ripple Trade

e.g. Bitcoin, Ripple

???

Page 10: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Smart oracles: standard architecture

Client

Smart Oracle

Ledger

e.g. Multibit, Ripple Trade

e.g. Codius

e.g. Bitcoin, Ripple

Page 11: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Codius: Flexible, powerful, inclusive

Any programming language

Any cryptocurrency network

Any web service

“Simple works, complex fails.” – Timothy Ferriss

Page 12: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Now we can execute traditional contracts as

smart contracts

Page 13: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Contract agreement with

conditional penalties

=

Page 14: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

We can easily encode contracts

try { agreement} catch { penalties}

Page 15: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Contract enforcement

How do we check the conditions?

How do we enforce the penalties?

Page 16: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Encode any agreement

pull payments escrowinsurance

auctions

crowdfunding

smart property securities

derivatives

equities

voting

rental agreements

spending limits

Page 17: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

End game: a more efficient legal system

...from years of a lawsuit to a single click…

...from thousands or millions spent to dollars or pennies…

...smart contracts develop and improve over time...

Page 18: Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins

Visit codius.org for the white paper!