CIMA Future of Finance Festival Blockchain - How it works ... of... · transaction using blockchain...

Post on 23-May-2020

5 views 0 download

Transcript of CIMA Future of Finance Festival Blockchain - How it works ... of... · transaction using blockchain...

© Extropy.io 2018

CIMA Future of Finance Festival

Blockchain - How it works and how to use it.

© Extropy.io 2018

Website : http://extropy.io

Email : info@extropy.io

Twitter : @extropy

Oxford Based Consultancy

Providing Blockchain solutions

DApp development and customised blockchains

Security Audits

© Extropy.io 2018

Agenda● Introduction● Blockchain Technology

○ A low tech blockchain○ Blockchain concepts○ Bitcoin and Ethereum

● Blockchain Applications ○ Suitability○ Use cases and funding

● The future of blockchains

© Extropy.io 2018

TLDR

The blockchain provides a trust layer without a central

authority

© Extropy.io 2018

Low Tech Blockchain

© Extropy.io 2018

Gossip Network

© Extropy.io 2018

Shared Public Ledger

© Extropy.io 2018

Adapting for the Internet

© Extropy.io 2018

Cryptography - Asymmetric Keys

© Extropy.io 2018

Cryptography - Hash Functions

© Extropy.io 2018

Components of the Blockchain

● Shared public ledger updated by consensus

● P2P Network● Cryptography

© Extropy.io 2018

These components give a blockchain system

● Transparency and verifiable state based on consensus● Resilience ● Censorship resistance● Tamper proof interactions

© Extropy.io 2018

Blockchain or Database

Blockchain Ideal Database

Bitcoin

EthereumHyperledger

R3

Cassandra

Couchbase

© Extropy.io 2018

Bitcoin and Ethereum How do they work ?

© Extropy.io 2018

Many of these components already existed, but were brought together in Bitcoin

© Extropy.io 2018

Blockchain Data structure

© Extropy.io 2018

Sending a transaction - Updating state

ALICE

BOB

ALICE 10BOB 20

ALICE 10BOB 20

ALICE 5BOB 25

Tx

© Extropy.io 2018

Tx

Tx

Tx

Tx

Tx

NETWORK POV

ALICE

© Extropy.io 2018

Building a consensus

Tx

Tx

Tx

Tx

Tx

Tx

Tx

Tx

Tx

?

© Extropy.io 2018

© Extropy.io 2018

Ethereum Blockchain Viewer

http://ethviewer.live/

© Extropy.io 2018

ALT COINS

Blockchain 2.0 - Ethereum The World Computer

© Extropy.io 2018

Smart Contracts

© Extropy.io 2018

What are smart contracts ?

Smart contracts are computer protocols intended to facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts were first proposed by Nick Szabo in 1996 - Wikipedia

A Ricardian contract places the defining elements of a legal agreement in a format that can be expressed and executed in software - Wikipedia

© Extropy.io 2018

What are Ethereum smart contracts ?

● Pieces of code running in the Ethereum Virtual Machine● The environment is highly restricted for security and determinism● Each contract has code, state and optionally a balance of Ether● They may be written to represent a contract between parties but they need not.● They are written in a high level language then compiled into bytecode to run in

the EVM.

© Extropy.io 2018

