"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Smart Cards & Devices Forum 2013 - Mobile financial services
1. May 2013
Co je nového a co nás čeká v oblasti
mobilních finančních služeb?
Jan Němec, Petr Šturc
2. In-shop payment
On-line payment
P2P payment
Membership
Rewards
Place check-in
Ticketing
Gift cards
Mobile Commerce Initiatives
2
Use cases Technologies
Smart Cards & Devices Forum 2013
3. Mobile Commerce Framework
MOBILE PROXIMITY
PAYMENT
MOBILE REMOTE
PAYMENTS
VALUE-ADDED SERVICES
3 Smart Cards & Devices Forum 2013
4. Mobile Wallet
MOBILE WALLET SERVICE PROVIDERSCONSUMERS
WALLET PROVIDERS
4
A mobile app that turns your phone into your wallet & stores virtual
versions of your existing plastic cards and other services on your phone.
Smart Cards & Devices Forum 2013
5. 3 models emerging for PoS
IN THE DEVICE/SE IN THE CLOUD HYBRID
5 Smart Cards & Devices Forum 2013
6. In the Device:
Over 200 million wireless
subscribers
Over 100 million phones
sold each year
3 in 4 U.S wireless users
Over 20,000 retail
outlets
Tap to pay
Save with offers
Simplify loyalty cards
Smart Cards & Devices Forum 20136
7. In the Cloud: PayPal
7 Smart Cards & Devices Forum 2013
Send money
Buy online
Collect coupons and offers
8. In the Cloud:
8 Smart Cards & Devices Forum 2013
QR based payment, couponing, loyalty, etc.
• Own transaction data
• Bring down payment processing cost
10. Hybrid: Google Wallet V2
10 Smart Cards & Devices Forum 2013
Peer-2-Peer payments integrated to gMail
Instant Buy API for Android apps
NFC
Couponing
17. Bitcoin in the news
17
Value of 1 bitcoin in US$
Smart Cards & Devices Forum 2013
18. Bitcoin is … payment system
Decentralized
Cheap micro-payment
Pseudonymous
No charge-backs
P2P
Alice
Bob
To: 1ABtVtjFFC22zgH......
Amount: 1.0 BTC Send
a.k.a. Internet money
18 Smart Cards & Devices Forum 2013
19. Bitcoin is … application
https://github.com/bitcoin/bitcoin
19 Smart Cards & Devices Forum 2013
20. Bitcoin is … peer-to-peer network
Messages:
<addr> - node discovery
<tx> - transaction
<block> - accounting
+ 15 others
Alice
Bob
20 Smart Cards & Devices Forum 2013
21. Bitcoin is … experimental monetary system
Limited “cash” supply
Deflation
No central bank
21 Smart Cards & Devices Forum 2013
22. Bitcoin is … mystery
Who is Satoshi Nakamoto?
How single person beat 30yrs of research?*
Is he genius?
Is it single person?
Why he disappeared?
D. Chaum, Blind signatures for untraceable payments, Proc. Crypto, 1982
22 Smart Cards & Devices Forum 2013
28. How to avoid double-spending?
Private Balance ledger
Bank
may spend users’s money (attack)
may create money (inflation)
only may verify transaction
is SPoF (Single Point of Failure)
Alice Bob Carole
0 10 15
5 8 17
7 5 18
25
12
Ledger
cz - účetní kniha
fr - livre comptable
hu - főkönyv28 Smart Cards & Devices Forum 2013
29. How to avoid double-spending?
AlicePub BobPub CarolePub
0 10 15
5 8 17
7 5 18
25
12
Public Balance ledger
Bank
may spend users’s money (attack)
may create money (inflation)
only may verify transaction
is SPoF (Single Point of Failure)
29 Smart Cards & Devices Forum 2013
32. Satoshi’s solution = Proof-of-Work
Creation of block is difficult
32 Smart Cards & Devices Forum 2013
33. Proof-Of-Work
Block hash must be close to zero (DIFFICULTY)
Block contains chosen counter – nounce
Nounce satisfying condition above is hard to find
(DIFFICULTY * 232 hash ops)
DIFFICULTY adjusted every 2016 blocks (to
keep block generation speed at 6 blocks/hr)
Current difficulty (28-Apr-13) = 8974296
network hashrate ~ 70x1012 hashes/sec
33 Smart Cards & Devices Forum 2013
43. Double-spending
Attacker must outperform good guys in the mining races
(> 50% of computing power)
Bloc 557
Bloc 558a
Bloc 558b Bloc 559 Bloc 560
Hahah, I’ll change
history and
transfer your $ to
my address!
43 Smart Cards & Devices Forum 2013
44. Mining in numbers (29-Apr-13)
Block Count 233,806
Blocks avg. per hour 7.83
Blocks last 24h 188
(4700BTC =$658,800)
Network Hashrate Terahashs/s 72.23
Network Hashrate PetaFLOPS 917.33
Energy consumption*) 876 MWh
(~$87,000)
*) GPU: 1.8 Mhash/J oule FPGA: 18 Mhash/Joule
44 Smart Cards & Devices Forum 2013
45. “All the money comes from here!”
Why should anyone do it?
48. Economy of mining
Miners are rewarded (25BTC per block Apr-13)
Miners have incentive to build valid blocks (with valid
transactions) … otherwise others will not build on
their work, branch will be orphaned and reward not
redeemed
The reward is halved every ~4years (210,000 blocks)
Total nb of BTC 11,097,625
Value in US$ (30-Apr-13) 1,598,058,000
48 Smart Cards & Devices Forum 2013
50. Transaction fee
Fee = Sum(tx outputs) – Sum(tx inputs)
May be collected by miner
Purpose:
Increase motivation - clients give fee for
faster service
Keep motivation when all coins minted
50 Smart Cards & Devices Forum 2013
51. Auto-adjustment
More user = more hashing = faster block
generation
DIFFICULTY raised to keep 10 mins / block
If raising too high - profitability of mining drops
and miners stops working
DIFFICULTY falls
equilibrium should be reached (?)
51 Smart Cards & Devices Forum 2013