Plutus and Extended UTxO

Size: px
Start display at page:

Download "Plutus and Extended UTxO"

Transcription

1 Plutus and Extended UTxO Manuel M T Chakravarty, Language IOHK

2 What is Plutus? Innovative development and execution platform for distributed contract applications on Cardano.

3 The Three Pillars of Plutus

4 Safety & Security Superior Ledger Full Stack

5 Safety & Security Superior Ledger Full Stack

6 λ τ functional with modern type

7 functional input output pure function side effects modern type systems

8 functional :: :: β input output typed function safe usage modern type systems

9 local reasoning :: :: β type-directed design input output typed function advanced testing safe usage & verification

10 local reasoning type-directed design advanced testing & verification } understand code find exploits

11 not a core typed FP not a classic virtual machine Plutus Core abstract machine interpreter small, powerful & based on peer-reviewed

12 core Plutus Core Where is it used?

13 Safety & Security Superior Ledger Full Stack

14 imperative mutable entangled functional dataflow compositional shared state UTxO-based Ledger Account-based Ledger

15 Bitcoin minimal What about the expressiveness of smart contracts? Ethereum enough rope

16

17 Input Output ρ: Redeemer core ρ: Redeemer core x: Value σ: State x: Value ν: Validator core ν: Validator core δ: Data core ν(ρ) True ν(ρ, δ, σ, x) True

18 Extended UTxO ρ: Redeemer core Preserves the superior structure of UTxO ledgers x: Value ν: Validator core σ: State Greatly increases the δ: Data core expressive power of scripts ν(ρ, δ, σ, x) True

19 Extended UTxO data flows with value Preserves the superior structure of UTxO ledgers scripts have an Greatly increases the expressive power of scripts invariants across transaction chains

20 Safety & Security Superior Ledger Full Stack

21 What does it take to write a smart contract application?

22 1. Payment into campaign until a payment deadline 2. If funding goal reached, campaign owner can collect funds 3. If funding goal not reached, refunds can be obtained by contributors 4. If campaign owner does not collect by Simple crowdfunding collection deadline, contributors can also obtain refunds

