The Technology behind Smart Contracts

Size: px
Start display at page:

Download "The Technology behind Smart Contracts"

Transcription

1 The Technology behind Smart Contracts Florian Glaser, Chair of E-Finance, Information Systems Department Goethe University << People are corruptible, code is not. >>

2 Agenda Transactions in detail Decentralised applications Smart contracts DAOs Outlook

3 Transactions in Detail

4 Block Block contains transactions and meta data Blockchain: Transaction log of Bitcoin transactions Can be traced without gaps (auditability) Cannot be changed (immutability, fraud resistant) Block 51 Proof of Work: vvv Previous Block: qrza1 Transaction lk54lfvx Transaction 09345w1d Transaction vc4232v32 Block 52 Proof of Work: zzzxyzx5 Previous Block: vvv Transaction lk54lfvx Transaction 09345w1d Transaction vc4232v32 Block 53 Proof of Work: b41bx Previous Block: zzzxyzx5 Transaction lk54lfvx Transaction 09345w1d Transaction vc4232v32 Feature Chain: Token transactions as primary purpose Example: Bitcoin

5 Transaction (Tx) Requires proof of ownership from sender by digital signature Digitally signed: Only current owner can transfer ownership to next transaction Unspent Transaction Output (UTXO) used as Input for every Tx Source: Nakamoto (2008)

6 Transaction Creation Process 1. Create empty Tx 2. Select (unspent) outputs as inputs 3. Create outputs (target_address, amount) 4. Define output spending condition Small script (OP_CODES) Simple example: Only account who can prove to own target_address can use this output as input 5. Sign Tx 6. Send Tx message to peer node(s)

7 Meta Protocols Output scripts can contain arbitrary data to implement additional protocols (e.g. asset issuance) to store additional data on the blockchain Transaction Tx Inputs Nr Tx Inputs Tx Outputs Nr Tx Outputs Tx Input Prev Output scriptsig Tx Output Value scriptpubkey Prev Output Tx Reference Hash Script Meta Protocols To implement smart contracts on UTXO / Feature Chains Origin of decentralised applications (DApps) Index OP_CHECKSIG 0x3045h5jks9023hjk2439d09 OP_RETURN <protocol data> (Meta) Protocol data Protocol Identifier Version Number Transfer/Issuance Instructions: amount, percent Source: own analysis

8 Decentralised Applications

9 Traditional Applications Server(s) as a single point of failure Censorship Manipulation of code/storage Operator must be trusted

10 DApps on a Blockchain Zero Trust Open source Decentralized Autonomous only into the code base/developers.

11 DApp Examples Property + Provenance Token Systems & Currencies Decentralized Exchanges Financial Derivative Contracts Crowdfunding Identity + Reputation Systems

12 DApps are hard Needed: Public Blockchain Bootstrap own blockchain? Meta-protocol on top of Bitcoin? Problems Effort to get started Interoperability Higher layer standards

13 Ethereum as DApp Platform DApps share a single Blockchain Turing complete VM instead of scripts Code execution (Loops!) Storage Smart Contracts Interoperability/Interaction by design

14 Ethereum Overview

15 Blocks {TX1, TX2 } in a Blockchain Transaction {to, from, value, data, sig} Accounts {balance, code, storage} Gas as fuel for code execution

16 A System similar to Bitcoin but with fully fledged smart contracts and not a UTXO System

17 Smart Contracts

18 Smart Contracts Live in the Blockchain activated only when receiving a Tx Address, Balance, Code, Storage Can send + receive Tx

19 Source: Glaser 2017 Where Smart Contracts live

20 Creating Contracts

21 Write Code: Solidity, Serpent, LLL [, Python] Compile: Deploy: Transaction To: 0x , Nonce: 1, Value: 2000, Gas: 1000, Gasprice: 5, Data: TXVALUE Push 25, Signature: v,r,s Creates New Smart Contract New Account Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: []

22 Calling Contracts

