Blockchains and
Cryptocurrencies
Catheryne Nicholson
BlockCypher CEO & Co-founder
catheryne@blockcypher.com
Agenda
•History of money
•Current state of blockchains
•About BlockCypher
•Future of blockchain applications
History of Money
Failure
is
Opportunity
Bitcoin Genesis Block
Jan 3, 2009 Headline:
“Chancellor on brink of
second bailout for banks."
– Satoshi Nakamoto
The Age of Cryptocurrencies
Cryptocurrency
+
bitcoin blockchain
Cryptocurrency Market Caps
Why You
Can’t Cheat
Bitcoin
Hashing power needed to take over
the Bitcoin network (DRAFT)
3500 Petahash per second
OR
CPUs
OR
bitcoin ≠ blockchain ≠ Bitcoin
The Technical Innovation
(distributed ledger)
Cryptocurrency
(incentive)
E.g. ether, bitcoin
Protocol
(parameters)
Ethereum, Bitcoin
What’s the difference?
What’s a Blockchain?
Immutable, cryptographically verified, Proof-Of-Work secured accounting ledger
Block 50
PoW: 0026f34d197f
Transaction
b39fa6c39b
Transaction
7301b5952
Transaction
6961d06e4
Block 51
PoW: 0026f34d197f
Transaction
b39fa6c39b
Alice => Bob
Transaction
6961d06e4
Block 52
PoW: 0026f34d197f
Transaction
b39fa6c39b
Transaction
7301b5952
Transaction
6961d06e4
Unlocks prior TX funds... ...then lock with new rules
What are Transactions?
Blockchains Flavors (DRAFT)
• Open (e.g. Bitcoin, Ethereum)
• Permissioned (e.g. Corda, Eris, Hyperledger, Symbiont, etc.)
• Private (Beth, BCY, BKCoin, etc.)
Trust (DRAFT)
BlockCypher
Blockchain Web Services (BWS)
Ken GoldmanTim Draper Jerry YangNasir Jones Shawn Byers Sanjiva Weerawarana
BlockCypher Investors
Base Protocol (Bitcoin, Ethereum, etc.)
Mining
Applications/Services
Users/Usage
Middleware
Blockchain Cake
Infrastructure
Blockchain Client Architecture
P
e
e
r
s
Chain
Pool
Scripting
Validation
Store
Wallet
Addresses
Crypto
Miner
Primitive APIs
Wire
Format
≈ Running Excel as database
Bitcoin and
Ethereum
clients
Crypto
P2P
Consensus
Smart ContractsProof of Work
Proof of Stake
Key
Security
Proof of ???
Scaling
Lightning
Privacy
zkSNARKs
MimbleWimble
Teechan
HSMs
Hardware
Wallets
Bitcoin Script
Serenity
Viper
Decentralisation
Incentives
Game Theory
Cryptoeconomics
Mechanism Design
Security
MiningChip
Design
Energy Price
GPUs
Data Centers
DDoS
Sybil
Attacks
51%
Attacks
Selfish
Mining
Light Clients
SPV
Pruning
Sharding
Elliptic Curve Cryptography
Hashing
Network Layers
Gossip Protocols
DHTs (Chord, Kad)
Block Ciphers
Random Oracle
Hashcash
Staking Attacks
Async I/O (poll, epoll)
Language Design
Type Systems
Parsers / Compilers
VMs, Interpreters
Randomness
Ciphers: AES, RSA
Secure Enclaves
FIPS 140
PKI
Schnorr Signatures
Segregated Witness
Hash Locked
Contracts
OnioNetworks
Trusted Execution
Environments
Ring Signatures
“Moon Math”
Pairing-based Crypto Commitment Schemes
Zero Knowledge
Distributed Computing
Bloom Filters
Replicated State Machines
Merkle/Sum Trees
Stack Languages
Economics
Bayesian Statistics Market Dynamics
Protocol History
Logic Gates
Geothermal/hydro
power
Cooling Systems
Hardrware
Procurement
Power Efficiency
Heat Dissipation
Intel SGX
Threat Modeling
Blockchain-as-a-Service (BaaS)
Locally...
The road to production...
(minimum 2 years, $1M)
Use BlockCypher APIs & Services
● Analytics API - queries for blockchain information
● Asset API - issue & handle assets on the blockchain
● Confidence Factor - predictive & real-time analytics for unconfirmed transactions
● Contract API - call contract functions on blockchain over HTTP
● Data Endpoint - place data or a hash on a blockchain
● Microtransaction API - micropayments on-chain
● Multiple Address Wallet API - multiple addresses under single wallet name
● Multiple Blockchains - Bitcoin/Ethereum type; single API call to create new chains
● Multisignature API - multiple signature key management
● Payment Forwarding API - forward, consolidate, add commissions to payments
● Transaction API - build transactions easily
● WebHooks and WebSockets - monitoring & notifications on blockchain events
Scalable Blockchain Architecture
HTTP HTTP HTTP
T
C
P
T
C
P
Distributed Datastore
Distributed Locks
Messaging
HTTP
Blockchain Layer
Web API Layer
Peer to
Peer
BlockCypher
Cluster
Other Private Cluster
Bitcoin, Ethereum,
etc.
BaaS Architecture
BlockCypher Analytics Framework
B
i
t
c
o
i
n
C
u
s
t
o
m
BlockCypher
● Multiple blockchains on same
infrastructure
● Multiple datacenters
● No single point of failure
● Secure & hardened servers
● Linear scaling
● Uptime 99.999%
Cloud-optimized,
enterprise-grade blockchain
infrastructure
Blockchain-agnostic
infrastructure
E
t
h
e
r
e
u
m
BlockCypher Benefits
6+ months faster to market
35+% less cost
The Biggest Little Blockchain Company
Customers
CRYPTIV
Blockchain Use Cases
United States Citizenship and Immigration Services.
U.S. Customs and Border Protection.
Federal Emergency Management Agency.
U.S. Immigration and Customs Enforcement.
Transportation Security Administration.
United States Coast Guard.
National Protection and Programs Directorate.
United States Secret Service.
Data Management and Analytics
U.S. Department of Homeland Security
● Machine learning
○ Transaction clustering
○ Spark GraphX for Graph analysis
● Statistical analysis
○ Geographical, origin, relay,
transaction size, etc.
● Monitoring for anomalies
● Tracking $70M heist (BitFinex)
○ Largest transactions, transaction
shape & origin
Financial Crime
Custom Ethereum-based blockchain:
● Smart contract with ability to call an
external risk management system
during execution
● API-driven, open marketplace
● Private cloud hosted
● Block processing near real-time
● Transaction round-trip cycle time in
milliseconds
● 1000+ Transactions per second (TPS)
w/payload on desktop
Payment Cards
Identity Management
Challenges
● High cost of fraud
($B)
● Lack of adoption of
security
● Disclosure
● Privacy
● Ease-of-use
Solution
● User manages
identity (e.g.
biometrics) on
Shocard mobile app
● BlockCypher
publishes identity to
blockchain
Benefits
● 6 months saved in
ramp up time
● 35% costs saved in
development
● Increased scalability
and reliability
● Improved code
maintenance
Transaction API
Authentication
P2P Payments
Challenges
● High transaction fees
● No single P2P
platform
● Currency fluctuation
● Lack of good testing
environment
Solution
● Abra enables person
to send payment to
any mobile phone
● BlockCypher provides
notifications (e.g. for
payments)
Benefits
● Users protected from
market volatility
● Faster deposits
● Cross-border payments
● ~30% development
cost
Deposit $200
(XBT spot at 200)
Send $200
(XBT spot at 160)
Lender
(XBT spot at 160)
XBT down 20%,
Abra holding 1.25
XBT
BCY
Webhooks
Machine-to-Machine
Drone, parking meter,
remote server,
self-driving car, POS, VR
device, etc.
Let’s Code a Central Bank
contract Coin {
address minter;
mapping (address => uint) balances;
function Coin() {
minter = msg.sender;
}
function mint(address owner, uint amount) {
if (msg.sender != minter) return;
balances[owner] += amount;
}
function send(address receiver, uint amount) {
if (balances[msg.sender] < amount) return;
balances[msg.sender] -= amount;
balances[receiver] += amount;
}
function queryBalance(address addr) uint {
return balances[addr];
}
}

WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption

  • 1.
    Blockchains and Cryptocurrencies Catheryne Nicholson BlockCypherCEO & Co-founder catheryne@blockcypher.com
  • 2.
    Agenda •History of money •Currentstate of blockchains •About BlockCypher •Future of blockchain applications
  • 3.
  • 5.
  • 6.
    Bitcoin Genesis Block Jan3, 2009 Headline: “Chancellor on brink of second bailout for banks." – Satoshi Nakamoto
  • 7.
    The Age ofCryptocurrencies
  • 8.
  • 10.
  • 12.
  • 13.
    Hashing power neededto take over the Bitcoin network (DRAFT) 3500 Petahash per second OR CPUs OR
  • 14.
    bitcoin ≠ blockchain≠ Bitcoin The Technical Innovation (distributed ledger) Cryptocurrency (incentive) E.g. ether, bitcoin Protocol (parameters) Ethereum, Bitcoin What’s the difference?
  • 15.
    What’s a Blockchain? Immutable,cryptographically verified, Proof-Of-Work secured accounting ledger
  • 16.
    Block 50 PoW: 0026f34d197f Transaction b39fa6c39b Transaction 7301b5952 Transaction 6961d06e4 Block51 PoW: 0026f34d197f Transaction b39fa6c39b Alice => Bob Transaction 6961d06e4 Block 52 PoW: 0026f34d197f Transaction b39fa6c39b Transaction 7301b5952 Transaction 6961d06e4
  • 17.
    Unlocks prior TXfunds... ...then lock with new rules What are Transactions?
  • 18.
    Blockchains Flavors (DRAFT) •Open (e.g. Bitcoin, Ethereum) • Permissioned (e.g. Corda, Eris, Hyperledger, Symbiont, etc.) • Private (Beth, BCY, BKCoin, etc.)
  • 19.
  • 20.
  • 21.
    Ken GoldmanTim DraperJerry YangNasir Jones Shawn Byers Sanjiva Weerawarana BlockCypher Investors
  • 22.
    Base Protocol (Bitcoin,Ethereum, etc.) Mining Applications/Services Users/Usage Middleware Blockchain Cake Infrastructure
  • 23.
  • 24.
    Crypto P2P Consensus Smart ContractsProof ofWork Proof of Stake Key Security Proof of ??? Scaling Lightning Privacy zkSNARKs MimbleWimble Teechan HSMs Hardware Wallets Bitcoin Script Serenity Viper Decentralisation Incentives Game Theory Cryptoeconomics Mechanism Design Security MiningChip Design Energy Price GPUs Data Centers DDoS Sybil Attacks 51% Attacks Selfish Mining Light Clients SPV Pruning Sharding Elliptic Curve Cryptography Hashing Network Layers Gossip Protocols DHTs (Chord, Kad) Block Ciphers Random Oracle Hashcash Staking Attacks Async I/O (poll, epoll) Language Design Type Systems Parsers / Compilers VMs, Interpreters Randomness Ciphers: AES, RSA Secure Enclaves FIPS 140 PKI Schnorr Signatures Segregated Witness Hash Locked Contracts OnioNetworks Trusted Execution Environments Ring Signatures “Moon Math” Pairing-based Crypto Commitment Schemes Zero Knowledge Distributed Computing Bloom Filters Replicated State Machines Merkle/Sum Trees Stack Languages Economics Bayesian Statistics Market Dynamics Protocol History Logic Gates Geothermal/hydro power Cooling Systems Hardrware Procurement Power Efficiency Heat Dissipation Intel SGX Threat Modeling
  • 26.
    Blockchain-as-a-Service (BaaS) Locally... The roadto production... (minimum 2 years, $1M)
  • 27.
    Use BlockCypher APIs& Services ● Analytics API - queries for blockchain information ● Asset API - issue & handle assets on the blockchain ● Confidence Factor - predictive & real-time analytics for unconfirmed transactions ● Contract API - call contract functions on blockchain over HTTP ● Data Endpoint - place data or a hash on a blockchain ● Microtransaction API - micropayments on-chain ● Multiple Address Wallet API - multiple addresses under single wallet name ● Multiple Blockchains - Bitcoin/Ethereum type; single API call to create new chains ● Multisignature API - multiple signature key management ● Payment Forwarding API - forward, consolidate, add commissions to payments ● Transaction API - build transactions easily ● WebHooks and WebSockets - monitoring & notifications on blockchain events
  • 28.
  • 29.
    HTTP HTTP HTTP T C P T C P DistributedDatastore Distributed Locks Messaging HTTP Blockchain Layer Web API Layer Peer to Peer BlockCypher Cluster Other Private Cluster Bitcoin, Ethereum, etc. BaaS Architecture
  • 30.
  • 31.
    B i t c o i n C u s t o m BlockCypher ● Multiple blockchainson same infrastructure ● Multiple datacenters ● No single point of failure ● Secure & hardened servers ● Linear scaling ● Uptime 99.999% Cloud-optimized, enterprise-grade blockchain infrastructure Blockchain-agnostic infrastructure E t h e r e u m
  • 32.
    BlockCypher Benefits 6+ monthsfaster to market 35+% less cost
  • 33.
    The Biggest LittleBlockchain Company Customers
  • 34.
  • 35.
  • 36.
    United States Citizenshipand Immigration Services. U.S. Customs and Border Protection. Federal Emergency Management Agency. U.S. Immigration and Customs Enforcement. Transportation Security Administration. United States Coast Guard. National Protection and Programs Directorate. United States Secret Service. Data Management and Analytics U.S. Department of Homeland Security
  • 37.
    ● Machine learning ○Transaction clustering ○ Spark GraphX for Graph analysis ● Statistical analysis ○ Geographical, origin, relay, transaction size, etc. ● Monitoring for anomalies ● Tracking $70M heist (BitFinex) ○ Largest transactions, transaction shape & origin Financial Crime
  • 38.
    Custom Ethereum-based blockchain: ●Smart contract with ability to call an external risk management system during execution ● API-driven, open marketplace ● Private cloud hosted ● Block processing near real-time ● Transaction round-trip cycle time in milliseconds ● 1000+ Transactions per second (TPS) w/payload on desktop Payment Cards
  • 39.
    Identity Management Challenges ● Highcost of fraud ($B) ● Lack of adoption of security ● Disclosure ● Privacy ● Ease-of-use Solution ● User manages identity (e.g. biometrics) on Shocard mobile app ● BlockCypher publishes identity to blockchain Benefits ● 6 months saved in ramp up time ● 35% costs saved in development ● Increased scalability and reliability ● Improved code maintenance Transaction API Authentication
  • 40.
    P2P Payments Challenges ● Hightransaction fees ● No single P2P platform ● Currency fluctuation ● Lack of good testing environment Solution ● Abra enables person to send payment to any mobile phone ● BlockCypher provides notifications (e.g. for payments) Benefits ● Users protected from market volatility ● Faster deposits ● Cross-border payments ● ~30% development cost Deposit $200 (XBT spot at 200) Send $200 (XBT spot at 160) Lender (XBT spot at 160) XBT down 20%, Abra holding 1.25 XBT BCY Webhooks
  • 41.
    Machine-to-Machine Drone, parking meter, remoteserver, self-driving car, POS, VR device, etc.
  • 42.
    Let’s Code aCentral Bank contract Coin { address minter; mapping (address => uint) balances; function Coin() { minter = msg.sender; } function mint(address owner, uint amount) { if (msg.sender != minter) return; balances[owner] += amount; } function send(address receiver, uint amount) { if (balances[msg.sender] < amount) return; balances[msg.sender] -= amount; balances[receiver] += amount; } function queryBalance(address addr) uint { return balances[addr]; } }