How to Store and Use Bitcoins Tyler Moore, CS 7403, University of Tulsa Slides adapted from Arvind Narayanan, Joseph Bonneau, Edward Felten, Andrew Miller,

Slides:



Advertisements
Similar presentations
Weighing the Risks and Benefits of Online Financial Transactions
Advertisements

NSFdeposit.com Telephone Checks. NSFdeposit.com Telephone Checks New Automated On-line Payment System One time sign-up; intelligent engine Unique file.
The easy answers to the hard questions! WHAT IS BITCOIN?
Copyright © 2005 EFT Network, Inc. All Rights Reserved. Automated Recurring Payments Flexible Payment Solution.
Bitcoin: A New Internet Currency Stephen Clayton Senior Economic Education Specialist Federal Reserve Bank of Dallas The opinions expressed are solely.
Bitcoin Wallets BY DAVID BARNES | BITCOIN CO. LTD.
Slides Created By Kevin Brady and Eric Chiang Money Creation Process Interactive Examples To navigate, please click the appropriate green buttons. (Do.
MONEY AND BANKING WHY MONEY – THE “BONANZA” STORY.
Bitcoin: Free Money Roger Ver. Why Bitcoin? “For the first time in the history of the world, anyone can now send or receive any amount of money with anyone.
BANKING For your Green backs. U. S. Federal Mint  U.S. Federal Mint operating bureau of the Department of the Treasury makes new coins.  U.S. Bureau.
© 2010 South-Western, Cengage Learning Do Now: 1.) Take out chapter 17 outline When shopping do you: 1.) See something you want and buy it 2.) Look around.
Lesson 8 Getting a Credit Card. Key Terms APR Credit Credit Card Creditor Debtor Finance Charge Interest Rate Introductory Rate Late Fees Minimum Payment.
Bitcoin. What is Bitcoin? A P2P network for electronic payments Benefits: – Low fees – No middlemen – No central authority – Can be anonymous – Each payment.
Banks You will be able to describe the functions of commercial banks and central banks Money encouraged specialization by making trade easier. Specialization.
Bitcoin: Free Money Roger Ver Blockchain. Bitcoin: Free Money “For the first time in the history of the world, anyone can now send or receive any amount.
BITCOIN An introduction to a decentralised and anonymous currency. By Andy Brodie.
BITCOIN Exponential Growth. Good Money “For the first time in the history of the world, anyone can now send or receive any amount of money with anyone.
Bitcoin is the FUTURE of MONEY!!
Check It Out 1. 2 Introductions Instructor and student introductions Module overview.
Accepting Credit Cards on your Website. If you are building an online shop, you will need to address the question of taking payments for orders. You can,
Check It Out 1. 2 Purpose Check It Out will teach you how to use a checking account responsibly.
Digital Cash By Gaurav Shetty. Agenda Introduction. Introduction. Working. Working. Desired Properties. Desired Properties. Protocols for Digital Cash.
Banking: Checking Account What is a Checking Account? An account where money is deposited and kept for day-to-day expenses Also called demand deposit.
Banking:
© 2007 Thomson South-Western Savings, Investment and the Financial System Macro.
MIS 3090 IT for Financial Services Digital Cash September 4, 2015.
What is E-commerce Safety Precautions Password Strengths
Chris Olston, cs294-7, Spring Atomicity in Electronic Commerce J. D. Tygar -- UCB presented by Chris Olston.
13 CHAPTER Money, the Price Level and Inflation © Pearson Education 2012 After studying this chapter you will be able to:  Define money and describe.
 Saving is income not spent.  Saving also includes reducing spending, such as recurring costs.  Savings can include a relatively low-risk investment.