23 Contract Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [] State 1 Transaction To: a8ead97f..., Nonce: 2, Value: 0, Gas: 1000, Gasprice: 5, Data: George 42, Signature: v,r,s, Hash: d1936afe6 Virtual Machine: State Transition Performed by every node for every Tx in a Block. Contract Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [George 42] State 2

24 UTXO vs Account State Systems Bitcoin as a state Tx transition system (UTXO) State 1 Transaction State 2 14c5f8ba:7 3ce6f712:2 5ad59065:0 7b53ab84:1 892bb91f:5 Spend: 7b53ab84:1 3ce6f712:2 Create: bb75a980:3 Sig: 3df4kjth3kj39903j 3o ga 784lkj45l23423l4k j23lk4j2l3k4j3k3hf 14c5f8ba:7 5ad59065:0 bb75a980:3 892bb91f:0 Ethereum as a generalized state transition system State 1 14c5f8ba: eth 3ce6f712: eth [ALICE, BOB, CHARLIE] bb75a980 : - 35 eth Transaction From: 14c5f88a To: bb75a980 Value: 10 Data: [ ] Sig: 349df89506sd52gkljlkie7652k y0wue fgh66j75od55f State 2 14c5f8ba: eth 3ce6f712: eth [ALICE, BOB, CHARLIE] bb75a980 : - 45 eth

25 Sub-Calls Data Feed Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [ ] Hedging Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [ ] Transaction To: a8ead97f..., Nonce: 3, Value: 0, Gas: 1000, Gasprice: 5, Data: 1020:13:W, Signature: v,r,s, Hash: d1936afe6 Exchange Contract Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [] Reputation Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [ ] Registrar Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [ ] Escrow Address: a8ead97f..., Nonce: 0, Value: 2000, code: TXVALUE Push 25, Storage: [ ]

26 Halting Problem will it run forever?

27 gas as the fuel for running contracts Each operation (memory, calculation) Cost: gas-used * gas-price To pay upfront, remainings are refunded Estimation of gas/gas-price Required input for TXs

28 Common Pitfalls

29 Smart Contract Limitations No number crunching, No Counter-Strike No Dropbox [?] All data is public [yet] Cannot not access external data

30 but use Data Feeds! Feed external data to dedicated contract (oracle) No trust in external data Schelling Coin mechanism: Transaction Transaction Transaction Transaction Value [Reward] EUR/USD Address: a8ead97f..., Nonce: 0, Value: 0, code: TXVALUE Push 25, Storage: [0.30] Or: Data signed by Bloomberg/Reuters >75% = 0.3 Reward range

31 Development Pitfalls No [proven] contract design patterns No deployment best practices Smart contract security

32 Environment Pitfalls Introduction of complex technology Transfer of trust to interfaces Third party / cloud often more efficient

33 DAOs

34 Decentralized Autonomous Organization Idea: Organisation encoded in smart contracts on a blockchain Processes, Products proposed, decided and (en)coded by voting of particpants on the blockchain Payout/Reward porportionally shared on the blockchain TheDAO : Recent example of a DAO (Q2 2016) Highest crowdfunding result in history Or: the largest (inadvertent) bug-bounty-program in history

35 Source: adapted from slock.it

36 Issues Avoid minority abuse: Problem: Majority stakeholders could overrule minority Solution: Possibility for every investor to split a DAO Misuse of the split function: Funds of TheDAO were drained by indivdual attacker Irreversible transactions/executions on the blockchain Recall: DApps are hard! even for quite experienced smart contract developers even after public code reviews

37 Consequences Legal aspects of autonomous code unclear Differing reactions of Ethereum developers/community: Initial Event: 3.6 Million ETH drained to split DAOs A small group presents various solutions 5% pro Fork 1% con Fork 94% absent Authorities notified Assets frozen when discovered by end-point users (exchanges) Ethereum (ETH) Chain Redistribution to victims on hard forked chain FORK Ethereum Classic (ETC) Chain Redistribution to Victims without protocol level change Two blockchains: two sets of miners with differing protocols of Ethereum Source: adapted from

38 Outlook

39 State-Networks Scalability + Privacy solution Leverage state transitions off the blockchain Zero Knowledge Proofs Transaction privacy solution But: no smart contract privacy

