wallets and consensus€¦ · ideal solution domains. ... putting all your eggs in one basket…...

40
wallet.services wallet_services Wallets and Consensus Blockchain Engineering for Enterprise Systems By Alan Keir

Upload: others

Post on 17-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

wallet.services wallet_services

Wallets and ConsensusBlockchain Engineering for Enterprise Systems

By

Alan Keir

Page 2: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Overview

WalletsSecure management and storage

ConsensusBusiness problems involving data

ApplicationsIdeal solution domains

Page 3: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Problem #1 – Securing a Bitcoin Exchange

Page 4: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Providing AML/KYC Compliant Data

Page 5: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

An accident waiting to happen…

$9 Million

$1300 Million

Page 6: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Bitcoin Client & Wallet Setup

Page 7: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Multiple Wallets in Bitcoin Clients

Page 8: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Implementing Multiple Wallets

Page 9: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Shared (or Hot) Wallets

Page 10: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Putting all your eggs in one basket…

Page 11: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

High Profile Crypto Exchange Thefts

Page 12: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Task #1 – Design a secure multi-wallet service

Page 13: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Gathering Requirements

• Individual Wallets

Page 14: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Individual Wallets

• Resilience to Client Attacks

• Resilience to Wallet Attacks

Gathering Requirements

Page 15: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Individual Wallets

• Resilience to Client Attacks

• Resilience to Wallet Attacks

• Recovery from Key Theft

Gathering Requirements

Page 16: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Solution #1 – A secure multi-wallet service

Page 17: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

✓ Individual Wallets

✓ Resilience to Client Attacks

✓ Resilience to Wallet Attacks

Solution: Decoupling Wallets

Page 18: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

✓ Individual Wallets

✓ Resilience to Client Attacks

✓ Resilience to Wallet Attacks

✓ Recovery from Key Theft

Solution: Dual Wallet Ownership

Page 19: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Solution: Implemented

@ The Wash Bar / 5th May 2014

• Fast, Scalable and Secure Wallet Hosting

• Multiple Currency types

Page 20: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Problem #2 – Applying Blockchain to Business Problems involving data

Page 21: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Cross-Organisational Workflows

Page 22: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Task #2 – Design a self governing workflow system

Page 23: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Attestation

• Certification

• Chain-of-Custody

• Secure data sharing

Requirements Gathering

Page 24: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Attestation

• Certification

• Chain-of-Custody

• Secure data sharing

• Chain-of-Command

Requirements Gathering

Page 25: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Attestation

• Certification

• Chain-of-Custody

• Secure data sharing

• Chain-of-Command

• Consent

Requirements Gathering

Page 26: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

• Attestation

• Certification

• Chain-of-Custody

• Secure data sharing

• Chain-of-Command

• Consent

• Termination

Requirements Gathering

Page 27: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Solution #2 – A blockchain that implements compliant workflows.

Page 28: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

✓ Attestation

✓ Certification

✓ Chain-of-Custody

✓ Secure data sharing

✓ Chain-of-Command

✓ Consent

✓ Termination

Solution: Data Bearing Transactions

Page 29: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

✓ Attestation

✓ Certification

✓ Chain-of-Custody

✓ Secure data sharing

✓ Chain-of-Command

✓ Consent

✓ Termination

Solution: Encryption and Multisig

Page 30: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Public Consensus Model?

Page 31: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Permissioned Consensus Model

Page 32: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

First generation consensus rules

Page 33: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Smart Contracts

Page 34: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

✓ Attestation

✓ Certification

✓ Chain-of-Custody

✓ Secure data sharing

✓ Chain-of-Command

✓ Consent

✓ Termination

Solution: Governance via Smart Contracts

Page 35: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Cross-Organisational Workflows

✓ Attestation

✓ Certification

✓ Chain-of-Custody

✓ Secure data sharing

✓ Chain-of-Command

✓ Consent

✓ Termination

Page 36: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Using Blockchains to Govern Interaction

Page 37: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Using Blockchains to Govern Interaction

Page 38: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Blockchains aren’t data repositories

Page 39: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Blockchains aren’t data repositories

Page 40: Wallets and Consensus€¦ · Ideal solution domains. ... Putting all your eggs in one basket… High Profile Crypto Exchange Thefts. Task #1 –Design a secure multi-wallet service

Thank You!