6 minutes
ECOM6013 Blockchain and Cybercurrency
Overview
Traditional types of money
- token money
- represented by a physical object (token) such as a banknote, coin, traveler’s check, etc
- without that token the value is lost
- no intermediary is required for spending
- but requires faith in the issuer, usually a government or a bank
- notational money
- represented by a notation/entry in a ledger, passbook, or database (e.g., a bank account)
- notational money cannot be lost (in theory)
- requires an intermediary (bank or clearing house) for spending
- requires faith in the maintainer of the ledger
- hybrid money
- requires both a token and a ledger account (e.g., personal check, stored value card, gift card)
- can be lost and requires faith in the issuer
- requires an intermediary (bank or clearing house) for spending
Virtual money
- features
- no token
- no ledger
- no issuer, no government backing (or supervision)
- no intermediary required for spending
- but there do exist some problems
- digital money
- the money is just a string of bytes (data) stored on a device (computer, mobile phone)
- device failure means the money/value is gone
- device intrusion means the money can be stolen (just like any other data)
- good reason to backup devices (trust?)
- cybercurrency
- an internet-based form of currency or medium of exchange distinct from physical (such as banknotes and coins) that exhibits properties similar to physical currencies, but allows for instantaneous transactions and borderless transfer-of-ownership
- the most influential cybercurrency by far at this time is Bitcoin
- the key technology behind Bitcoin is Blockchain
Bitcoin and Blockchain
Bitcoin
- definition
- designed for the “online society” using internet technologies and ideas
- decentralized and independent of national currencies
- excellent for anonymous transactions (like hard currency but unlike credit cards)
- excellent for e-commerce –> online exchange, no specific currency, micro-payments, etc
- easily convertible to national currencies (only when the market trust still exists)
- important notes
- distinguish the difference between Blockchain technology and Bitcoin – Bitcoin is an important example application of Blockchain
- 5 elements of Bitcoin
- currency
- send units of value, convertible, divisible (challenged by its volatility)
- commodity
- scarcity stores wealth, market fluctuates with speculation (limited to 21 million, we are closed to the limit)
- brand
- marketing message, commodity and sharing knowledge
- protocol
- decentralized trust via distributed ledger
- technology
- Blockchain
- currency
- how to get Bitcoin
- sell something
- salary (?)
- use a Bitcoin exchange (including Bitcoin ATMs)
- Bitcoin “mining”
- there will never be more than 21 million BTC (2*50*210,000)
- divisible into units as small as 1/100 millionth of a BTC (micropayments)
- Bitcoin and encryption technologies
- hash functions – one way hashing using SHA-256 which produces 256 bit hashes
- public-private key (asymmetric) encryption
- everyone has a public-private key pair
- ensures end-to-end security, non-repudiation, etc
- digital signatures
- all of these technologies are mature and trusted
- characteristics
- no physical object, not even a character string
- “Bitcoin” refers to the protocol, “bitcoin” refers to the value
- Bitcoin protocol
- Bitcoin was invented in 2008 by an anonymous person (maybe a team) call Satoshi Nakamoto allegedly in Japan (but likely in the Silicon Valley)
- the Bitcoin protocol for generating and exchanging Bitcoin is implemented in publicly available, open source software – this has led to other cybercurrencies – called “forks”
- anyone can obtain and run a Bitcoin client
- Bitcoin protocol
- “a chain of digitally signed transaction records leading from the original owner to the current owner” – similar to the chain of land deeds
- transaction records contain
- hashes that are difficult to break
- virtual owner IDs (addresses)
- Bitcoin addresses
- Bitcoin software generates addresses of 25-44 characters for users, e.g., 1BBsbEq8Q29JpQr4jygjPof7F7uphqyUCQ
- the address is actually an elliptic curve public key, a 44 character key is as secure as a 7000-bit RSA key
- to send Bitcoins, user specifies a receiving address (public) and amount and then initiates the transaction
- to receive Bitcoins, only an address (public) is needed
- addresses are not directly registered to users, and there can be a different address for each transaction if desired
- Bitcoin addresses
- there is no Bitcoin registry, no central authority
- Bitcoin Blockchains are broadcast to everyone, and anyone can verify them (crowdsourcing)
Blockchain
- analogy: land deeds
- land ownership is defined by a “chain of title”, a sequence of deeds leading from the original owner to the present owner
- deeds are recorded in the land registry
- ownership is established by searching the registry
- the land registry is, in effect, a ledger holder
- if the registry is altered, ownership can be lost
- double-selling is prevented by timestamps
- a distributed registry
- suppose all deeds are made available to thousands of nodes on a decentralized public network
- if the deeds are genuine and the network members agree on the chain of title, then we can tell who owns a piece of property
- ask the network and count the responses – if a majority say that someone is the owner, then they are
- there must be enough honest members that false responses cannot dominate (or give them a reward for being honest)
- the registry is not (by definition) under a centralized control
Challenges and the future trend
- possible vulnerabilities
- no way to reverse a transaction without the payee’s cooperation
- software bugs
- bank robbery by hackers
- malware attacks against wallets
- government attempts to control
- competing digital currencies easy to make (fork) – Auroracoin, Dogecoin, Namecoin, Primecoin, etc. – imitation is flattery
- challenges for Bitcoin
- scalability – currently, bitcoin can process approximately 4.6 transactions per second, compared with 1,700 transactions per second that Visa can process worldwide (old number, likely fewer transaction)
- time to solve a block (mine one bit-coin) takes approximately 10 mins, no matter how many people are actively mining (part of the bitcoin algorithm) – always limit its speed of processing
- it takes 120 exahashes/s to solve a new block in bit-coin in early 2020 (1 exa=quitillion=1018)
- exahashes/s
- calculation force unit
- the number of times the miner completes the hash calculation in a unit time
- exahashes/s
- the bitcoin network is estimated to consume about 343 megawatts of power in total (about 1/3 of all homes in San Jose, or 285,000 homes in US, 2018 figure, assuming most efficient ASIC can use 1W to solve 1 gigahash per second)
- in August 2018, it was estimated bitcoin mining is responsible for 1% of world’s energy consumption (by a US Senate Committee)
- this makes transaction of fractions of bitcoin (smallest unit is 1/100 millionth = 1 Satoshi) meaningless and highly inefficient
- possible future of Bitcoin/virtual currencies
- social
- for the world’s unbanked, there is no choice
- for small businesses, freelancers and startups in developing nations, there is no choice (at present, but is changing fast)
- “from stones ➜ precious metals ➜ paper ➜ bytes” – inevitable development of “money”
- distributed trust is still trust
- economic/political
- a future with digital currencies and decentralized stores is likely to be positive – some people trust math over people (how sad)
- national adoption of decentralized currencies may bring political transparency and economic neutrality
- developing nations seeking to curb corruption and break free of economic dependence on other countries could see potential in these technologies
- what next? – come Central Bank Digital Currency (CBDC)
- China has announced it has launched its own CBDC and is experimenting in 4 cities within China
- plan to do it across China in 1-2 years
- social