40 Questions?

41 Florian Glaser Doctoral Student (Information Systems / E-Finance) Goethe University of Frankfurt Theodor-W.-Adorno-Platz Frankfurt, Germany fglaser@wiwi.uni-frankfurt.de Florian Glaser Researcher / Consultant brainbot technologies AG Taunusstrasse Mainz, Germany florian@brainbot.com

42 Backup

43 BTC Transaction Byte Signature

44 Source: slock.it

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

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

Bitcoin and Blockchain

Bitcoin and Blockchain Bitcoin and Blockchain COS 418: Distributed Systems Lecture 18 Zhenyu Song [Credit: Selected content adapted from Michael Freedman. Slides refined by Chris Hodsdon and Theano Stavrinos] Why Bitcoin? All

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

Who wants to be a millionaire? A class in creating your own cryptocurrency

Who wants to be a millionaire? A class in creating your own cryptocurrency DEVNET-3626 Who wants to be a millionaire? A class in creating your own cryptocurrency Tom Davies, Sr. Manager, DevNet Sandbox Vallard Benincosa, Software Engineer Cisco Spark How Questions? Use Cisco

More information

The Blockchain. Josh Vorick

The Blockchain. Josh Vorick The Blockchain Josh Vorick Bitcoin is a currency. Blockchain is a technology. What is a blockchain? A decentralized database that anyone can add to and no one can delete from The Bitcoin blockchain Agenda

More information

ENEE 457: E-Cash and Bitcoin

ENEE 457: E-Cash and Bitcoin ENEE 457: E-Cash and Bitcoin Charalampos (Babis) Papamanthou cpap@umd.edu Money today Any problems? Cash is cumbersome and can be forged Credit card transactions require centralized online bank are not

More information

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

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

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

Blockchain for Enterprise: A Security & Privacy Perspective through Hyperledger/fabric

Blockchain for Enterprise: A Security & Privacy Perspective through Hyperledger/fabric Blockchain for Enterprise: A Security & Privacy Perspective through Hyperledger/fabric Elli Androulaki Staff member, IBM Research, Zurich Workshop on cryptocurrencies Athens, 06.03.2016 Blockchain systems

More information

What is Bitcoin? How Bitcoin Works. Outline. Outline. Bitcoin. Problems with Centralization

What is Bitcoin? How Bitcoin Works. Outline. Outline. Bitcoin. Problems with Centralization What is Bitcoin? How Bitcoin Works Kai Brünnler Research Institute for Security in the Information Society Bern University of Applied Sciences Bitcoin an open-source software a peer-to-peer network a decentralized

More information

Key concepts of blockchain

Key concepts of blockchain Advisory A brief history of blockchains 2008 The mysterious Satoshi Nakamoto publishes his Bitcoin white paper 2014 2017 Nov. 23 rd Ethereum crowd sale Number of crypto tokens: 1.172 BTC $8.216 The first

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

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

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

Reliability, distributed consensus and blockchain COSC412

Reliability, distributed consensus and blockchain COSC412 Reliability, distributed consensus and blockchain COSC412 Learning objectives Encourage you to always design for failure Appreciate how decentralised consensus is useful to support principles of security

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

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

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

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

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 Bitcoin & Ethereum

Blockchain Bitcoin & Ethereum Blockchain Bitcoin & Ethereum Pascal.Urien@Telecom-ParisTech.fr Pascal Urien 1 "Bitcoin: A Peer-to-Peer Electronic Cash System." Satoshi Nakamoto In this paper, we propose a solution to the double-spending

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

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

Smart Contract Vulnerabilities The most interesting transactions on the Ethereum network

Smart Contract Vulnerabilities The most interesting transactions on the Ethereum network Smart Contract Vulnerabilities The most interesting transactions on the Ethereum network Hi! Hai! I m maurelian ConsenSys Diligence This talk will be: Storytelling meets vulnerability postmortems First,

More information

ICO Review: Etherparty (FUEL)