contract MyToken { /* This creates an array with all balances */ mapping (address => uint256) public balanceOf;

/* Initializes contract with initial supply tokens to the creator of the contract */ function MyToken( uint256 initialSupply ) { balanceOf[msg.sender] = initialSupply; // Give the creator all initial tokens }

/* Send coins */ function transfer(address _to, uint256 _value) { if (balanceOf[msg.sender] < _value) throw; // Check if the sender has enough if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows balanceOf[msg.sender] -= _value; // Subtract from the sender balanceOf[_to] += _value; // Add the same to the recipient }}

6060604052341561000c57fe5b60405160208061085b833981016040528080519060200190919050505b336000600…..

06101000a81548173fff

© Extropy.io 2018

Contract Creation

ALICE

© Extropy.io 2018

A function call

ALICE

(Call function (arg1,arg2...) )

BOB

Create Transaction

© Extropy.io 2018

Restrictions● Gas● Determinism● Oracles

© Extropy.io 2018

Gas

© Extropy.io 2018

Determinism is important, so no

● Random numbers● Access to networks● Access to the local operating system

getWeather() getWeather()

getWeather()

© Extropy.io 2018

Oracles

Other blockchainsAnd

Private blockchains

© Extropy.io 2018

© Extropy.io 2018

Hyperledger is an umbrella project of open source blockchains and related tools, started in December 2015 by the Linux Foundation

© Extropy.io 2018

Comparing Hyperledger, Ethereum and Corda

© Extropy.io 2018

Public - Consortium - Private

Permissioned - Permissionless

© Extropy.io 2018

Advantages of Private Chains

● Rules can be changed and transactions revoked easily● Validators are known, so no chance of a 51% attack.● Transactions are cheaper, since we do not rely on

economic incentives for consensus● Privacy is possible

© Extropy.io 2018

Advantages of Public Chains

● Users are protected from the developers of the system● Being open they benefit from network effects● They have the potential to radically change the way we

work, rather than just improving efficiency

© Extropy.io 2018

Permissioned / Permissionless

The argument here are more nuanced and dependent on the use case and its actors

© Extropy.io 2018

Questions and Break

© Extropy.io 2018

Blockchain Applications

© Extropy.io 2018

Blockchain Applicability Framework

How Important is :

Trust between unknown parties

Transfer of value

System availability (at no cost)

Censorship resistance

Fraud Resistance

Publicly Available Data

Immutable Data

Multiple Unknown parties can write

© Extropy.io 2018

Blockchain Use Cases

● Manufacturing ● Healthcare● Energy● Supply Chain● Insurance, Identity ● Funding

© Extropy.io 2018

Manufacturing

Blockchain Use Cases

© Extropy.io 2018

Automotive

© Extropy.io 2018

Blockchain and Additive Manufacturing

Traditional value chains will be deconstructed as more players will be able to flexibly plug in and out of the manufacturing process, such as “borrowing” parts of a factory on short notice for only as much production capacity as they need at a given time.

Our pilot will use blockchain technology to protect high-value design files from theft or tampering through end-to-end encryption. Blockchain-enabled smart contracts will allow these files to automatically negotiate terms and conditions (such as price, quality level and delivery date) without the need for a middleman.

Cognizant

© Extropy.io 2018

Healthcare

Blockchain Use Cases

© Extropy.io 2018

Healthcare and the blockchain

This technology could provide a new model for health information exchanges (HIE) by making electronic medical records more efficient, disintermediated, and secure. - Deloitte

Healthcare needs1. Ubiquitous, secure network infrastructure

2. Verifiable identity and authentication of all participants

3. Consistent representation of authorization to access electronic health information, and several other

requirements.

© Extropy.io 2018

Where Big Data, AI, IOT and Blockchain meet, solving the big problems securely

© Extropy.io 2018

Energy

Blockchain Use Cases

© Extropy.io 2018

● The Energy sector is seeing an ever increasing fragmentation of energy producers

● Sometimes generating an energy surplus

Energy Prosumers

© Extropy.io 2018

● A place to record the amount of excess energy to be sold

● A place to discover the available energy

● A mechanism for matching the bids and offers

Blockchain Energy Marketplace

© Extropy.io 2018

● “Registering meter details on a blockchain”● Used a private Ethereum blockchain to simulate 53m Smart

Contracts to represent meters in the UK ● Demand side response

Companies are starting to move into this space

© Extropy.io 2018

Grid Singularity (http://gridsingularity.com/)

Grid + (https://gridplus.io/)

Poseidon (https://poseidon.eco)

PowerLedger https://powerledger.io/

© Extropy.io 2018

Supply Chain

Trusted suppliers must be thoughtfully selected, managed, monitored and certified for quality, reliability and consistency.

Providing these assurances in today’s manufacturing world imposes a hidden (and growing) “trust tax” on worldwide supply chain participants.

© Extropy.io 2018

© Extropy.io 2018

Provenance Features

Increase brand trust

Share your business impact and values through an easy-to-use framework.Open up your supply chain and showcase the people, places and processes behind your products.

Verification● Back your brand with data● Verify your business and supplier profiles for greater supply chain integrity.● Turn your certifications into data-backed marks.● Substantiate your claims with data gathered from across the supply chain.

TRACK AND TRACE● Ensure supply chain integrity● Demonstrate your social and environmental impact at every point in the chain.● Reduce risk by proving the authenticity of your goods and their corresponding claims.● Create a digital passport for every product, linked to batch or individual item.

© Extropy.io 2018

UK Food Standard Agency Completes Blockchain Pilot for Food Supply Chain

UK food regulator the Food Standard Agency (FSA) has successfully accomplished a pilot using blockchain technology according to an announcement published July 2.

“It's the first time blockchain has been used as a regulatory tool to ensure

compliance in the food sector.”

Food supply chain

© Extropy.io 2018

Trade Finance

Barclays and innovative start-up company Wave have become the first organisations to execute a global trade transaction using blockchain technology.

The letter of credit transaction between Ornua (formerly the Irish Dairy Board) and Seychelles Trading Company is the first to have trade documentation handled on the new Wave platform, with funds sent via Swift. It is hoped this landmark transaction could herald a new era of simpler, safer and faster trade finance.

© Extropy.io 2018

Digital Asset Management

© Extropy.io 2018

Diversifying risk

● Portfolio Managers look for diversification when creating Portfolios

● Equities and Bonds have become more closely correlated

© Extropy.io 2018

Bitcoin low correlation

● Bitcoin has a very low correlation with existing financial assets and therefore might make a good addition to traditional portfolios

© Extropy.io 2018

Etoro

● A social trading platform - allows you to get exposure to Cryptocurrencies and has created a “CryptoFund”

● Individual cryptocurrencies● Create your own baskets● Synthetic (CFD)

© Extropy.io 2018

ICONOMI

● “Digital Assets Management Platform that allows anyone from beginners to blockchain experts to invest in and manage digital assets”

● Raised funding via ETH● Invest in managed funds or

index of cryptocurrencies● The token represents

performance of the company

© Extropy.io 2018

Melonport

● Melonport - “Blockchain Software for Asset Management”

● A protocol and suite of tools to automate Portfolio Management tasks

● “Asset management track-records are transparent and auditable by everyone everywhere at any time”

● Raised funding via ETH

© Extropy.io 2018

Currencies and Remittance

© Extropy.io 2018

© Extropy.io 2018

Currencies and Remittance

© Extropy.io 2018

Currencies and Remittance

© Extropy.io 2018

Currencies and Remittance

● Real-time gross settlement system, currency exchange and remittance network

● It supports tokens representing fiat currency, cryptocurrency, commodity or any other unit of value such as frequent flier miles or mobile minutes

● Bridge to bitcoin

© Extropy.io 2018

Insurance, Identity

© Extropy.io 2018

Insurance

B3i provides insurance solutions on a blockchain platform offering opportunities for efficiency, growth and quality across the value chain to benefit all participants including end customers.

© Extropy.io 2018

Insurance

© Extropy.io 2018

Identity

© Extropy.io 2018

Identity

© Extropy.io 2018

Identity

© Extropy.io 2018

Funding

Initial Coin Offerings

© Extropy.io 2018

● ICOs are a mechanism for crowdfunding Blockchain-related projects

● Unregulated ?● Donations in

Cryptocurrencies

What is an ICO?

© Extropy.io 2018

ICO History

https://elementus.io/token-sales-history

© Extropy.io 2018

What is a Token?

Initial Coin Offerings

© Extropy.io 2018

● A Smart Contract on Ethereum

● Code following a standard protocol (ERC20)

● A ledger recording ownership amounts

● Additional, coded, specific business logic [optional]

What is a Token?

© Extropy.io 2018

● Use of resources on a platform.

● The rights to a digital item in an application / game.

● A store of value.● An interest in a company /

project.● A promise for tokens on a

competing platform.● ...

What does a Token represent?

© Extropy.io 2018

The Future for Blockchains

© Extropy.io 2018

Is this just a load of hype ?

© Extropy.io 2018

Problems

● Scalability● Regulation● Privacy

© Extropy.io 2018

Scalability

© Extropy.io 2018

© Extropy.io 2018

© Extropy.io 2018

© Extropy.io 2018

Also

● Raiden● Plasma● Casper

Solutions

© Extropy.io 2018

Regulation

© Extropy.io 2018

© Extropy.io 2018

● U.S. SEC ruled, in July, that The DAO tokens were Securities and should have been registered.

● No retrospective repercussions.

● Tokens must be reviewed on a case-by-case basis

SEC Ruling

© Extropy.io 2018

● How much should we regulate ICOs?

● SEC limiting US citizens in primary markets?

● Should other countries follow?● Does the pseudo-anonymity of

cryptocurrencies make it harder to enforce?

● With such a broad range of tokens how easy will it be to determine whether the ICO should have been registered?

Regulation good or bad?

© Extropy.io 2018

Privacy

© Extropy.io 2018

Q & A

© Extropy.io 2018