13 CHAPTER Money, the Price Level and Inflation © Pearson Education 2012 After studying this chapter you will be able to:  Define money and describe.
Bitcoin (what, why and how?)
Electronic Payment Systems. How do we make an electronic payment? Credit and debit cards Smart cards Electronic cash (digital cash) Electronic wallets.
AP Macroeconomics Unit 3 The Financial Sector Vocab: Ch. 31/32 Exam Dates: 3/27 and 3/28.
Chapter 10 Developing a Web-Based Online Shopping Application (I)
CHAPTER OUTLINE An Overview of Money What Is Money? Commodity and Fiat Monies Measuring the Supply of Money The Private Banking System How Banks Create.
Bitcoins and the Digital Economy Presented By: Matt Blackman.
Banking Savings Checking Credit Cards
DO NOW: Why do we have banks?. Banking Services 7.1 How Banks Work.
1 Bitcoin A Digital Currency. Functions of Money.
IT FOR FINANCIAL SERVICES IS356. Agenda What is Bitcoin? A digital currency that is created and exchanged independently of any government or bank. Bitcoin.
BITCOIN Exponential Growth. Good Money “For the first time in the history of the world, anyone can now send or receive any amount of money with anyone.
BITCOIN What is bitcoin? Put simply, bitcoin is a digital currency. It can be used to make electronic payments face to face or over the internet just like.
Chapter 11 Working with Credit Card Methods of Processing Credit Cards Preparing for Cyber Cash Authoring a Credit card Transaction.
OBJECTIVES  To understand the concept of Electronic Payment System and its security services.  To bring out solution in the form of applications to.
Introduction to Money What exactly is money?. MONEY Money- anything used to facilitate the exchange of goods & services between buyers and sellers.
PAYPAL PRESENTED TO:SIR ADNAN PRESENTED BY:SAIMA ASGHAR
Check It Out 1. 2 Introductions Instructor and student introductions Module overview.
Fractional Reserve Banking D. E. Weir Lawrence Central High School.
IS ANONYMOUS CURRENCY A GOOD IDEA? BY ADAM LASSWELL.
Bitcoins: Decentralized Digital Currency How it Works When Bitcoin was first created, 21 million coins were scattered across the digital realm and hidden.
1 Slide 1 - Electronic Bank Service But unlike some businesses, banks don’t manufacture products or extract natural resources from the earth. Banks sell.
Checking & Savings Accounts Economics What is a Checking Account?  Common financial service used by many consumers (a place to keep money)  Funds.
Intro to Cryptocurrencies & Review of Relevant Crypto Tyler Moore, CS 7403, University of Tulsa Slides adapted from Arvind Narayanan, Joseph Bonneau, Edward.
Section 3: Banking Services
Chapter The Monetary System 16. The Meaning of Money Money – Set of assets in an economy – That people regularly use – To buy goods and services from.
HOW TO CHOOSE THE BEST CLOUD ACCOUNTING SOFTWARE? You can use cloud-based software from any device with an internet connection. Online accounting means.
Paypal PayPal is an e-commerce business allowing payments and money transfers to be made through the Internet. With a PayPal account, you can send and.
Unit IV The Financial Sector
Bitcoin, what is it? Bitcoin is a form of digital currency.
Bitcoin Explained in 2 Minutes
CS898AT – Bitcoins and Cryptocurrencies
Blockchain Adrian Zaragoza.
Trezor Support Phone Number For You!! Round The Clock
Fix All Your Issues at Trezor Support Phone Number
Get Solution at Trezor Support Phone Number
ECN 200: Introduction to Economics
Bitcoin: A New Internet Currency
Unit IV The Financial Sector
Presentation transcript:

How to Store and Use Bitcoins Tyler Moore, CS 7403, University of Tulsa Slides adapted from Arvind Narayanan, Joseph Bonneau, Edward Felten, Andrew Miller, Princeton University

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

To spend a Bitcoin, you need to know: * some info from the public blockchain, and * the owner’s secret signing key So it’s all about key management.

How to Store and Use Bitcoins Secret Keys

Goals availability: You can spend your coins. security: Nobody else can spend your coins. convenience

Simplest approach: store key in a file, on your computer or phone Very convenient. As available as your device. device lost/wiped ⇒ key lost ⇒ coins lost As secure as your device. device compromised ⇒ key leaked ⇒ coins stolen

Wallet software Keeps track of your coins, provides nice user interface. Nice trick: use a separate address/key for each coin. benefits privacy (looks like separate owners) wallet can do the bookkeeping, user needn’t know