ICO Review: Etherparty (FUEL) ICO Review: Etherparty (FUEL) User-Friendly Smart Contract Compiler September 21, 2017 PROJECT OVERVIEW What is Etherparty? Etherparty makes smart contracts accessible to everyone without requiring programming

More information

Bitcoin/Blockchain. Workshop

Bitcoin/Blockchain. Workshop Prev : H() nonce: 2009 Prev : H() nonce: 13514 Prev : H() nonce: 80724 data data data Bitcoin/Blockchain Workshop Prashanth.B Founder, CEO, lastbit pb@lastbit.io Overview (Day 1 Hour 1) 1. An Introduction

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

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

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

Ensimag - 4MMSR Network Security Student Seminar. Bitcoin: A peer-to-peer Electronic Cash System Satoshi Nakamoto

Ensimag - 4MMSR Network Security Student Seminar. Bitcoin: A peer-to-peer Electronic Cash System Satoshi Nakamoto Ensimag - 4MMSR Network Security Student Seminar Bitcoin: A peer-to-peer Electronic Cash System Satoshi Nakamoto wafa.mbarek@ensimag.fr halima.myesser@ensimag.fr 1 Table of contents: I- Introduction: Classic

More information

DISTRIBUTED RESOURCE SHARING USING THE BLOCKCHAIN TECHNOLOGY ETHEREUM. A Project. California State University, Sacramento

DISTRIBUTED RESOURCE SHARING USING THE BLOCKCHAIN TECHNOLOGY ETHEREUM. A Project. California State University, Sacramento DISTRIBUTED RESOURCE SHARING USING THE BLOCKCHAIN TECHNOLOGY ETHEREUM A Project Presented to the faculty of the Department of Computer Science California State University, Sacramento Submitted in partial

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

Blockchain. CS 240: Computing Systems and Concurrency Lecture 20. Marco Canini

Blockchain. CS 240: Computing Systems and Concurrency Lecture 20. Marco Canini Blockchain CS 240: Computing Systems and Concurrency Lecture 20 Marco Canini Credits: Michael Freedman and Kyle Jamieson developed much of the original material. Bitcoin: 10,000 foot view New bitcoins

More information

Blockchains & Cryptocurrencies

Blockchains & Cryptocurrencies 1 Blockchains & Cryptocurrencies A Technical Introduction Lorenz Breidenbach ETH Zürich Cornell Tech The Initiative for CryptoCurrencies & Contracts (IC3) 2 Cryptocurrency Mania Market cap as of yesterday:

More information

Unblockable Chains. Is Blockchain the ultimate malicious infrastructure? Omer Zohar

Unblockable Chains. Is Blockchain the ultimate malicious infrastructure? Omer Zohar Unblockable Chains Is Blockchain the ultimate malicious infrastructure? Omer Zohar #WhoAmI Researching malware backbones for the past decade Following blockchain eco-system since 2013 Finally had some

More information

Introduction to Bitcoin I

Introduction to Bitcoin I Introduction to Bitcoin I P Peterlongo 1 A Tomasi 1 1 University of Trento Department of Mathematics June 10, 2013 Outline 1 Fiat and online payments Functions of Online payments and cost of clearing 2

More information

GENESIS VISION NETWORK

GENESIS VISION NETWORK GENESIS VISION NETWORK Contents 1. Description of the problem 7 11. Trust management 15 2. The problem with smart contracts 8 12. GVN Token 16 3. Centralised exchanges against decentralised 8 13. Deposit

More information

Defining the Ethereum Virtual Machine for Interactive Theorem Provers

Defining the Ethereum Virtual Machine for Interactive Theorem Provers Defining the Ethereum Virtual Machine for Interactive Theorem Provers Ethereum Foundation Workshop on Trusted Smart Contracts Malta, Apr. 7, 2017 1/32 Outline 1 2 3 Remaining Problems 4 2/32 Outline 1

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

Blockchain without Bitcoin. Muralidhar Gopinath October 19, 2017 University at Albany

