I TECHNOLOGY Blockchain Concepts Blockchain 20

Similar documents
Blockchain Developer TERM 1: FUNDAMENTALS. Blockchain Fundamentals. Project 1: Create Your Identity on Bitcoin Core. Become a blockchain developer

Blockchain Developers Course

Three-dimensional Scalable Blockchain instant transactions 100k+ on-chain real-time auto sharding

Blockchain & The Hollywood Supply Chain

Version 1.0. The Blockchain An architectural view

INTRODUCTION TO THE BLOCKCHAIN ERRIN ICT Working Group Meeting on Blockchain June 13, Javier Prieto IoT Digital Innovation Hub

Record Educational Certificates on Blockchain for Authentication and digital verification (Implementation of Proof-of-Concept)

DRAFT Dsion is. Startup Funding on Blockchain Platform

Komodo Platform Overview

Drupal and the Blockchain. by Thorsten Krug - Front-end Drupal Developer Eva Shon - UX Developer

Cisco Live /11/2016

primechain building blockchains for a better world

Introduction to Blockchain Technology

Alexandros Fragkiadakis, FORTH-ICS, Greece

LinkedIn /in/petkanic/

Jian Chan Australian Lead E:

Quality Assurance in Blockchain

Seminar Distributed Systems Blockchain: From Cryptocurrencies to Smart Contracts. Signe Rüsch

Ruschlikon embraces Blockchain technology

Blockchain and Internet of Things: Why a Perfect Match. Fabio Antonelli - Head of FBK - CREATE-NET Research Center

METAPROJECT OVERVIEW

A System-of-System Model

Blockchains as a Component of the Next Generation Internet

NASDAQ S BLOCKCHAIN AND THE ENABLEMENT OF COMPETITIVE ADVANTAGE

Committee on WIPO Standards (CWS)

DEVELOPING ON HYPERLEDGER FABRIC

Blockchain made Simple

Whitepaper EXOSIS.ORG

Blockchain Solutions for Sustainable Development. Wulf A. Kaal

Thinking in Blockchain

Blockchain 2.0: Smart Contracts

Changing Data Protection: Heading towards a Blockchain-Operated Future

Blockchain-based Traceability in Agri-Food Supply Chain Management: A practical Implementation

Blockchain Technology in Banking and Financial Services

THE FUTURE OF BLOCKCHAIN WITH IOT. Ama Asare

IT is about you. Bitvalley builds value for the Insurance sector with a disruptive Blockchain-based solution

Hype vs. reality: Potential depends on leveraging the right blockchain features. Companies still struggle find their place

DS Protocol - Securitize s Digital Ownership Architecture for Complete Lifecycle Management of Digital Securities

Blockchain & beleggingen. NBA Amsterdam, 28 mei 2018

DECENTRALIZED ASSET TRADING PLATFORM WHITEPAPER VERSION 3.1 DATP.MARKET

Loyalty program on the Credits blockchain platform Building a program with blockchain and smart contracts. Issuing tokens as loyalty points.

DEMYSTIFYING BLOCKCHAIN: FROM CRYPTOCURRENCY TO SMART CONTRACTS

The OneAlto Token (O-Token ) Standard. Version February 28, Abstract

Blockchain Technology: Concepts. Whitepaper 1

CONTENTS DISCLAIMER... 3 EXECUTIVE SUMMARY... 4 INTRO... 4 ICECHAIN... 5 ICE CHAIN TECH... 5 ICE CHAIN POSITIONING... 6 SHARDING... 7 SCALABILITY...

Blockchain Demystified

Blockchain and Smart Contracts: Relevance of Security Facts and Myths to Industrial Control

PROJECT BONDI. Blockchain Offered New Debt Instrument

The Blockchain as a Software Connector

Applying Software Patterns to Address Interoperability Challenges in Blockchain-based Healthcare Apps

ITU-T activities on Blockchain

an introduction to Blockchain Technology

IOV: a Blockchain Communication System

Why is IBM Blockchain based on Sebastjan Štucl Delivery Manager, GTS, IBM Slovenia

Introduction to Blockchain

Blockchain potential implications for the financial industry

Table of contents. 2

Technical Paper. Blockchain as an Integral Technology for Betmatch

White Paper v2.0. May 1 st, Blockchain based Organizations

Blockchain + Real Estate

Republic Protocol. A decentralized dark pool exchange providing atomic swaps for Ethereum-based assets and Bitcoin.

The Blockchain Technology