23 pragma solidity ^0.4.6; contract WinnerTakesAll { uint minimumentryfee; uint public deadlineprojects; uint public deadlinecampaign; uint public winningfunds; address public winningaddress; struct Project { address addr; string name; string url; uint funds; bool initialized; } Solidity (on-chain) + var Web3 = require('web3'); var web3 = new Web3(); web3.setprovider(new web3.providers.httpprovider( http: 1. Payment into campaign until a payment deadline 2. If funding goal reached, campaign var accounts = web3.eth.accounts; accounts.foreach(function(v) { $( #supportfrom ).append( <opt $( #projectaddr ).append( <opt }); owner can collect funds 3. If funding goal not reached, refunds can be obtained by contributors var compiled = web3.eth.compile.so 4. If campaign owner does not collect by var code = compiled.code; var abi = compiled.info.abidefinit var contract = web3.eth.contract(a collection deadline, contributors can also obtain refunds JavaScript (off-chain)

24 var Web3 = require('web3'); var web3 = new Web3(); web3.setprovider(new web3.providers.httpprovider( http: var accounts = web3.eth.accounts; accounts.foreach(function(v) { $( #supportfrom ).append( <opt $( #projectaddr ).append( <opt }); var compiled = web3.eth.compile.so off-chain (wallet) var code = compiled.code; var abi = compiled.info.abidefinit var contract = web3.eth.contract(a JavaScript two-level (staged) programming model pragma solidity ^0.4.6; contract WinnerTakesAll { uint minimumentryfee; uint public deadlineprojects; uint public deadlinecampaign; uint public winningfunds; address public winningaddress; struct Project { address addr; string name; string url; uint funds; bool initialized; } on-chain (transaction) Solidity

25 JavaScript off-chain inconvenient (wallet) ad hoc two-level (staged) programming model complex on-chain (transaction) Solidity fragile

26 Haskell off-chain integrated (wallet) meta programming two-level (staged) programming model compact on-chain (transaction) robust Haskell (Plutus Tx)

27 contribute :: Campaign -> Value -> MockWallet () contribute campaign value = do Haskell when (value <= 0) $ throwothererror "Must contribute a positive value" ownpk <- ownpubkey tx <- paytoscript (Ledger.scriptAddress (contributionscript campaign)) value DataScript (Ledger.lifted ownpk) register (refundtrigger campaign) (refundhandler (Ledger.hashTx tx) campaign) contributionscript :: Campaign -> ValidatorScript

28 Haskell contributionscript :: Campaign -> ValidatorScript

29 contributionscript :: Campaign -> ValidatorScript Haskell contributionscript campaign = ValidatorScript (validator `apply` campaign) where validator = Ledger.fromCompiledCode $$(PlutusTx.compile [ (\Campaign{..} action contrib tx -> Plutus Tx let PendingTx ps outs (Height h) = tx isvalid = case action of Refund -> h > collectiondeadline && contributoronly outs && $$(txsignedby) tx contrib Collect -> h > deadline && h <= collectiondeadline && totalinputs >= target && $$(txsignedby) p campaignowner in $$(P.errorIfNot) isvalid ])

30 Safety & Security Superior Ledger Full Stack

31 Safety & Security Superior Ledger Full Stack

32 Safety & Security Superior Ledger Full Stack

33 contribute :: Campaign -> Value -> MockWallet () contribute campaign value = do when (value <= 0) $ throwothererror "Must contribute a positive value" ownpk <- ownpubkey tx <- paytoscript (Ledger.scriptAddress (contributionscript campaign)) value DataScript (Ledger.lifted ownpk) register (refundtrigger campaign) (refundhandler (Ledger.hashTx tx) campaign) core off-chain contributionscript :: Campaign -> ValidatorScript contributionscript campaign = ValidatorScript (validator `apply` campaign) where validator = core Ledger.fromCompiledCode $$(PlutusTx.compile [ (\Campaign{..} action contrib tx -> let PendingTx ps outs (Height h) = tx isvalid = case action of Refund -> h > collectiondeadline && contributoronly outs && $$(txsignedby) tx contrib Collect -> h > deadline && h <= collectiondeadline && totalinputs >= target && $$(txsignedby) p campaignowner in $$(P.errorIfNot) isvalid ]) on-chain

34 This is Plutus! Safety & Security Superior Ledger Full Stack

Active Planning Committee John Lindsay, Patent Attorney Tony Schuman, Investment Advisor Todd Russell, Gov t Contract Opportunities

Active Planning Committee John Lindsay, Patent Attorney Tony Schuman, Investment Advisor Todd Russell, Gov t Contract Opportunities Agenda 11:30-11:45 Check-In, networking 11:45-12:45 12:45 Announcements, Networking Active Planning Committee John Lindsay, Patent Attorney Tony Schuman, Investment Advisor Todd Russell, Gov t Contract

More information

The power of Blockchain: Smart Contracts. Foteini Baldimtsi

The power of Blockchain: Smart Contracts. Foteini Baldimtsi The power of Blockchain: Smart Contracts Foteini Baldimtsi The Blockchain at the heart of a cryptocurrency Alice sends 2 John sends 1 Dave sends 5 to Bob to Eve to Alice Bob sends 1 Eve sends 4 to Dave

More information

ZILLIQA / ZILIKƏ/ NEXT GEN HIGH-THROUGHPUT BLOCKCHAIN PLATFORM DONG XINSHU, CEO JIA YAOQI, BLOCKCHAIN ZILLIQA.

ZILLIQA / ZILIKƏ/ NEXT GEN HIGH-THROUGHPUT BLOCKCHAIN PLATFORM DONG XINSHU, CEO JIA YAOQI, BLOCKCHAIN ZILLIQA. ZILLIQA / ZILIKƏ/ NEXT GEN HIGH-THROUGHPUT BLOCKCHAIN PLATFORM DONG XINSHU, CEO JIA YAOQI, BLOCKCHAIN ARCHITECT SCALABILITY OF PUBLIC BLOCKCHAIN BITCOIN 7 TX/S ETHEREUM 10 TX/S VISA 8000 TX/S SOME EXISTING

More information

Ethereum. Smart Contracts Programming Model

Ethereum. Smart Contracts Programming Model Cryptocurrency Technologies Recall: Bitcoin scripting: non Turing-complete limited/limiting Solutions: Add application-specific functionality in scripting of altcoin Create altcoin with Turing-complete

More information

Wormhole: A Smart Contract Solution for Bitcoin Cash

Wormhole: A Smart Contract Solution for Bitcoin Cash Wormhole: A Smart Contract Solution for Bitcoin Cash Abstract Born at block height 478,558, Bitcoin Cash (BCH) has been dedicated to bringing a reliable electronic cash to the world and fulfilling Satoshi

More information

Implementing and Mechanically Verifying Smart Contracts

Implementing and Mechanically Verifying Smart Contracts Implementing and Mechanically Verifying Smart Contracts Ilya Sergey ilyasergey.net Smart Contracts Stateful mutable objects replicated via a (Byzantine) consensus protocol State typically involves a stored

More information

Page Total

Page Total Page 2 3 4 5 6 7 8 9 Total Mark FIRST NAME LAST (FAMILY) NAME STUDENT NUMBER INSE 6630 Fall 2017 Duration: 3 hours One single-sided letter-sized reference sheet of paper is allowed Write answers in the

More information

Ethereum Computation Market Documentation

Ethereum Computation Market Documentation Ethereum Computation Market Documentation Release 0.1.0 Piper Merriam July 27, 2016 Contents 1 What is it? 3 2 Overview 5 3 Markets 9 4 Computation Requests 11 5 Challenging Answers 15 6 On Chain Computation

More information

A living programming environment for a living blockchain

A living programming environment for a living blockchain A living programming environment for a living blockchain by Santiago Bragagnolo - PharoDays - 2017 santiago.bragagnolo@gmail.com santiago.bragagnolo@inria.fr skype:santiago.bragagnolo @sbragagnolo Disclaimer!

More information

Lecture 10. A2 - will post tonight - due in two weeks

Lecture 10. A2 - will post tonight - due in two weeks Lecture 10 A2 - will post tonight - due in two weeks The DAO - $72M USD in Ether Decentralized Dragon's Den or Shark's Tank A pot of money that you could contribute to and receive voting shares for You

More information

An Analysis of Atomic Swaps on and between Ethereum Blockchains Research Project I

An Analysis of Atomic Swaps on and between Ethereum Blockchains Research Project I An Analysis of Atomic Swaps on and between Ethereum Blockchains Research Project I Master of System and Network Engineering Informatics Institute, University of Amsterdam Peter Bennink Lennart van Gijtenbeek

More information

Hyperledger Quilt and Interledger Protocol. Nathan Aw - Technical Ambassador Edmund To - Organizer of Hyperledger Meetup Hong Kong

Hyperledger Quilt and Interledger Protocol. Nathan Aw - Technical Ambassador Edmund To - Organizer of Hyperledger Meetup Hong Kong Hyperledger Quilt and Interledger Protocol Nathan Aw - Technical Ambassador Edmund To - Organizer of Hyperledger Meetup Hong Kong Housekeeping Road Map of 2018 - More meet ups! Thank you to our sponsor

More information

The Technology behind Smart Contracts

The Technology behind Smart Contracts The Technology behind Smart Contracts Florian Glaser, Chair of E-Finance, Information Systems Department Goethe University 01.09.2016 > Agenda Transactions in detail

More information

QWeSST. Type-Safe Web Programming. Thierry Sans and Iliano Cervesato. Carnegie Mellon University Qatar

QWeSST. Type-Safe Web Programming. Thierry Sans and Iliano Cervesato. Carnegie Mellon University Qatar QWeSST Type-Safe Web Programming Thierry Sans and Iliano Cervesato Carnegie Mellon University Qatar Katholieke Universiteit Leuven, Belgium 2 August 2011 Project Goal Study the foundations of web programming

More information

BLOCKCHAIN Blockchains and Transactions Part II A Deeper Dive

BLOCKCHAIN Blockchains and Transactions Part II A Deeper Dive BLOCKCHAIN Blockchains and Transactions Part II A Deeper Dive www.blockchaintrainingalliance.com Blockchain Page 3 Blockchain is NOT Bitcoin Page 4 Transactions Page 5 Multi-Signature Addresses An Address

More information

Hong Kong JavaScript and Node.js. Welcome

Hong Kong JavaScript and Node.js. Welcome Hong Kong JavaScript and Node.js Welcome Agenda Agenda Housekeeping Blockchains & JavaScript, Kevin Bluer Graph DB and Node.js - Building StackOverflow Clone, Song Cho Introduction to Promises, Kareem

More information

How to buy LIVE Token with Ethereum and Bitcoin step by step

How to buy LIVE Token with Ethereum and Bitcoin step by step How to buy LIVE Token with Ethereum and Bitcoin step by step Ethereum Step 1. Create new wallet. Go to https://www.myetherwallet.com/, think of a strong password and enter it here: Click the button Create

More information

Ethereum. Campbell R. Harvey* Duke University and NBER. Ashwin Ramachandran Duke University. Brent Xu ConsenSys. Innovation and Cryptoventures

Ethereum. Campbell R. Harvey* Duke University and NBER. Ashwin Ramachandran Duke University. Brent Xu ConsenSys. Innovation and Cryptoventures Innovation and Cryptoventures Ethereum Campbell R. Harvey* Duke University and NBER Ashwin Ramachandran Duke University Brent Xu ConsenSys February 12, 2018 1 2 Overview Ethereum Basics Under the hood

More information

BLOCKCHAIN CADEC Pär Wenåker & Peter Larsson

BLOCKCHAIN CADEC Pär Wenåker & Peter Larsson BLOCKCHAIN CADEC 2018 - Pär Wenåker & Peter Larsson BITCOIN BITCOIN PAPER Posted 31/10 2008 Bitcoin v0.1 released Satoshi Nakamoto satoshi at vistomail.com Thu Jan 8 14:27:40 EST 2009 Previous message:

More information

The Pact Smart-Contract Language

The Pact Smart-Contract Language The Pact Smart-Contract Language Stuart Popejoy @SirLensALot Revision v1.5 June 2017 Introduction Pact is a new programming language for writing smart contracts to be executed by a blockchain,

More information

A Lap around Cryptlets

A Lap around Cryptlets A Lap around Cryptlets Bletchley Marley Gray Principle Architect Program Manager Azure Blockchain Engineering September 2016 1 Microsoft & Ethereum First for both platforms started together DevCon1 & 2

More information

ETHEREUM META. Whitepaper 2018/2019. A decentralized token with privacy features. Ethereum Meta team

ETHEREUM META. Whitepaper 2018/2019. A decentralized token with privacy features. Ethereum Meta team ETHEREUM META A decentralized token with privacy features Ethereum Meta team Whitepaper 2018/2019 Table of contents 1. Introduction 2. Goal 3. Economic model 4. How it works 5. Specifications 6. Zero-

More information

Technical Analysis of Established Blockchain Systems

Technical Analysis of Established Blockchain Systems Technical Analysis of Established Blockchain Systems Florian Haffke, 20.11.2017, Munich Chair of Software Engineering for Business Information Systems (sebis) Faculty of Informatics Technische Universität

More information

A SYSTEM FOR ENABLING SHORT-TERM FINANCING

A SYSTEM FOR ENABLING SHORT-TERM FINANCING A SYSTEM FOR ENABLING SHORT-TERM FINANCING 5 The present invention relates generally to a system and method for enabling short-term financing, and finds particular, although not exclusive, utility in invoice

More information

Abstraction: Distributed Ledger

Abstraction: Distributed Ledger Bitcoin 2 Abstraction: Distributed Ledger 3 Implementation: Blockchain this happened this happened this happen hashes & signatures hashes & signatures hashes signatu 4 Implementation: Blockchain this happened

More information

What s new under the blockchain sun. HYPERLEDGER FABRIC AND A SHORT SURVEY OF INTERLEDGER. DIDIER PH MARTIN, PHD.

What s new under the blockchain sun. HYPERLEDGER FABRIC AND A SHORT SURVEY OF INTERLEDGER. DIDIER PH MARTIN, PHD. What s new under the blockchain sun. HYPERLEDGER FABRIC AND A SHORT SURVEY OF INTERLEDGER. DIDIER PH MARTIN, PHD. Where do come from? BITCOIN = MONEY BLOCKCHAIN NETWORK ETHEREUM = PROGRAMMABLE BLOCKCHAIN

More information

Programming Languages Lecture 15: Recursive Types & Subtyping

Programming Languages Lecture 15: Recursive Types & Subtyping CSE 230: Winter 2008 Principles of Programming Languages Lecture 15: Recursive Types & Subtyping Ranjit Jhala UC San Diego News? Formalize first-order type systems Simple types (integers and booleans)

More information

Safe Smart Contract Programming with Scilla

Safe Smart Contract Programming with Scilla Safe Smart Contract Programming with Scilla Ilya Sergey Associate Professor, Yale-NUS College Lead Language Designer, Zilliqa http://ilyasergey.net Smart Contracts Stateful mutable objects replicated via

More information

Ergo platform: from prototypes to a survivable cryptocurrency

Ergo platform: from prototypes to a survivable cryptocurrency January 2019 Dmitry Meshkov Ergo platform: from prototypes to a survivable cryptocurrency Outline Ergo Consensus Light Storage vision protocol clients fee Voting Smart Monetary Roadmap system contracts

More information

Blockchain Frameworks

Blockchain Frameworks TechWatch Report Blockchain Frameworks Date: March 2018 Contributors: Hemant Sachdeva, Subhrojit Nag Contents 1 Objective... 3 2 Capabilities... 3 2.1 Consensus and Incentive Mechanism... 3 2.2 Limitation

More information

Decentralized Database for Developers. White Paper v March 31,2018

Decentralized Database for Developers. White Paper v March 31,2018 Decentralized Database for Developers White Paper v 1.01 March 31,2018 Content Introduction 3 Problem 3 Solution 4 Solutions Landscape 5 The Xuma Benefits 6 Market Opportunity 6 Database Evolution 7 Xuma

More information

Game Monetization based on Cryptocurrencies and Blockchains

Game Monetization based on Cryptocurrencies and Blockchains Game Monetization based on Cryptocurrencies and Blockchains Luciano Silva Universidade Presbiteriana Mackenzie Laboratório de Computação Visual (LCV) Faculdade de Computação e Informática São Paulo Brasil

More information

Synapse: Decentralized Intelligence

Synapse: Decentralized Intelligence Synapse: Decentralized Intelligence A Decentralized Data and Machine Learning Network Dan P. Gailey Version 1.0 Abstract Discusses the architecture and protocol specifications for building the infrastructure

More information

Short review of the Coinmama.com. Registration on the Coinmama

Short review of the Coinmama.com. Registration on the Coinmama Short review of the Coinmama.com Coinmama is not an exchange in its' usual sense. Here you can only buy currency, so its' more like a currency exchanger. The platform doesn t have the built-in wallet and

More information

Formally Specifying Blockchain Protocols

Formally Specifying Blockchain Protocols Formally Specifying Blockchain Protocols 1 IOHK company building blockchain applications research focused invested in functional programming built Cardano network, Ada cryptocurrency 2 Blockchain Protocols

More information

Introduction to Blockchain

Introduction to Blockchain Diogo Trentini e Lauro Gripa Neto Introduction to Blockchain www.magrathealabs.com source: Scott Adams' Dilbert source: Gartner Inc. SUMMARY 1. 2. 3. 4. 5. Introduction Theoretical concepts Applications

More information

ICO Review: Raiden Network (RDN)

ICO Review: Raiden Network (RDN) ICO Review: Raiden Network (RDN) Scalable Transfers for Ethereum October 10, 2017 What is Raiden Network? Raiden is an payment network built on top of the Ethereum network. PAYMENT CHANNEL NETWORK It aims

More information

Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains

Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains Authors: Stefan Tai, Jacob Eberhardt and Markus Klems Presentation by: Georgiou Zacharias and Paschalides Demetris 1 Overview

More information

FiiiCOIN. Yellow Paper. FiiiCOIN Yellow Paper v0.01. A versatile, scalable and energy efficient blockchain technology. Authors.

FiiiCOIN. Yellow Paper. FiiiCOIN Yellow Paper v0.01. A versatile, scalable and energy efficient blockchain technology. Authors. FiiiCOIN A versatile, scalable and energy efficient blockchain technology Yellow Paper Authors Sylvester Lee CTO & Founder John Liu Solutions Architect 1 P a g e Abstract FiiiCoin is a transaction network

More information

Consensus & Blockchain

Consensus & Blockchain Consensus & Blockchain S P Suresh Chennai Mathematical Institute Formal Methods Update Meeting IIT Mandi July 17, 2017 The Bitcoin revolution is upon us What is Bitcoin? Bitcoin: an exciting new currency

More information

Set: Hub-and-Spoke Cryptographic Payment Channels

Set: Hub-and-Spoke Cryptographic Payment Channels Set: Hub-and-Spoke Cryptographic Payment Channels v0.0.1 Nathan Ginnever: nathan@finalitylabs.io Abstract Here we outline the Set-Payment channel protocol (In a later paper we incrementally extend Set

More information

Ergo platform. Dmitry Meshkov

Ergo platform. Dmitry Meshkov Ergo platform Dmitry Meshkov Prehistory Motivation Theory Practice Provably secure 1000 currencies New features Ad-hoc solutions Impractical Security issues Motivation Theory Provably secure New features

More information

Will Martino (me) Kadena

Will Martino (me) Kadena Background Will Martino (me) Focus mostly on consensus + formal verification At JPM: Juno Lead SEC: Founding Tech Lead for the Distributed Ledger Technology Working Group Kadena Founded in 2016 by the

More information

kasko2go Token Contract Audit

kasko2go Token Contract Audit Version 1.0 / 17.04.2018 kasko2go Token Contract Audit inacta AG Eugen Lechner Cédric Walter Index 1. Introduction 2 2. Scope 2 3. Executive Summary

More information

Blockchain (a.k.a. the slowest, most fascinating database you ll ever see)

Blockchain (a.k.a. the slowest, most fascinating database you ll ever see) Blockchain (a.k.a. the slowest, most fascinating database you ll ever see) GOTO Amsterdam 13 June, 2017 Stefan Tilkov, @stilkov I don t know Blockchain and so can you 1. Bitcoin > Practical application

More information

Learn Blockchain Programming. Ali Dorri

Learn Blockchain Programming. Ali Dorri Learn Blockchain Programming Ali Dorri Traditional Programming Server runs the code User may or may not know the code Complicated algorithms Database Code to be executed Request Response DApps: Distributed

More information

TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY INTRODUCTION HOW TO BUY LION HOW TO BUY LION WITH METAMASK

TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY INTRODUCTION HOW TO BUY LION HOW TO BUY LION WITH METAMASK TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY... 2 2.0 INTRODUCTION... 3 3.0 HOW TO BUY LION... 3 3.1 HOW TO BUY LION WITH METAMASK... 3 3.2 HOW TO BUY LION WITH MYETHERWALLET... 5 4.0 HOW TO CHECK YOUR LION

More information

TxVM. A New Design for Blockchain Transactions

TxVM. A New Design for Blockchain Transactions TxVM A New Design for Blockchain Transactions Bob Glickstein, Cathie Yun, Dan Robinson, Keith Rarick, Oleg Andreev {bobg, cathie, dan, kr, oleg}@chain.com Chain March 2018 Abstract We present a new design

More information

Hyperledger fabric: towards scalable blockchain for business

Hyperledger fabric: towards scalable blockchain for business Marko Vukolić, IBM Research - Zurich Hyperledger fabric: towards scalable blockchain for business Trust in Digital Life The Hague, Netherlands, June 17 2016 Blockchain shared, replicated, ledger Consensus

More information

Wanchain Hackathon Handbook San Jose

Wanchain Hackathon Handbook San Jose Body Level One Body Level Two Body Level Three Body Level Four Body Level Five Wanchain Hackathon Handbook San Jose Developing Wanchain Applications & Hackathon Challenge Proposals Presenter: Weijia Zhang,

More information

Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts. Yashar Dehkan Asl

Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts. Yashar Dehkan Asl Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts Yashar Dehkan Asl Chapter I Introduction Decentralized Cryptocurrencies: Such as Bitcoin and altcoins are getting more

More information

JoinMarket -or- Finding a Risk-Free Rate for Bitcoin

JoinMarket -or- Finding a Risk-Free Rate for Bitcoin JoinMarket -or- Finding a Risk-Free Rate for Bitcoin Adlai Chandrasekhar JoinMarket Contributor Scaling Bitcoin 2016 - Milan Once, however, money has been digitized, one of the services available for purchase

More information

A formal model of Bitcoin transactions

A formal model of Bitcoin transactions A formal model of Bitcoin transactions Nicola Atzei 1, Massimo Bartoletti 1, Stefano Lande 1, Roberto Zunino 2 1 Università degli Studi di Cagliari, Cagliari, Italy 2 Università degli Studi di Trento,

More information

Gnosis Safe Documentation. Gnosis

Gnosis Safe Documentation. Gnosis Gnosis Aug 14, 2018 Content 1 Learn more about Gnosis Safe 3 1.1 Smart Contract Overview........................................ 3 1.2 Services Overview............................................ 10

More information

Distributed Ledger Technology & Fintech Applications. Hart Montgomery, NFIC 2017

Distributed Ledger Technology & Fintech Applications. Hart Montgomery, NFIC 2017 Distributed Ledger Technology & Fintech Applications Hart Montgomery, NFIC 2017 Let s consider a common scenario: Banks want to trade some asset class Participants in the market want to be able to efficiently

More information

Wanchain Documentation

Wanchain Documentation Wanchain Documentation Release 1.0 WAnchain community Jul 31, 2018 Contents 1 Contents 3 1.1 Introduction............................................. 3 1.1.1 What is Wanchain?.....................................

More information

Lecture content. Course goals. Course Introduction. TDDA69 Data and Program Structure Introduction

Lecture content. Course goals. Course Introduction. TDDA69 Data and Program Structure Introduction Lecture content TDDA69 Data and Program Structure Introduction Cyrille Berger Course Introduction to the different Programming Paradigm The different programming paradigm Why different paradigms? Introduction

More information

Token White Paper. Global marketplace based on Block chain for small-scale business I ver P a g e

Token White Paper. Global marketplace based on Block chain for small-scale business I ver P a g e Token White Paper Global marketplace based on Block chain for small-scale business 1 P a g e 2018 I ver. 1.0 Contents Qatar Coin Token 3 Contents 4 1. What is QatarCoin 5 2. What is a digital currency

More information

CS 251: Bitcoin and Crypto Currencies Fall 2015

CS 251: Bitcoin and Crypto Currencies Fall 2015 CS 251: Bitcoin and Crypto Currencies Fall 2015 Final Exam The exam is open book and open notes. You have 2 hours. Please answer all five questions. All questions are weighted equally. You may use course

More information

CS 565: Programming Languages. Spring 2008 Tu, Th: 16:30-17:45 Room LWSN 1106

CS 565: Programming Languages. Spring 2008 Tu, Th: 16:30-17:45 Room LWSN 1106 CS 565: Programming Languages Spring 2008 Tu, Th: 16:30-17:45 Room LWSN 1106 Administrivia Who am I? Course web page http://www.cs.purdue.edu/homes/peugster/cs565spring08/ Office hours By appointment Main

More information

Pillar Token Code Review

Pillar Token Code Review Pillar Token Code Review July 14, 2017 Prepared By: Kshitish Balhotra Independent Reviewers Umesh Kushwaha, Bhavish Balhotra kshitish@dltlabs.io dltlabs.io Table of Contents I. Introduction... 2 II. Overview...

More information

Blockchain and Additive Manufacturing

Blockchain and Additive Manufacturing Blockchain and Additive Manufacturing January 10, 2019 Presentation to the South Texas Section, AIChE Lisa M. Smith Chief Corporate Development Officer Data Gumbo Corporation Blockchain Basics Data Gumbo

More information

Blockhead Open Service Broker Jonathan Berkhahn Swetha Repakula IBM

Blockhead Open Service Broker Jonathan Berkhahn Swetha Repakula IBM Blockhead Open Service Broker Jonathan Berkhahn Swetha Repakula IBM The Blockhead Open Service Broker Jonathan Berkhahn: jaberkha@us.ibm.com Swetha Repakula: srepaku@us.ibm.com IBM Blockchain 3 1. Deploy

More information

Caterpillar: A Blockchain-Based Business Process Management System

Caterpillar: A Blockchain-Based Business Process Management System Caterpillar: A Blockchain-Based Business Process Management System Orlenys López-Pintado 1 and Luciano García-Bañuelos 1 and Marlon Dumas 1 and Ingo Weber 2 1 University of Tartu, Estonia Orlenys.Lopez.Pintado@tudeng.ut.ee,

More information

Key Security Issues for implementation of Digital Currency, including ITU-T SG17 activities

Key Security Issues for implementation of Digital Currency, including ITU-T SG17 activities ITU Workshop on FG DFC Workshop on Standards for Digital Fiat Currency (DFC) () Key Issues for implementation of Digital Currency, including ITU-T SG17 activities Heung Youl Youm, PhD. Chairman of ITU-T

More information

Subtyping. Lecture 13 CS 565 3/27/06

Subtyping. Lecture 13 CS 565 3/27/06 Subtyping Lecture 13 CS 565 3/27/06 Polymorphism Different varieties of polymorphism: Parametric (ML) type variables are abstract, and used to encode the fact that the same term can be used in many different

More information

Privacy-Enabled NFTs: User-Mintable, Non-Fungible Tokens With Private Off-Chain Data

Privacy-Enabled NFTs: User-Mintable, Non-Fungible Tokens With Private Off-Chain Data Privacy-Enabled NFTs: User-Mintable, Non-Fungible Tokens With Private Off-Chain Data Philip Stehlik Lucas Vogelsang August 8, 2018 1 Abstract Privacy-enabled NFTs (non-fungible tokens) are user-mintable

More information

Wanchain Documentation

Wanchain Documentation Wanchain Documentation Release 1.0 WAnchain community Dec 28, 2018 Contents 1 Contents 3 1.1 Introduction............................................. 3 1.1.1 What is Wanchain?.....................................

More information

Interledger. Internetworking for Money. Evan Schwartz Engineer at Ripple Co-Inventor of Interledger

Interledger. Internetworking for Money. Evan Schwartz Engineer at Ripple Co-Inventor of Interledger Interledger Internetworking for Money Evan Schwartz Engineer at Ripple Co-Inventor of Interledger Payments are broken. Accepting Payments in a Turkish Starbucks Accepting Payments OnlinePayments Online

More information

Programming Languages

Programming Languages CSE 230: Winter 2008 Principles of Programming Languages Ocaml/HW #3 Q-A Session Push deadline = Mar 10 Session Mon 3pm? Lecture 15: Type Systems Ranjit Jhala UC San Diego Why Typed Languages? Development

More information

Upgrading Bitcoin: Segregated Witness. Dr. Johnson Lau Bitcoin Core Contributor Co-author of Segregated Witness BIPs March-2016

Upgrading Bitcoin: Segregated Witness. Dr. Johnson Lau Bitcoin Core Contributor Co-author of Segregated Witness BIPs March-2016 Upgrading Bitcoin: Segregated Witness Dr. Johnson Lau Bitcoin Core Contributor Co-author of Segregated Witness BIPs 141-143 16-March-2016 Topics A short introduction to Bitcoin transactions What is transaction

More information

Privacy based Public Key Infrastructure (PKI) using Smart Contract in Blockchain Technology

Privacy based Public Key Infrastructure (PKI) using Smart Contract in Blockchain Technology 2 nd Advanced Workshop on Blockchain, IIT Bombay Privacy based Public Key Infrastructure (PKI) using Smart Contract in Blockchain Technology Sivakumar.P M.Tech (CSE), Sem-III, NIT Trichy Guide:- Dr Kunwar

More information

Smart Contracts. Philip Wadler University of Edinburgh IOHK, Lisbon Wednesday 17 January 2018

Smart Contracts. Philip Wadler University of Edinburgh IOHK, Lisbon Wednesday 17 January 2018 Smart Contracts Philip Wadler University of Edinburgh IOHK, Lisbon Wednesday 17 January 2018 (Thanks to Bruce Milligan) Plutus, Plutus Core, and IELE Plutus factorial : Integer -> Integer factorial n

More information

Subtyping (cont) Lecture 15 CS 565 4/3/08

Subtyping (cont) Lecture 15 CS 565 4/3/08 Subtyping (cont) Lecture 15 CS 565 4/3/08 Formalization of Subtyping Inversion of the subtype relation: If σ

More information

ISSUSE AND FEATURES TO CONSIDER WHEN SELECTING A BLOCKCHAIN SYSTEM. Find us at

ISSUSE AND FEATURES TO CONSIDER WHEN SELECTING A BLOCKCHAIN SYSTEM. Find us at ISSUSE AND FEATURES TO CONSIDER WHEN SELECTING A BLOCKCHAIN SYSTEM Find us at www.chainfrog.com Licenses Most blockchains are open-source (and you should not select a closed source one) If you are going

More information

Ergo platform overview

Ergo platform overview December 2018 Dmitry Meshkov Ergo platform overview Outline Ergo vision Decentralization Survivability Applicability Roadmap 2 Part 1 Ergo vision 3 History Research and Scorex framework development Testnet

More information

Bitcoin (Part I) Ken Calvert Keeping Current Seminar 22 January Keeping Current 1

Bitcoin (Part I) Ken Calvert Keeping Current Seminar 22 January Keeping Current 1 Bitcoin (Part I) Ken Calvert Keeping Current Seminar 22 January 2014 2014.01.22 Keeping Current 1 Questions What problem is Bitcoin solving? Where did it come from? How does the system work? What makes

More information

Grafting Functional Support on Top of an Imperative Language

Grafting Functional Support on Top of an Imperative Language Grafting Functional Support on Top of an Imperative Language How D 2.0 implements immutability and functional purity Andrei Alexandrescu Grafting Functional Support on Top of an Imperative Language p.

More information

Compilers: The goal. Safe. e : ASM

Compilers: The goal. Safe. e : ASM Compilers: The goal What s our goal with compilers? Take a high level language, turn it into a low level language In a semantics preserving way. e : ML Safe e : ASM 1 Compilers: The goal What s our goal

More information

Outline. Introduction Concepts and terminology The case for static typing. Implementing a static type system Basic typing relations Adding context

Outline. Introduction Concepts and terminology The case for static typing. Implementing a static type system Basic typing relations Adding context Types 1 / 15 Outline Introduction Concepts and terminology The case for static typing Implementing a static type system Basic typing relations Adding context 2 / 15 Types and type errors Type: a set of

More information

Ornaments in ML. Thomas Williams, Didier Rémy. April 18, Inria - Gallium

Ornaments in ML. Thomas Williams, Didier Rémy. April 18, Inria - Gallium Ornaments in ML Thomas Williams, Didier Rémy Inria - Gallium April 18, 2017 1 Motivation Two very similar functions let rec add m n = match m with Z n S m S (add m n) let rec append ml nl = match ml with

More information

TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY INTRODUCTION HOW TO BUY LION HOW TO BUY LION WITH METAMASK

TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY INTRODUCTION HOW TO BUY LION HOW TO BUY LION WITH METAMASK TABLE OF CONTENTS 1.0 TOKEN SALE SUMMARY... 2 2.0 INTRODUCTION... 3 3.0 HOW TO BUY LION... 3 3.1 HOW TO BUY LION WITH METAMASK... 3 3.2 HOW TO BUY LION WITH MYETHERWALLET... 5 4.0 HOW TO CHECK YOUR LION

More information

Radix - Tempo. Dan Hughes Abstract

Radix - Tempo. Dan Hughes   Abstract Radix - Tempo Monday 25 t h September, 2017 Dan Hughes www.radix.global Abstract In this paper we present a novel method for implementing a Distributed Ledger that preserves total order of events allowing

More information

Radix - Tempo. Dan Hughes

Radix - Tempo. Dan Hughes Radix - Tempo Dan Hughes 25 th September 2017 Abstract In this paper we present a novel method for implementing a Distributed Ledger that preserves total order of events allowing for the trustless transfer

More information

Some instance messages and methods

Some instance messages and methods Some instance messages and methods x ^x y ^y movedx: dx Dy: dy x

More information

Blockchains: new home for proven-correct software. Paris, Yoichi Hirai formal verification engineer, the Ethereum Foundation

Blockchains: new home for proven-correct software. Paris, Yoichi Hirai formal verification engineer, the Ethereum Foundation Blockchains: new home for proven-correct software Paris, 2017-2-17 Yoichi Hirai formal verification engineer, the Ethereum Foundation Lyon: 2014 January Have you heard of a web site where you can get Bitcoin

More information

University of Duisburg-Essen Bismarckstr Duisburg Germany HOW BITCOIN WORKS. Matthäus Wander. June 29, 2011

University of Duisburg-Essen Bismarckstr Duisburg Germany HOW BITCOIN WORKS. Matthäus Wander. June 29, 2011 University of Duisburg-Essen Bismarckstr. 90 47057 Duisburg Germany HOW BITCOIN WORKS June 29, 2011 Overview Electronic currency system Decentralized No trusted third party involved Unstructured peer-to-peer

More information

Asch. A decentralized application platform based on side-chain technology V1.0.2

Asch. A decentralized application platform based on side-chain technology V1.0.2 Asch A decentralized application platform based on side-chain technology V1.0.2 Table of contents Introduction... 3 Overview... 3 Decentralized Application... 3 About Sidechain... 3 About Asch Platform...

More information

A decentralized application platform based on side-chain technology

A decentralized application platform based on side-chain technology A decentralized application platform based on side-chain technology 1 Table of contents 1. Introduction 2. Overview a. Decentralized Application b. About Sidechain c. About BTW Platform d. Who Should Use

More information

Radix - Public Node Incentives

Radix - Public Node Incentives Radix - Public Node Incentives Dan Hughes Piers Ridyard www.radix.global December 2017 Abstract In this paper we present a novel method for implementing a mechanism to reward work carried out across a

More information

The promise and peril of smart contracts

The promise and peril of smart contracts The promise and peril of smart contracts Joseph Bonneau Department of Computer Science New York University Understanding smart contracts The Bitcoin ledger track (mostly) payments time Create 25 coins

More information

CS 251: Bitcoin and Cryptocurrencies Fall 2016

CS 251: Bitcoin and Cryptocurrencies Fall 2016 CS 251: Bitcoin and Cryptocurrencies Fall 2016 Homework 3 due : 2016-11-28, 23:59 via Gradescope (entry code M4YJ69 ) 1. Idioms of use: Consider the transaction graph in the figure below: rectangles represent

More information

Lecture 6. Mechanics of Bitcoin

Lecture 6. Mechanics of Bitcoin Lecture 6 Mechanics of Bitcoin Bitcoin transactions time An account-based ledger (not Bitcoin) Create 25 coins and credit to Alice ASSERTED BY MINERS SIMPLIFICATION: only one transaction per block time

More information

ICS 421 & ICS 690. Bitcoin & Blockchain. Assoc. Prof. Lipyeow Lim Information & Computer Sciences Department University of Hawai`i at Mānoa

ICS 421 & ICS 690. Bitcoin & Blockchain. Assoc. Prof. Lipyeow Lim Information & Computer Sciences Department University of Hawai`i at Mānoa ICS 421 & ICS 690 Bitcoin & Blockchain Assoc. Prof. Lipyeow Lim Information & Computer Sciences Department University of Hawai`i at Mānoa Accepted by: Overstock.com Expedia.com Newegg.com Tigerdirect.com

More information

First Class Rules and Generic Traversals for Program Transformation Languages

First Class Rules and Generic Traversals for Program Transformation Languages First Class Rules and Generic Traversals for Program Transformation Languages Eelco Dolstra edolstra@students.cs.uu.nl August 10, 2001 August 10, 2001 Introduction Goal: languages for writing program transformations

More information

Next Paradigm for Decentralized Apps. Table of Contents 1. Introduction 1. Color Spectrum Overview 3. Two-tier Architecture of Color Spectrum 4

Next Paradigm for Decentralized Apps. Table of Contents 1. Introduction 1. Color Spectrum Overview 3. Two-tier Architecture of Color Spectrum 4 Color Spectrum: Next Paradigm for Decentralized Apps Table of Contents Table of Contents 1 Introduction 1 Color Spectrum Overview 3 Two-tier Architecture of Color Spectrum 4 Clouds in Color Spectrum 4

More information

Blockchains and the Web

Blockchains and the Web Blockchains and the Web https://ipfs.io /ipns/ipfs.io @juanbenet 2016-06-29 0. 1. 2. multi formats IPLD 3. 0. 1. 2. multi formats IPLD 3. WEB 1.0 WEB 2.0 WEB 3.0 verifiable, decentralized applications

More information

Technical White Paper of. MOAC Mother of All Chains. June 8 th, 2017

Technical White Paper of. MOAC Mother of All Chains. June 8 th, 2017 Technical White Paper of MOAC Mother of All Chains June 8 th, 2017 [Abstract] MOAC is to design a scalable and resilient Blockchain that supports transactions, data access, control flow in a layered structure.

More information

Building Applications on the Ethereum Blockchain

Building Applications on the Ethereum Blockchain Building Applications on the Ethereum Blockchain Eoin Woods Endava @eoinwoodz licensed under a Creative Commons Attribution-ShareAlike 4.0 International License 1 Agenda Blockchain Recap Ethereum Application

More information

Principals of Blockchain technology - Digital Business Ecosystem Kick of meeting Helsinki

Principals of Blockchain technology - Digital Business Ecosystem Kick of meeting Helsinki Principals of Blockchain technology - Digital Business Ecosystem Kick of meeting 25.2.2016 Helsinki Dr. Kari Korpela, Information Logistics Integration School of Business and Management Lappeenranta University

More information