Blockchain without Bitcoin. Muralidhar Gopinath October 19, 2017 University at Albany Blockchain without Bitcoin Muralidhar Gopinath October 19, 2017 University at Albany What is Blockchain? Contains records (blocks) that are linked (chained) to one another using cryptography Each block

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

Vladimir Groshev. COO, Project Coordinator.

Vladimir Groshev. COO, Project Coordinator. Vladimir Groshev COO, Project Coordinator If absolute anonymity and complete security is what you are looking for, Then SISHUB is what you need! 1. Anonymous STEEL Messenger 2. Built-in cryptocurrency

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

Chapter 13. Digital Cash. Information Security/System Security p. 570/626

Chapter 13. Digital Cash. Information Security/System Security p. 570/626 Chapter 13 Digital Cash Information Security/System Security p. 570/626 Introduction While cash is used in illegal activities such as bribing money laundering tax evasion it also protects privacy: not

More information

Bitcoin, a decentralized and trustless protocol

Bitcoin, a decentralized and trustless protocol Bitcoin, a decentralized and trustless protocol Thomas Sibut-Pinote Inria Saclay February 12, 2015 Thomas Sibut-Pinote Bitcoin, a decentralized and trustless protocol 1 / 42 Introduction Questions 1 Introduction

More information

Problem: Equivocation!

Problem: Equivocation! Bitcoin: 10,000 foot view Bitcoin and the Blockchain New bitcoins are created every ~10 min, owned by miner (more on this later) Thereafter, just keep record of transfers e.g., Alice pays Bob 1 BTC COS

More information

LECTURE 2 BLOCKCHAIN TECHNOLOGY EVOLUTION

LECTURE 2 BLOCKCHAIN TECHNOLOGY EVOLUTION LECTURE 2 BLOCKCHAIN TECHNOLOGY EVOLUTION THE PAST: THE VENDING MACHINE DAYS NEW USE CASES Namecoin 2011 Bytecoin 2012 Dogecoin 2013 Decentralized domain name service Privacy, first to use the CryptoNote

More information

Using Chains for what They re Good For

Using Chains for what They re Good For Using Chains for what They re Good For Andrew Poelstra usingchainsfor@wpsoftware.net Scaling Bitcoin, November 5, 2017 1 / 14 On-Chain Smart Contracting Bitcoin (and Ethereum, etc.) uses a scripting language

More information

ECC: Peer-to-Peer Electronic Cash with Trustless Network Services

ECC: Peer-to-Peer Electronic Cash with Trustless Network Services ECC: Peer-to-Peer Electronic Cash with Trustless Network Services Greg Griffith October 2017 (griffith@cryptounited.io) https://www.ecc.network ECC: Peer-to-Peer Electronic Cash with Trustless Network

More information

DIGITAL ASSET RESEARCH

DIGITAL ASSET RESEARCH Our Digital Assets Primer is a more in-depth look at the underlying technology behind digital assets, using two of the largest cryptocurrencies, in terms of network values, Bitcoin and Ethereum, as examples.

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

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

Nervos CKB: A common knowledge base for blockchains and applications

Nervos CKB: A common knowledge base for blockchains and applications Nervos CKB: A common knowledge base for blockchains and applications Draft Version Jan Xie Nervos.org January 2, 2018 Abstract This document provides an overview of the Nervos Common Knowledge Base (CKB),

More information

Biomedical Security. Cipher Block Chaining and Applications

Biomedical Security. Cipher Block Chaining and Applications 1 Biomedical Security Erwin M. Bakker 2 Cipher Block Chaining and Applications Slides and figures are adapted from: W. Stallings, Cryptography and Network Security 4 th Edition and 7 th Edition 1 3 Block

More information

The security and insecurity of blockchains and smart contracts

The security and insecurity of blockchains and smart contracts The security and insecurity of blockchains and smart contracts Jean-Pierre Flori, expert in cryptography, Agence Nationale de la Sécurité des Systèmes d Information (ANSSI) In J.P. Dardayrol, editor of

More information

page 2018 DashGold call rights reserved

page 2018 DashGold call rights reserved DashGold is a decentralized coin system that combines latest cryptocurrency technology with a P2P file sharing network to promote the consumption and purchases of the world s top 100 luxury brand products,