Blockchain and the possible impact on testing. New technology needs new testing?

Riding the Blockchain Wave for High Tech

EVERYTHING YOU NEED TO KNOW ABOUT DIGITAL LEDGER TECHNOLOGY, THE BLOCKCHAIN AND CRYPTOCURRENCIESÓ (Part I June 2018)

Instructor: Daniele Venturi (Slides from a series of lectures by Stefan Dziembowski)

Blend whitepaper V 1.0

Blockchain for the Enterprise. BTL Interbit Interbit: Blockchain for the Enterprise 1

Block This Way: Securing Identities using Blockchain

TECHNICAL WHITEPAPER. Your Commercial Real Estate Business on the Blockchain. realestatedoc.io

Building Blockchain Solutions

Instrumenting Accountability in MAS with Blockchain

Business Primer Last updated: October 27th, 2017

Private Wealth Management. Understanding Blockchain as a Potential Disruptor

Blockchain. Rogers D. Stephens Technical FedEx I.T. April 2018

WHITEPAPER BLOCKCHAIN DEPLOYMENT & ICO MANAGEMENT

FAST ACCESS BLOCKCHAIN

ICO Review: Blockcloud (BLOC)

A Comprehensive Reference Model for Blockchain-based Distributed Ledger Technology

Recent Notable Breaches in O&G

KARATCOIN. Straight to Gold Mines

Mission & Vision. bankex.com

Blockchain & Smart Contracts. Project Management tools in the 21 st Century

White Paper. Bizanc Blockchain

NASGO blockchain asset & dapp platform.

$110100$010. Crypto Currencies. Good or Evil? 10$ $100010

Certified Program in Blockchain Technology & Management

White paper (ver ) AKASHIC FOUNDATION LTD. All rights reserved.

Blockchain(s) and Potential Impacts on Reconciliation

Genesis Crypto Blockchain Investment Bank. A Blockchain Platform for Cryptocurrency-based Financial Services

A Hybrid Blockchain for the IoT and Tokenized Hardware

Blockchain: Programming And Technology Guide 2 In 1 By Charles Jensen READ ONLINE

Monoxide Scale out Blockchains with Asynchronous Consensus Zones. Jiaping Wang, Hao Wang Sinovation Ventures ICT/CAS The Ohio State University

CREDITS. A New Blockchain Generation

Paolo Caniccio. A Blockchain solution for European SMEs

November 2018 Abstract

Blockchain Impact on Architecture & Security. Emanuele Galdi Rome, September 28 th #CWIN17

28 Jun 2018, Thiruvananthapuram Gold Sponsor

Constitutional reforms

Edit on Github. Assets. Assets

Transcription:

I TECHNOLOGY 17 1 Blockchain Concepts 19 1.1 Blockchain 20 1.1.1 Blockchain Evolution 21 Blockchain Structure 22 Blockchain Characteristics 22 Blockchain Application Example: Escrow 23 1.3 Blockchain Stack 35 1.3.1 Decentralized Computation Platform - 37 Decentralized Storage Platform - Swarm 39 Decentralized Messaging Platform - Whisper 39 Smart Contracts 39 Decentralized Applications (Dapps) 40 Tools & Interfaces 41 From Web 2.0 to the Next Generation Decentralized Web 42 Domain Specific Blockchain Applications 44 44 Internet of Things 46 Industrial & Manufacturing 48 Registry of Assets & Inventory 52 Energy 52 Supply Chain & Logistics 52

Records & Identities 53 Healthcare 55 Blockchain & Challenges 57 2 Blockchain Application Templates 61 2.1 Blockchain Application Components 62 2.2 Design Methodology for Blockchain Applications 63 2.3 Blockchain Application Templates 67 2.3.1 Many-to-One 67 2.3.2 Many-to-One for Applications 68 2.3.3 Many-to-Many or Peer-to-Peer 68 2.3.4 One-to-One for Financial Applications 68 II BLOCKCHAIN COMPONENTS & APPLICATIONS 71 3 Setting up Ethereum Development Tools 73 3.1 Ethereum Clients 74 Go-Ethereum Client (geth) 74 Python Ethereum Client (pyethapp) 79 3.2 Ethereum Languages 81 3.2.1 Solidity 81 3.3 82 3.4 Mist Ethereum Wallet 83 3.5 MetaMask 85 3.6 Web3 JavaScript API 88 3.7 Truffle 92 4 Ethereum Accounts 97 4.1 Ethereum Accounts 98 Externally Owned Account (EOAs) 98 Contract Account 98 4.2 Keypairs 98 4.3 Working with EOA Accounts 100 4.3.1 Creating Account 100 4.3.2 Listing Accounts 4.3.3 Updating Accounts 4.3.4 Checking Balance 4.3.5 Account Transactions