Encoding addresses Encode as text string: base58 notation ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz or use QR code

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

Hot storageCold storage onlineoffline separate keys convenient but riskyarchival but safer

Hot storageCold storage online offline hot secret key(s)cold secret key(s) cold address(es) hot address(es) payments

Hot storageCold storage online hot secret key(s) cold address(es) payments offline

Problem: Want to use a new address (and key) for each coin sent to cold But how can hot wallet learn new addresses if cold wallet is offline? Awkward solution: Generate a big batch of addresses/keys, transfer to hot beforehand Better solution: Hierarchical wallet

Regular key generation: generateKey s address private key

Hierarchical key generation: generateKeysHier address gen info private key gen info genAddr genKey i i th address i th key i doesn’t leak keys

generateKeysHier address gen info private key gen info genAddr genKey i i th address i th key i hot side cold side

How to store cold info (1) Info stored in device, device locked in a safe (2) “Brain wallet” encrypt info under passphrase that user remembers (3) Paper wallet print info on paper, lock up the paper (4) In “tamperproof” device device will sign things for you, but won’t divulge keys

Why never to use a brain wallet Vasek et al. Financial Crypto 2016:

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

Online wallet like a local wallet but “in the cloud” runs in your browser site sends code site stores keys you log in to access wallet

Online wallet tradeoffs convenient: nothing to install, works on multiple devices but security worries vulnerable if site is malicious or compromised ideally, site is run by security professionals

What people want: Bank-like services you give the bank money (a “deposit”) bank promises to pay you back later, on demand bank doesn’t actually keep your money in the back room typically, bank invests the money keeps some around to meet withdrawals (“fractional reserve”)

Bitcoin Exchanges accept deposits of Bitcoins and fiat currency ($, €, …) promise to pay back on demand lets customers: make and receive Bitcoin payments buy/sell Bitcoins for fiat currency typically, match up BTC buyer with BTC seller

What happens when you buy BTC suppose my account at Exchange holds $ BTC I use Exchange to buy 2 BTC for $580 each result: my account holds $ BTC note: no BTC transaction appears on the blockchain only effect: Exchange is making a different promise now

Exchanges: Pros and Cons pro: connects BTC economy to fiat currency economy easy to transfer value back and forth con: risk same kinds of risks as banks

Charles Ponzi

Basic market dynamics market matches buyer and seller large, liquid market reaches a consensus price price set by supply (of BTC) and demand (for BTC)

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

Scenario: merchant accepts BTC customer wants: to pay with Bitcoin merchant wants: * to receive dollars * simple deployment * low risk (tech risk, security risk, exchange rate risk)

HTML for payment button

user merchant payment service (1) Pay with BTC button (2) clicked (3) payment interaction (4) redirect (4b) ok so far (5) confirm

End result customer: pays Bitcoins merchant: gets dollars, minus a small percentage payment service: gets Bitcoins pays dollars (keeps small percentage) absorbs risk: security, exchange rate needs to exchange Bitcoins for dollars, in volume

Overview 4.1: Simple Local Storage 4.2: Hot and Cold Storage 4.4: Online Wallets and Exchanges 4.5: Payment Services 4.6: Transaction Fees

Recall: transaction fee = value of inputs - value of outputs fee goes to miner who records the transaction Interesting economics, discussed in later lecture How are transaction fees set today?

Costs resources for peers to relay your transaction miner to record your transaction Transaction fee compensates for (some of) these costs Generally, higher fee means transaction will be forwarded and recorded faster.

Current consensus fees: No fee if tx less than 1000 bytes in size, all outputs are 0.01 BTC or larger, and priority is large enough Priority = (sum of inputAge*inputValue) / (trans size) Otherwise fee is BTC per 1000 bytes Approx transaction size (bytes): 148*N inputs + 34*N outputs + 10

Most miners enforce the consensus fee structure. If you don’t pay the consensus fee, your transaction will take longer to be recorded. Miners prioritize transactions based on fees and the priority formula.