More information

Blockchain Certification Protocol (BCP)

Blockchain Certification Protocol (BCP) Blockchain Certification Protocol (BCP) Fu Yong Quah fuyong@fyquah.me www.fyquah.me Abstract. A semi-decentralized certification system built above the existing 1 Bitcoin network, an innovative peer-to-peer

More information

Biomedical and Healthcare Applications for Blockchain. Tiffany J. Callahan Computational Bioscience Program Hunter/Kahn Labs

Biomedical and Healthcare Applications for Blockchain. Tiffany J. Callahan Computational Bioscience Program Hunter/Kahn Labs Biomedical and Healthcare Applications for Blockchain Tiffany J. Callahan Computational Bioscience Program Hunter/Kahn Labs Network Analysis Working Group 01.25.2018 Outline Introduction to bitcoin + blockchain

More information

Mechanics of Bitcoin

Mechanics of Bitcoin Mechanics of Bitcoin Minsoo Ryu Hanyang University Outline Bitcoin Transactions Bitcoin Scripts Bitcoin Blocks Bitcoin Network Limitations and Improvements For more information, visit https://bitcoin.org/en/developer-reference#

More information

Blockchain! What consultants should know about it. Daniel

Blockchain! What consultants should know about it. Daniel Blockchain! What consultants should know about it. Daniel Karzel @ Workshop Overview Quick overview of what is planned for the workshop. What you get out of this workshop Workshop goals Understand what

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

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

Biomedical Security. Some Security News 10/5/2018. Erwin M. Bakker

Biomedical Security. Some Security News 10/5/2018. Erwin M. Bakker Biomedical Security Erwin M. Bakker Some Security News October 03, 2018 - Hackers attacking healthcare through remote access systems and disrupting operations is the number one patient safety risk, according

More information

Blockchain & Smart Contracts Introduction. Dr. Sebastian Bürgel

Blockchain & Smart Contracts Introduction. Dr. Sebastian Bürgel Blockchain & Smart Contracts Introduction Dr. Sebastian Bürgel Does the following make sense? State-of-the-Art Trade Finance (2017) http://blog.zuehlke.com/en/how-the-blockchain-can-disrupt-trade-finance/

More information

Blockstack, a New Internet for Decentralized Apps. Muneeb Ali

Blockstack, a New Internet for Decentralized Apps. Muneeb Ali Blockstack, a New Internet for Decentralized Apps Muneeb Ali The New Internet Problems with the traditional internet End-to-end design principle for the Internet. *1981 Saltzer, Reed, and Clark paper End-to-end

More information

How Bitcoin achieves Decentralization. How Bitcoin achieves Decentralization

How Bitcoin achieves Decentralization. How Bitcoin achieves Decentralization Centralization vs. Decentralization Distributed Consensus Consensus without Identity, using a Block Chain Incentives and Proof of Work Putting it all together Centralization vs. Decentralization Distributed

More information

Ethereum Consortium Blockchain in Azure Marketplace Christine Avanessians Senior Program Manager

Ethereum Consortium Blockchain in Azure Marketplace Christine Avanessians Senior Program Manager Ethereum Consortium Blockchain in Azure Marketplace Christine Avanessians Senior Program Manager Overview The next phase of our support of blockchain on Microsoft Azure is the release of the Ethereum Consortium

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

Rise Technology White Paper

Rise Technology White Paper Rise Technology White Paper Posted in White paper by Justin 1. Introduction 1. What is Rise We are Rise, a Lisk-based currency and distributed application platform heavily emphasizing security and ease

More information

BITCOIN PROTOCOL & CONSENSUS: A HIGH LEVEL OVERVIEW