4.4 Working with Contract Accounts 106 4.4.1 Compiling & Deploying Contract 106 4.4.2 Interacting with Contracts 4.4.3 Instantiating or Watching a Contract 5 Smart Contracts 117 5.1 Smart Contract 5.2 Structure of a Contract 118 5.3 Setting up and Interacting with a Contract using Geth Client 5.3.1 Compiling & Deploying a Contract 120 5.3.2 Transactions and Calls 127 5.3.3 Interacting with a Contract 5.3.4 Gas 130 5.3.5 Logs 131 5.3.6 Events 133 5.4 Setting up and Interacting with a Contract using Mist Wallet 135 5.4.1 Compiling & Deploying a Contract 137 5.4.2 Interacting with a Contract 5.5 Smart Contract Examples 146 5.5.1 Event Registration Contract 146 5.5.2 Voting Contract 151 5.5.3 Name Registry Contract 155 5.5.4 Smart Switch Contract 159 5.6 Smart Contract Patterns 164 5.6.1 Conditions-Effects-Interaction 164 5.6.2 Withdrawal 166 5.6.3 Access Restriction 169 5.6.4 Mortal 170 5.6.5 Automatic Expiration 171 5.6.6 Rejector 173 5.6.7 Circuit Breaker 174 5.6.8 Allow Once per Account 177 6 Decentralized Applications (Dapps) 179 6.1 Implementing Dapps 183 6.2 Case Studies 190 6.2.1 Crowdfunding 190 6.2.2 Event Registration 197 6.2.3 Document Verification 204 6.2.4 Call Option 210 6.2.5 Interest Rate Swap 222 6.2.6 Industrial lot - Machine Maintenance 239

6.2.7 Solar Charging Stations 248 7 Mining 277 7.1 Consensus on Blockchain Network 278 7.2 Mining 278 7.2.1 : Determine Uncles 278 7.2.2 Stage-2: Determine and Process Transactions 278 7.2.3 Stage-3: Apply Mining Rewards 285 7.2.4 Stage-4: Compute Mining Proof-of-Work 286 7.3 Block Validation 291 7.4 Setting up Mining Node 293 7.5 State Storage in Ethereum 294 7.5.1 World State 294 7.5.2 Transactions List 294 7.5.3 Transaction Receipts 294 7.5.4 Modified Merkle Patricia Tree 294 8 Whisper 299 8.1 Whisper Protocol 300 Whisper Envelope and Message 300 Configurable Privacy and Efficiency 301 Whisper Communication Patterns 301 Whisper Wire Protocol 303 Posting a Message 303 Topics, Abridged Topics & Bloomed Topics 304 8.2 Whisper Routing Approaches 306 8.2.1 Passive Routing - Peer Steering 306 8.2.2 Active Routing - Topic Filtering 306 8.3 Whisper API 307 8.3.1 Newldentity 307 8.3.2 Hasldentity 307 8.3.3 Post 307 8.3.4 Filter 308 8.3.5 Working with Whisper 308 8.4 Study: Smart Switch Dapp 310 9 Swarm 323 9.1 Swarm Architecture and Concepts 324 Swarm Nodes 324 Storage Layer 324 Network Layer 328

9.2 Incentive Mechanisms in Swarm 330 9.2.1 SWAP 330 9.2.2 SWEAR 332 9.2.3 SWINDLE 332 9.3 Swarm Setup 332 9.4 Working with Swarm 333 9.5 Case Study: Stock Photos Dapp 337 HI ADVANCED TOPICS 349 Advanced Topics on Blockchain 351 10.1 Double-Spending Problem 352 10.2 Byzantine Fault Tolerance 352 10.3 Proof-of-Work vs Proof-of-Stake 353 10.4 Consistency, Availability & Partition Tolerance (CAP) 354 10.5 Turing Completeness 355 10.6 Greedy Heaviest-Observed Sub-Tree (GHOST) 355 10.7 Sybil Attack 357 10.8 Mining Pools and Centralization 357 10.9 Smart Contracts Vulnerabilities 358 10.10 Blockchain Scalability 358 Appendix-A - Solidity Language Tutorial 371 Bibliography 375 377