BITCOIN PROTOCOL & CONSENSUS: A HIGH LEVEL OVERVIEW BITCOIN PROTOCOL & CONSENSUS: A HIGH LEVEL OVERVIEW Rustie Lin Wang Move the area1 over the image a little inside and then right click, replace image to change the background. (and delete this box while

More information

Software Security. Final Exam Preparation. Be aware, there is no guarantee for the correctness of the answers!

Software Security. Final Exam Preparation. Be aware, there is no guarantee for the correctness of the answers! Software Security Final Exam Preparation Note: This document contains the questions from the final exam on 09.06.2017. Additionally potential questions about Combinatorial Web Security Testing and Decentralized

More information

As a 3rd generation currency, not only are transactions secured, private and fast, you actually get paid for holding DigitalPrice coins.

As a 3rd generation currency, not only are transactions secured, private and fast, you actually get paid for holding DigitalPrice coins. Introduction With the circulation of cryptocurrency becoming common, there is a need for additional information. The scope of this white paper is to provide that information. If you are under the impression

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

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

A Blockchain-based Mapping System

A Blockchain-based Mapping System A Blockchain-based Mapping System IETF 98 Chicago March 2017 Jordi Paillissé, Albert Cabellos, Vina Ermagan, Fabio Maino jordip@ac.upc.edu http://openoverlayrouter.org 1 A short Blockchain tutorial 2 Blockchain

More information

The Future of Initial Coin Offerings

The Future of Initial Coin Offerings The Future of Initial Coin Offerings Wulf A. Kaal FinTank Chicago July 27, 2017 Slides available at: wulfkaal.com 1 Outline Case Study: Ties.Network ICO Basics ICO Trends Problems with ICOs Fixing ICOs

More information

VERSION: 1

VERSION: 1 HELLO@WEB3.FOUNDATION 20-09-2017 ERSION: 1 Introducing Table of Contents 3 The Existing Blockchain Landscape 5 The Polkadot Mission: Connect Blockchains 6 Interoperability 7 Scalability 8 Shared 9 The

More information

TREEBLOCK.IO. Version Author: Anh Le, Advisor: Dr. Rex Yeap. Creating a high performance IoT Blockchain Network

TREEBLOCK.IO. Version Author: Anh Le, Advisor: Dr. Rex Yeap. Creating a high performance IoT Blockchain Network TREEBLOCK.IO Version 1.3.2 Author: Anh Le, Advisor: Dr. Rex Yeap Creating a high performance IoT Blockchain Network Using Time Sharding Tree Architecture Prominent Value-Propositions 1. Multi-Millions

More information

EXECUTIVE PRODUCT SUMMARY

EXECUTIVE PRODUCT SUMMARY Enterprise Blockchain Infrastructure For Decentralized Internet EXECUTIVE PRODUCT SUMMARY August 10 th 2018 A product by Contents Opportunity....1 Introduction.... 2 Solution.... 3 Microservices Oriented

More information

Bitcoin, Security for Cloud & Big Data

Bitcoin, Security for Cloud & Big Data Bitcoin, Security for Cloud & Big Data CS 161: Computer Security Prof. David Wagner April 18, 2013 Bitcoin Public, distributed, peer-to-peer, hash-chained audit log of all transactions ( block chain ).

More information

COEN 241 Term Project. A Blockchain-based Cloud Service

COEN 241 Term Project. A Blockchain-based Cloud Service COEN 241 Term Project A Blockchain-based Cloud Service Submitted By : Team 2 Xiao Zhu, Yali Zhang Instructor : Prof. Ming Hwa Wang Santa Clara University Preface This project identifies the difficulties

More information

Introduction to Cryptoeconomics

Introduction to Cryptoeconomics Introduction to Cryptoeconomics What is cryptoeconomics? Cryptoeconomics is about... Building systems that have certain desired properties Use cryptography to prove properties about messages that happened

More information

Computer Security. 14. Blockchain & Bitcoin. Paul Krzyzanowski. Rutgers University. Spring 2019

Computer Security. 14. Blockchain & Bitcoin. Paul Krzyzanowski. Rutgers University. Spring 2019 Computer Security 14. Blockchain & Bitcoin Paul Krzyzanowski Rutgers University Spring 2019 April 15, 2019 CS 419 2019 Paul Krzyzanowski 1 Bitcoin & Blockchain Bitcoin cryptocurrency system Introduced

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

Whitepaper Rcoin Global

Whitepaper Rcoin Global Whitepaper Rcoin Global SUMMARY 1. Introduction 2. What is Rcoin Global? 3. Transactions 4. Hybrid Network Concept 5. Keepers 6. Incentive 7. Smart Contract Token 8. Token Distribution 9. Rcoin Global

More information

P2P BitCoin: Technical details

P2P BitCoin: Technical details ELT-53206 Peer-to-Peer Networks P2P BitCoin: Technical details Mathieu Devos Tampere University of Technology Department of Electronics & Communications Engineering mathieu.devos@tut.fi TG406 2 Outline

More information

An analysis of the applicability of blockchain to secure IP addresses allocation, delegation and bindings draft-paillisse-sidrops-blockchain-01

An analysis of the applicability of blockchain to secure IP addresses allocation, delegation and bindings draft-paillisse-sidrops-blockchain-01 An analysis of the applicability of blockchain to secure IP addresses allocation, delegation and bindings draft-paillisse-sidrops-blockchain-01 OPSEC - IETF 101 - London March 2018 Jordi Paillissé, Albert

More information

I. Introduction. II. Security, Coinage and Attacks

I. Introduction. II. Security, Coinage and Attacks Abstract Proof of Stake's security has proven itself over years of testing. Advances in this technology in Blackcoin's Proof-of-Stake 3.0 have solved the issues faced with Coin-Age, Block Reward and Blockchain

More information

Blockchain, Cryptocurrency, Smart Contracts and Initial Coin Offerings: A Technical Perspective

Blockchain, Cryptocurrency, Smart Contracts and Initial Coin Offerings: A Technical Perspective SESSION ID: LAB3-R09 Blockchain, Cryptocurrency, Smart Contracts and Initial Coin Offerings: A Technical Perspective Tom Plunkett Consulting Solutions Director Oracle Captain Brittany Snelgrove United

More information

hard to perform, easy to verify

hard to perform, easy to verify Proof of Stake The Role of PoW Bitcoin, Ethereum and similar systems are open, permissionless networks Anyone can participate The system must agree on some canonical order of transactions Think of this

More information

Catena: Preventing Lies with

Catena: Preventing Lies with November 28th, 2016 Catena: Preventing Lies with Alin Tomescu alinush@mit.edu MIT CSAIL Srinivas Devadas devadas@mit.edu MIT CSAIL New England Security Day (NESD), Fall '16 The problem: Equivocation The

More information

Introducing. Bitcoin. A dilettante s guide to Bitcoin scalability. BIP-9000 (self-assigned) Quote It s kind of fun to do the impossible.

Introducing. Bitcoin. A dilettante s guide to Bitcoin scalability. BIP-9000 (self-assigned) Quote It s kind of fun to do the impossible. Introducing Bitcoin 9000 A dilettante s guide to Bitcoin scalability. BIP-9000 (self-assigned) Quote It s kind of fun to do the impossible. Walt Disney Goal Safely scale Bitcoin to process over 9000 transactions.

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

CS 4770: Cryptography. CS 6750: Cryptography and Communication Security. Alina Oprea Associate Professor, CCIS Northeastern University

CS 4770: Cryptography. CS 6750: Cryptography and Communication Security. Alina Oprea Associate Professor, CCIS Northeastern University CS 4770: Cryptography CS 6750: Cryptography and Communication Security Alina Oprea Associate Professor, CCIS Northeastern University April 9 2018 Schedule HW 4 Due on Thu 04/12 Programming project 3 Due

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

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

Replay Attacks on Ethereum Smart Contracts. Zhenxuan Bai, Yuwei Zheng, Kunzhe Chai Senhua Wang

Replay Attacks on Ethereum Smart Contracts. Zhenxuan Bai, Yuwei Zheng, Kunzhe Chai Senhua Wang Replay Attacks on Ethereum Smart Contracts Zhenxuan Bai, Yuwei Zheng, Kunzhe Chai Senhua Wang About us 360 Technology is a leading Internet security company in China. Our core products are anti-virus security

More information