SlideShare a Scribd company logo
Bitcoin in a Nutshell
Dr. Daniel K.C. Chan
November, 2018
2November 2018
◦ What is bitcoin?
◦ Which bitcoin networks to trade on?
◦ Where to keep your bitcoins?
◦ Ways to pay more securely
◦ How to buy and sell bitcoins?
◦ Transaction fees are optional but …
◦ What does bitcoin have to do with
blockchain?
◦ How is consensus reached?
◦ What is bitcoin mining?
◦ What is Initial Coin Offering (ICO)?
◦ Any other risks?
Contents
Bitcoin in a Nutshell
3November 2019
What is bitcoin?
Bitcoin in a Nutshell
4November 2018
▪ First cryptocurrency (created and stored digitally) introduced in 2009
and is the most popular cryptocurrency
▪ The number of bitcoins is capped to 21 million by design
▪ It is operated by a decentralised authority
▪ No centralised authority is responsible for verification of the validity of bitcoin
transactions and decides its value - it does this on its own
▪ Acceptable to some businesses as a form of payment
▪ Advantages include low transaction fees, faster transfer of payments,
participants stay anonymous, exemption of transaction taxes, …
Introduction to Bitcoin
Bitcoin in a Nutshell
5November 2018
Needs & Goals of Beneficiaries & Stakeholders
Bitcoin in a Nutshell
6November 2018
▪ The idea behind bitcoin began in 2008 when
the name Bitcoin.org was registered
▪ On October 31, 2008 (Halloween), Satoshi
Nakamoto published a paper that dictates
how bitcoin operates
▪ No one knows the true identity of Satoshi
Nakamoto, the name associated with the person
that released the bitcoin whitepaper in 2008
▪ The identity of Satoshi Nakamoto has not been
revealed to date
The Genesis of Bitcoin
Bitcoin in a Nutshell
Bitcoin: A Peer-to-Peer Electronic Cash
System, Satoshi Nakamoto, 2008
(https://bitcoin.org/bitcoin.pdf)
7November 2018
Distributed Ledgers
Bitcoin in a Nutshell
8November 2018
Blockchain Behind Bitcoin
Bitcoin in a Nutshell
a chain of blocks
9November 2018
On January 3,
2009, the first
Bitcoin block was
mined and is
known as Block 0
or the “genesis
block”
Transaction total
value was 50 BTC
The Genesis
Block / Block 0
Bitcoin in a Nutshell
https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
10November 2018
Stamping
the date of
the creation
of the
genesis
block
Coinbase
Message
Bitcoin as an Example of Blockchain Application
11November 2018
▪ The coinbase message
“04ffff001d0104455468652054696d657320
30332f4a616e2f32303039204368616e6365
6c6c6f72206f6e206272696e6b206f662073
65636f6e64206261696c6f757420666f7220
62616e6b73” captures the heading “The
Times 03/Jan/2009 Chancellor on brink of
second bailout for banks” in The Times
▪ This was probably intended as proof that
the block was created on or after January 3,
2009, as well as a comment on the
instability caused by fractional-reserve
banking
Bitcoin in a Nutshell
12November 2018 Bitcoin as a Blockchain Application
13November 2019
Which bitcoin networks to trade
on?
Bitcoin in a Nutshell
14November 2018
Main Network
(mainnet)
Global Testing
Network (testnet)
Local Regression
Testing Network
Real and mined coins with real
associated value are traded in
the live blockchains.
Coins on the main network are
traded for goods and services.
Let you instantly create a
brand-new private blockchain
with the same basic rules as
testnet.
Coins are created instantly
under your complete control.
Real and mined coins with no
associated value are traded in
the live blockchain for testing
purposes.
Testnet coins are given away
for free to anyone that wants
them.
Types of Bitcoin Networks
Bitcoin in a Nutshell
Coins mined in one network stay in that network, thus coins
cannot be transferred between networks
15November 2018
▪ Coins for the Testnet are given out for free from what are called Faucet
Websites (e.g. http://bitcoinfaucet.uo1.net/, https://testnet-
faucet.mempool.co/)
▪ These websites are set up by miners or other users with a surplus of Testnet
coins
▪ They send coins to anyone who requests them and kindly asks for their return
when the user is finished with them
▪ Testnet requires no separate installation
▪ Bitcoin wallets that have the ability to connect to the Testnet can be started
with a special flag that will direct the software to connect to the Testnet
blockchain instead of the main network blockchain
Where do the Testnet bitcoins come from?
Bitcoin in a Nutshell
16November 2019
Where to keep your bitcoins?
Bitcoin in a Nutshell
17November 2018
▪ A bitcoin wallet is a
program / app / device /
way that helps send and
receive bitcoin payments
▪ It keeps history of
transactions made
through all wallet
addresses
▪ It reveals the balance of
the wallet containing
bitcoins associated to one
or more bitcoin addresses
Bitcoin Wallets
Bitcoin in a Nutshell
18November 2018
Popular
Bitcoin
Wallets
Bitcoin in a Nutshell
https://bitcoin.org/en/choose-your-wallet
19November 2018
▪ Multiple addresses
▪ Multiple private & public keys
▪ Does not store any currency nor wallet balance
▪ In fact, currencies do not get stored in any single location or exist anywhere in any
physical form
▪ All that exists are records of transactions stored on the blockchain
▪ A facility to manage cryptocurrencies (bitcoin and altcoins)
▪ A medium to interact with the cryptocurrency blockchains
▪ An address can be seen as a safe deposit box that has a glass front – everybody is aware of
what is contained inside, but only the private key can be used to unlock it and put things in or
take things out
What is kept in a wallet?
Bitcoin in a Nutshell
20November 2018
What can you see through the glass front?
Bitcoin in a Nutshell
https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html
21November 2018
What can you see through the glass front?
Bitcoin in a Nutshell
https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html
22November 2018
Types of Bitcoin Wallets
Bitcoin in a Nutshell
Less secure Most secure
Online Desktop Mobile Paper Hardware
23November 2018
▪ Open www.bitcoin.com
▪ Create a new “Personal Wallet”
▪ Enable “testnet” within “advanced options”
if you want to play with simulated currency;
otherwise, do not enable it
Creating a Desktop Wallet
Bitcoin in a Nutshell
24November 2018
▪ If “testnet” is not enabled, a seed phrase
will be generated for you
▪ The seed phrase must be securely stored
as it serves as a superuser password for
your wallet
▪ The seed phrase needs to be provided
when trying to recover a wallet
Seed / Mnemonic / Recovery Phrase
Bitcoin in a Nutshell
25November 2018
▪ Typically, multiple addresses can be mapped
to a wallet
▪ Some wallets have a limit on the number of
addresses and some do not
▪ Each address is associated to the
public/private keypair of the wallet
▪ The public key goes through several rounds
of hashing, a checksum added, and is
converted into a base58 string to produce the
bitcoin address
▪ An address is a string of 30 characters starting
with the digit “1”
Wallet Addresses
Bitcoin in a Nutshell
26November 2018
▪ Private keys are needed to sign
transactions
▪ If a public key was an account number, a
private key would be like an ATM pin
▪ Provide and confirm a password before
exporting the private key as a file
▪ The private key can be shown as a QR
code to allow another device to capture it
▪ The private key can also be recovered
using the seed phrase
Private Key
Bitcoin in a Nutshell
27November 2018
▪ Stores your bitcoin online
▪ These use an external
service that usually has control of
your money
▪ Besides those online wallets
listed on bitcoin.org, most places
where you can exchange bitcoins,
also let you store your money on
their servers, e.g. coinbase.com
and blockchain.info
Online Wallets
Bitcoin in a Nutshell
https://www.coinbase.com/
28November 2018
▪ Mobile wallets are not full bitcoin
clients
▪ A full bitcoin client has to download the
whole bitcoin blockchain, which is large
and grows constantly
▪ A mobile device memory may not be
capable of storing this
▪ Mobile clients only download a small
subset of a blockchain then rely on the
trusted nodes on the network in a bid
to ensure the information they have is
correct
Mobile Wallets
Bitcoin in a Nutshell
https://wallet.mycelium.com/
29November 2018
▪ Paper wallets are bitcoin seed written on paper
▪ When generating a paper wallet from a website, an image of two QR codes will be generated
▪ One of the codes will be a public address that you can use to receive bitcoins
▪ The other code will be a private key that you can use to authorize payments
▪ The private key is not stored anywhere by digital means, meaning that they are not prone to hardware
failure or cyber attacks
Paper Wallets
Bitcoin in a Nutshell
https://paperwalletbitcoin.com/
30November 2018
▪ Also known as cold storage
▪ Download the wallet keys
generator by saving the webpage
(Ctrl-S)
https://paperwallet.bitcoin.com/
▪ Disconnect the computer
▪ Load the downloaded webpage
(without Internet connection) and
move the mouse around to
generate the keys completely
offline
Paper Wallets
Bitcoin in a Nutshell
https://paperwallet.bitcoin.com/
31November 2018
▪ Dedicated hardware wallets
▪ These vary quite a bit in
features, security, and interface
▪ They are not widely
used, although possibly worth
investigating if you become a
serious bitcoin enthusiast
Hardware Wallets
Bitcoin in a Nutshell
32November 2019
Ways to pay more securely
Bitcoin in a Nutshell
33November 2018
▪ Multiple parties are allowed to seed an address partially using their public keys
▪ For one to be allowed to spend the bitcoins, the other members will have to sign
▪ The number of signatures needed (N of M) for one to spend bitcoins is agreed
upon when the address is created
Multi-Signature Wallets & Payment Transactions
Bitcoin in a Nutshell
34November 2019
How to buy and sell bitcoins?
Bitcoin in a Nutshell
35November 2018
The Controlled Supply of Bitcoin
Bitcoin in a Nutshell
https://en.bitcoin.it/w/images/en/4/42/Controlled_supply-supply_over_block_height.png
36November 2018
Bitcoin is a Tradable Currency
Bitcoin as a Blockchain Application
https://bitinfocharts.com
37November 2018
Bitcoin’s Historical High at US$18.334k on 16-Dec-2017
Bitcoin in a Nutshell
https://www.blockchain.com/charts/market-price?timespan=all
38November 2018
▪ Bitcoin exchanges allows you to trade
bitcoin or fiat currency
▪ You can buy bitcoins from a bitcoin
exchange after signing up for an account
▪ You will be allowed to pay from a credit
card or a bank account
▪ The private key will be used to authorize
any payments
Buying Bitcoins through Exchanges
Bitcoin in a Nutshell
39November 2018
Popular Bitcoin Exchanges
Bitcoin in a Nutshell
Bit2me Bitbank Bitcoin Of
America
Bitcoin.com Bitcoin.de Bitfinex BitMEX Bitnovo Bitpanda BitQuick
Bitsane Bitso Bitstamp BitX BTCchina CEX.io Changelly Circle Coinbase coinBR.net
Coinfloor Digital
Securities
Exchange
CoinMate Cointal
Exmo
Gatecoin Hitbtc Huobi Kraken LakeBTC
CoinGate
TideBit
40November 2018
▪ The process of selling bitcoins is
not as easy as buying bitcoins
▪ You must decide on whether to sell
bitcoin online or in person
▪ Online
▪ Direct trades
▪ Exchange trades
▪ Peer-to-Peer Marketplaces
▪ In Person
Selling Bitcoins
Bitcoin in a Nutshell
41November 2018
▪ Dealing directly with another
individual and an intermediary (e.g.
LocalBitcoins and Coinbase) who
facilitates the connection
▪ Register yourself as a seller and state
you have bitcoins to sell
▪ Get a notification when a buyer is
found
▪ Required to interact directly with the
buyer even though all the trades will
be completed on the website
Direct Trades
Bitcoin in a Nutshell
https://localbitcoins.com/
42November 2018
▪ The exchanges act as an intermediary holding the funds for each participant
▪ To place a sell order, which states the volume and the price per unit
▪ Once a buyer posts a buy order that matches your sale order, the exchange will
complete the trade on your behalf and the bitcoins will be deducted from your
exchange account
Exchange Trades
Bitcoin in a Nutshell
43November 2018
▪ There is no exchange that lets you easily deposit money and then offer you any
desired cryptocurrency
▪ You have to buy bitcoins at one place
▪ Trade it for coins at another site or exchange
▪ Basically, some exchanges are specialized in converting money into bitcoins
and back and other exchanges are specialized in converting cryptocurrency
coins between each other
▪ crypto → crypto: use Changelly, takes 10 minutes
▪ money → crypto: use Coinmama, Spectrocoin or Indacoin, takes 10 minutes
▪ crypto → money: no quick option, use Spectrocoin, Coinbase or LocalBitcoins, takes 1
to 3 days
Exchange Trades – Exchange Selection
Bitcoin in a Nutshell
44November 2018
▪ Across all exchanges verification is required only for money trading
▪ You can deposit Bitcoin, exchange it for Ethereum and withdraw Ethereum without
verification
▪ Once you want to buy cryptocurrency with money or sell cryptocurrency for
money, you have to verify your account
▪ It usually consists of uploading photo of your ID/passport and waiting a few
days for approval
▪ Fees include exchange fee (for every exchange), fiat money deposit fee
(deposit/withdrawal from bank account or credit card), and other bank
charges (e.g. transferring money overseas)
Exchange Trades – Verification & Fees
Bitcoin in a Nutshell
45November 2018
Exchange Trades – Fee Comparison
Bitcoin in a Nutshell
http://www.coinparator.com/compare-exchanges/
46November 2018 Bitcoin as a Blockchain Application
https://anxpro.com/
47November 2018 Bitcoin as a Blockchain Application
https://www.myethshop.com/
48November 2018 Bitcoin as a Blockchain Application
https://gatecoin.com/
49November 2018 Bitcoin as a Blockchain Application
https://www.tidebit.com
50November 2018
Exchange Trades - Bitcoin ATM Locations
Bitcoin in a Nutshell
https://coinatmradar.com/country/96/bitcoin-atm-hong-kong/ https://coinmap.org/#/world/33.72433966/14.94140625/2/atm
51November 2018
▪ Can buy and sell bitcoins without
verification under a specified amount
▪ Need a bitcoin wallet
▪ QR code scanning with mobile phone
▪ On-site Wi-Fi is often provided
▪ Often only accepts/dispenses large
denomination notes
▪ Transaction fee (7~10%) is required
▪ Transaction receipt is provided
Exchange Trades – Using Bitcoin ATMs
Bitcoin in a Nutshell
52November 2018
▪ To help two groups of people with specific and complimentary needs meet
▪ Sellers: people who need to use bitcoins to buy goods from a website that does not
accept payment via digital currencies directly
▪ Buyers: people who need to buy bitcoins using their credit or debit cards through
providing discounted goods and services
▪ Seller to post “wish list” and the expected discount rate
▪ Buyer who wants to buy bitcoins with value matching seller’s purchases will
purchase items in the wish list and will have them delivered directly to seller
▪ After the delivery of goods, seller will notify the marketplace to release the
bitcoins minus the discount agreed and a fee charged by the marketplace
Peer-to-Peer Marketplaces
Bitcoin in a Nutshell
53November 2018
▪ To receive bitcoins, give the sender your public address or QR code
▪ Bitcoin payments are irreversible so be extra careful when sending bitcoin
payments
▪ To send bitcoins, copy the public address of the receiver or scan the
receiver’s QR code
▪ The wallet then publishes a signed copy of the transaction to the entire
bitcoin network, which will bundle the transaction into a block with other
transactions
▪ The block is tied shut with a cryptographic algorithm
Send & Receive Bitcoins
Bitcoin in a Nutshell
54November 2018
▪ To scan the receiver’s QR code on the phone then accept cash-in-hand
▪ Need to agree with your buyer on the rate
▪ Can be based on what is available on a popular bitcoin exchange or
CoinDesk Bitcoin Price Index (https://www.coindesk.com/price/bitcoin)
▪ Some sellers will choose to apply a particular percentage on top on
such rates as an anonymity/convenience premium or to help them cover
costs
▪ You can advertise yourself as a bitcoin seller on a website such as
LocalBitcoins (https://localbitcoins.com/)
Selling In Person
Bitcoin in a Nutshell
55November 2018 Bitcoin in a Nutshell
Thefirstblockwithbitcoinsending
transactionsafterthegenesisblock
90k+ blocks were created after
the genesis block but without
actual bitcoin exchange
Those 90k+ blocks were created
between January 3, 2009 and
November 8, 2010
The left hand side of the
transaction table contains input
addresses & amounts while the
right hand side has the output
addresses & amounts
“Spent” stands for bitcoins spent
through the destination address.
“Unspent” simply means bitcoin
that is still in that wallet under a
new address
https://www.blocktrail.com/BTC/block/0000000000115a0b62b7f458613747faee5278d041d957efbf1ac7d9dbaedc5f
56November 2019
Transaction fees are optional
but …
Bitcoin in a Nutshell
57November 2018
▪ When receiving bitcoins, one is not expected to pay any fee
▪ When spending bitcoins, you can specify the amount of fee that you are
prepared to pay
▪ The amount of fee is not determined by the amount of bitcoins that you are
transacting
▪ So the amount of fee for transferring 10,000 BTC and 1 BTC may be similar
▪ A higher transaction fee may lead to a faster transaction confirmation
▪ The fee will only affect the time you have to wait until the first confirmation
▪ For example, Next Block Fee gets the transaction mined on the next block (~10
mins), 3 Blocks Fee within 3 blocks (~30 mins), and 6 Blocks Fee within 6 blocks (~1
hour)
Bitcoin Transaction Fees
Bitcoin in a Nutshell
58November 2018
The Genesis Block
Bitcoin in a Nutshell
https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
59November 2018
Bitcoin Transfer Carries a Transaction Fee
Bitcoin as a Blockchain Application
https://bitinfocharts.com
60November 2018
▪ Transaction fees are a form of compensation to the bitcoin miners for
the computational work they invested in confirming a bitcoin block
▪ When a transaction has a higher total denomination in its inputs than in
is outputs, the difference will go to the miner as a transaction fee
Specifying Bitcoin Transaction Fees
Bitcoin in a Nutshell
61November 2018
Total inputs = 0.20333199 BTC
Total outputs = 0.20097975 BTC
Transaction fee
= total inputs – total outputs
= 0.00235224
The 500kth Block
Bitcoin in a Nutshell
https://www.blocktrail.com/BTC/tx/c2d47d9052a7aa47d87ab1f0d0660738d9ef514ce3486bd8c64a2769c542b652
62November 2018
PredictingTransactionFees
Bitcoin in a Nutshell
https://bitcoinfees.earn.com/
63November 2018
▪ bitcoinfees.earn.com provides a
useful statistic: the median byte
size is the most commonly seen
byte size of transactions in the
last several blocks
▪ Also provided in the same page is
a recommended fee for fast
confirmation
▪ Multiplying these two values will
get the total fee to pay
Bitcoin Fee Calculator
Bitcoin in a Nutshell
https://www.buybitcoinworldwide.com/fee-calculator/
64November 2019
What does bitcoin have to do
with blockchain?
Bitcoin in a Nutshell
65November 2018
▪ A protocol that supports a decentralized, pseudo-anonymous, peer-to-
peer digital currency
▪ A publicly disclosed linked ledger of transactions stored in a blockchain
▪ A reward driven system for achieving consensus (mining) based on
Proof of Work (POW) for helping to secure the network
What is bitcoin again?
Bitcoin in a Nutshell
66November 2018
▪ The blockchain is made of a network of nodes
▪ Each node in the network is an administrator and nodes are allowed to
join the network voluntarily
▪ Anything that happens is a function of the whole network
▪ The network operation is done on a peer-to-peer basis
Blockchain as a Network of Nodes
Bitcoin in a Nutshell
67November 2018
▪ Blockchain technology is decentralised by design
▪ Information is in the form of shared and reconciled databases
▪ The blockchain does not keep records in a single location but at nodes
on the bitcoin network
▪ The records are available to the public to verify easily
▪ A hacker is not provided with a centralised version of records which they
can corrupt
▪ With identical blocks of information stored on the different nodes of the
network, there is no single point of failure
Decentralisation in the Blockchain
Bitcoin in a Nutshell
68November 2018
Bitcoin nodes found in countries around the world
Bitcoin as a Blockchain Application
https://bitnodes.earn.com/
69November 2018
▪ Must have the sender’s private key and receiver’s bitcoin address
▪ The private key is used to sign the transaction which has the input, the
amount, and the output
▪ The “involved” bitcoins are sent from the bitcoin wallet to the bitcoin
network
▪ Bitcoin miners then verify the transaction, put it into the transaction
block, and finally solve the computational puzzle against the block
▪ Solved puzzle must be verified by other miners through confirmation
and this is why sometimes you may have to wait for them to finish
Activities Leading to Confirmation
Bitcoin in a Nutshell
70November 2018
▪ The bitcoin blockchain is designed in such a way that each block takes
on average about 10 minutes to mine
▪ Some merchants will make you wait for the transaction to be confirmed
▪ Meaning that it may take some time before you are allowed to download the
digital goods or enjoy using the paid service
▪ Some merchants will not make you wait for the transaction to be confirmed
▪ This is mostly in cases where the value of a transaction is low, meaning that the risk
of fraud is low
▪ A transaction is often considered confirmed after having six or more
transaction confirmations from various miners
Transaction Confirmation
Bitcoin in a Nutshell
71November 2019
How is consensus reached?
Bitcoin in a Nutshell
72November 2018
The network has a unified perspective of the blockchain,
with the blue block as the tip of the main chain
Bitcoin in a Nutshell
73November 2018
Two miners mine two different blocks almost simultaneously,
both are children of the blue block
Bitcoin in a Nutshell
74November 2018
The network splits into two different perspectives, one side
topped with a red block, the other with a green block
Bitcoin in a Nutshell
75November 2018
The miners building on top of the green block find a new
pink block and extends the blockchain
Bitcoin in a Nutshell
76November 2018
The blue-green-pick chain being the longer chain becomes
the main chain and the red block becomes an orphan
Bitcoin in a Nutshell
77November 2019
What is bitcoin mining?
Bitcoin in a Nutshell
78November 2018
▪ Bitcoin mining is the process of verifying transactions and adding them
to the public ledger which is a blockchain
▪ In the mining process, recent transactions are combined into blocks and
computationally difficult puzzles are solved
▪ The computational difficulty is elevated every 2,106 blocks
▪ After the “discovery” of a particular block, the discoverer is allowed to
itself a number of bitcoins as award
▪ Bitcoin mining is also the means through which new bitcoins are
released into circulation
What is bitcoin mining?
Bitcoin in a Nutshell
79November 2018
ffffffff….
….
….
af658d45….
….
….
00000001….
….
000000004ff..
….
….
000000002….
000000001….
000000000….
The SHA-256 values of the different
configurations of the block header
Possible block header hash values
corresponding to possible values
assigned to the nonce field
The Computational Puzzle of Bitcoin Mining
Bitcoin in a Nutshell
Magic Number (4) 0xD9B4BEF9
Block Size (4) 632
BlockHeader(80)
Version (4) 1
Previous Block Header Hash (32) 0000…
Merkle Root Hash (32) d7c3….
Timestamp (4) 2010-11-08 15:34:22
Difficulty Target (4) 1.00000000
Nonce (4) What value to assign?
Transaction Counter (1-9) 3
Transactions (< 1,000,000) 1Htz....(50)
1K3d….(50) > 1Lgs….(50)
1E7o….(50) > 12Qy….(10), ….
Block header hash values are valid
only if they are below the specified
difficulty target, often interpreted as
the number of leading zeros required
Using the 500th block as an example
Nonce
= 2063568441
Find a value for the nonce field such that the block header hash value is smaller than the specified difficulty target?
In the case of the 500th block, the winning miner assigned 2063568441 to the nonce field.
✓

80November 2018
Block height is at 550,763 as of 20th Nov, 2018
Bitcoin in a Nutshell
https://www.blocktrail.com/BTC
81November 2018
Mining reward is halved every 210,000 blocks
Bitcoin in a Nutshell
https://en.bitcoin.it/w/images/en/4/42/Controlled_supply-supply_over_block_height.png
82November 2018
The birth of the very
first 50 BTC
The Genesis
Block
Bitcoin in a Nutshell
https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
83November 2018
The Bitmain mine in Ordos, Inner Mongolia, has eight buildings containing
mining machines. One of them is dedicated to Litecoin and seven mine
bitcoins.
Bitcoin as a Blockchain Application
https://qz.com/1055126/photos-china-has-one-of-worlds-largest-bitcoin-mines/
84November 2018 Bitcoin as a Blockchain Application
85November 2018 Bitcoin as a Blockchain Application
86November 2018 Bitcoin as a Blockchain Application
87November 2018 Bitcoin as a Blockchain Application
88November 2018
The Cheapest and the Most Expensive
Bitcoin as a Blockchain Application
89November 2019
What is Initial Coin Offering
(ICO)?
Bitcoin in a Nutshell
90November 2018
▪ An ICO is the first release of a
cryptocurrency
▪ Mostly the process is done by
crowdfunding but private ICO’s are
becoming more common
▪ In an ICO, a quantity of cryptocurrency is
sold in the form of tokens (coins)
to investors, in exchange for legal
tender or other cryptocurrencies such
as bitcoin or ethereum
▪ The tokens sold are promoted as future
functional units of currency if or when the
ICO's funding goal is met and the project
launches
What is ICO?
Bitcoin in a Nutshell
https://www.icochamps.com
91November 2018
▪ Almost no government regulation/enforcement & no qualification process
▪ ICOs have been prone to scams and securities law violations
▪ Fewer than half of all ICOs survive four months after the offering while almost half of ICOs
sold in 2017 failed by February 2018
▪ On January 30, 2018, Facebook banned ICO advertisements as well as those
for cryptocurrencies and binary options
▪ By April 9, 2018, ICO advertising has been banned also by Twitter, Google, and MailChimp
▪ Facebook has since changed their mind and June 26, 2018 announced to reopen for approved advertisers
▪ Snapchat, LinkedIn, Baidu, Tencent, Weibo, Line, and Yandex all have limited companies from
marketing ICOs via their platforms
Issues with ICOs
Bitcoin in a Nutshell
92November 2018
▪ On September 4, 2017, Chinese financial regulators officially banned all ICOs
within the country, demanding that the proceeds from all past ICOs be refunded
to investors or face being severely punished according to the law
▪ The action by Chinese regulators resulted in large sell-offs for most cryptocurrencies
▪ Prior to the Chinese ban, ICOs had raised nearly US$400 million from about
100,000 Chinese investors
▪ A week later, however a Chinese financial official stated on Chinese national TV
that the ban on ICOs is only temporary until ICO regulatory policies are in place
ICOs are banned in China
Bitcoin in a Nutshell
93November 2018 Bitcoin as a Blockchain Application
94November 2018
Nature Signs Cases
▪ Fabricate a fake ICO, create
marketing hype, persuade people
to buy
▪ Seen as a quick & innovative
way to kickstart a company
▪ Ethereum has become the
breeding ground for these
fraudulent ICOs
▪ It is the ignorance of new
investors who dream of huge
gains in a matter of days by
holding worthless ICO tokens
▪ Cryptocurrency start-up Confido
disappeared with US$375,000
from an ICO
(https://medium.com/@cryptoann
a/confido-the-latest-
cryptocurrency-scam-
82aecfc896a1)
▪ Benebit ICO does a runner with
US$2.7 million of investor funds
(https://news.bitcoin.com/benebit-
ico-runner-2-7-million-investor-
funds/)
▪ Copied whitepaper
▪ Anonymous team (management,
lawyers, bankers, IT teams)
▪ Unusual hurry in execution
▪ Mismatch of written & said words
▪ Ignoring hard questions
▪ No strong reason for the token
economy
▪ No roadmap
▪ Jurisdictions that have little to no
investor protection rights
Fraudulent ICOs
Bitcoin in a Nutshell
95November 2019
Any other risks?
Bitcoin in a Nutshell
96November 2018 Bitcoin as a Blockchain Application
97November 2018
▪ By 2014, Mt. Gox was the largest bitcoin exchange
handling over 70% of all bitcoin transactions
worldwide
▪ In February 2014, it suspended trading, closed its
website & exchange service, and filed for
bankruptcy protection from creditors
▪ The company announced that approximately
850,000 bitcoins belonging to customers and the
company were missing and likely stolen, an amount
valued at more than US$450 million at the time
▪ Although 200,000 bitcoins have since been "found",
the reason(s) for the disappearance - theft, fraud,
mismanagement, or a combination of these - were
initially unclear
▪ New evidence presented in April 2015 by Tokyo
security company WizSec led them to conclude that
"most or all of the missing bitcoins were stolen
straight out of the Mt. Gox hot wallet over time,
beginning in late 2011"
Bitcoin in a Nutshell
https://www.wired.com/2014/02/bitcoins-mt-gox-implodes-2/
98November 2018
▪ In August, 2016, nearly 120,000 units of digital currency
bitcoin worth about US$72 million was stolen from the
exchange platform Bitfinex in Hong Kong, rattling the
global bitcoin community in the second-biggest security
breach ever of such an exchange.
▪ Bitfinex is the world’s largest dollar-based exchange for
bitcoin, and is known in the digital currency community
for having deep liquidity in the U.S. dollar/bitcoin
currency pair.
▪ In a statement on the Bitfinex website, the company
said “We have decided to generalise losses across all
accounts. … Upon logging into the platform, customers
will see that they have experienced a generalised loss
percentage of 36.067%.”
▪ BFX tokens were created after the hack, with an
obligation to return the 36% of lost funds to all
customers. The company finally redeemed 100% of all
issued and outstanding BFX tokens by April, 2017.
Bitcoin in a Nutshell
http://fortune.com/2016/08/03/bitcoin-stolen-bitfinex-hack-hong-kong/
Thank you

More Related Content

What's hot

Blockchain data structures and fundamental
Blockchain data structures and fundamentalBlockchain data structures and fundamental
Blockchain data structures and fundamental
Codium Club
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart Contracts
Financial Poise
 
Cryptocurrency
Cryptocurrency Cryptocurrency
Cryptocurrency
ShreyasSumeshMenon
 
Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
Gene Leybzon
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences
101 Blockchains
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
Jérôme Kehrli
 
Decentralised Exchanges - An Introduction
Decentralised Exchanges - An IntroductionDecentralised Exchanges - An Introduction
Decentralised Exchanges - An Introduction
Priyab Satoshi
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
Everythingcrypto
 
Crypto Wallet Types Explained
Crypto Wallet Types ExplainedCrypto Wallet Types Explained
Crypto Wallet Types Explained
101 Blockchains
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
Algo Trading
Algo TradingAlgo Trading
Algo Trading
Francesco Torraco
 
What is Cryptocurrency
What is Cryptocurrency What is Cryptocurrency
What is Cryptocurrency
James Travis
 
Tokenomics
TokenomicsTokenomics
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Edureka!
 
Ethereum
EthereumEthereum
How To Become A Blockchain Engineer
How To Become A Blockchain EngineerHow To Become A Blockchain Engineer
How To Become A Blockchain Engineer
101 Blockchains
 
Decentralization and why blockchain matters (YPO)
Decentralization and why blockchain matters (YPO)Decentralization and why blockchain matters (YPO)
Decentralization and why blockchain matters (YPO)
Animoca Brands
 
Future Fast Forward
Future Fast ForwardFuture Fast Forward
Future Fast Forward
Animoca Brands
 
Shihtzu Exchange, NFT Minting & Metaverse Platform
Shihtzu Exchange, NFT Minting & Metaverse PlatformShihtzu Exchange, NFT Minting & Metaverse Platform
Shihtzu Exchange, NFT Minting & Metaverse Platform
JitinThomas6
 
Ethereum
EthereumEthereum
Ethereum
Brian Yap
 

What's hot (20)

Blockchain data structures and fundamental
Blockchain data structures and fundamentalBlockchain data structures and fundamental
Blockchain data structures and fundamental
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart Contracts
 
Cryptocurrency
Cryptocurrency Cryptocurrency
Cryptocurrency
 
Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Decentralised Exchanges - An Introduction
Decentralised Exchanges - An IntroductionDecentralised Exchanges - An Introduction
Decentralised Exchanges - An Introduction
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
 
Crypto Wallet Types Explained
Crypto Wallet Types ExplainedCrypto Wallet Types Explained
Crypto Wallet Types Explained
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
Algo Trading
Algo TradingAlgo Trading
Algo Trading
 
What is Cryptocurrency
What is Cryptocurrency What is Cryptocurrency
What is Cryptocurrency
 
Tokenomics
TokenomicsTokenomics
Tokenomics
 
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
 
Ethereum
EthereumEthereum
Ethereum
 
How To Become A Blockchain Engineer
How To Become A Blockchain EngineerHow To Become A Blockchain Engineer
How To Become A Blockchain Engineer
 
Decentralization and why blockchain matters (YPO)
Decentralization and why blockchain matters (YPO)Decentralization and why blockchain matters (YPO)
Decentralization and why blockchain matters (YPO)
 
Future Fast Forward
Future Fast ForwardFuture Fast Forward
Future Fast Forward
 
Shihtzu Exchange, NFT Minting & Metaverse Platform
Shihtzu Exchange, NFT Minting & Metaverse PlatformShihtzu Exchange, NFT Minting & Metaverse Platform
Shihtzu Exchange, NFT Minting & Metaverse Platform
 
Ethereum
EthereumEthereum
Ethereum
 

Similar to Bitcoin in a Nutshell

Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
ShreeharshKankubji
 
Bitcoin
BitcoinBitcoin
Smart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond BitcoinSmart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond Bitcoin
Jim McKeeth
 
Bitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technologyBitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technology
Shiv Sahni
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
manishchaitanya
 
Bitcoin price today BTC to USD market cap.pdf
Bitcoin price today BTC to USD market cap.pdfBitcoin price today BTC to USD market cap.pdf
Bitcoin price today BTC to USD market cap.pdf
Franck La Rocca
 
BITCOIN TECHNOLOGY(AAappZZ)
BITCOIN TECHNOLOGY(AAappZZ)BITCOIN TECHNOLOGY(AAappZZ)
BITCOIN TECHNOLOGY(AAappZZ)
Arun Nair
 
Bitcoin technology
Bitcoin technologyBitcoin technology
Bitcoin technology
PatrickLanceDeVera
 
Bitcoin
BitcoinBitcoin
Bitcoin
khunturvisha
 
Bitcoin ppt
Bitcoin pptBitcoin ppt
Bitcoin ppt
Rohit Gautam
 
Bitcoin
BitcoinBitcoin
Bitcoin A General Overview
Bitcoin A General Overview Bitcoin A General Overview
Bitcoin A General Overview
Bradley W. Deacon
 
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital CoinsTop Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
danialchristian
 
Bitcoin
BitcoinBitcoin
Bitcoin Final Year Seminar Report
Bitcoin Final Year Seminar ReportBitcoin Final Year Seminar Report
Bitcoin Final Year Seminar Report
Shantanu Singh
 
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur VatsBitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
OWASP Delhi
 
Seminarreportonbitcoinapp02
Seminarreportonbitcoinapp02Seminarreportonbitcoinapp02
Seminarreportonbitcoinapp02
Mayuresh Singh
 
Bitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencyBitcoin:Global Digital Currency
Bitcoin:Global Digital Currency
Surbhi Jain
 
Presentation on Bitcoin
Presentation on BitcoinPresentation on Bitcoin
Presentation on Bitcoin
Priya Yadav
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publish
donn_lee
 

Similar to Bitcoin in a Nutshell (20)

Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Smart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond BitcoinSmart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond Bitcoin
 
Bitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technologyBitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technology
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
 
Bitcoin price today BTC to USD market cap.pdf
Bitcoin price today BTC to USD market cap.pdfBitcoin price today BTC to USD market cap.pdf
Bitcoin price today BTC to USD market cap.pdf
 
BITCOIN TECHNOLOGY(AAappZZ)
BITCOIN TECHNOLOGY(AAappZZ)BITCOIN TECHNOLOGY(AAappZZ)
BITCOIN TECHNOLOGY(AAappZZ)
 
Bitcoin technology
Bitcoin technologyBitcoin technology
Bitcoin technology
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin ppt
Bitcoin pptBitcoin ppt
Bitcoin ppt
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin A General Overview
Bitcoin A General Overview Bitcoin A General Overview
Bitcoin A General Overview
 
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital CoinsTop Bitcoin Wallets Of 2020 To Secure Your Digital Coins
Top Bitcoin Wallets Of 2020 To Secure Your Digital Coins
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin Final Year Seminar Report
Bitcoin Final Year Seminar ReportBitcoin Final Year Seminar Report
Bitcoin Final Year Seminar Report
 
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur VatsBitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
 
Seminarreportonbitcoinapp02
Seminarreportonbitcoinapp02Seminarreportonbitcoinapp02
Seminarreportonbitcoinapp02
 
Bitcoin:Global Digital Currency
Bitcoin:Global Digital CurrencyBitcoin:Global Digital Currency
Bitcoin:Global Digital Currency
 
Presentation on Bitcoin
Presentation on BitcoinPresentation on Bitcoin
Presentation on Bitcoin
 
Bitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publishBitcoin digital cash basics svcc 2017 10 001 publish
Bitcoin digital cash basics svcc 2017 10 001 publish
 

More from Daniel Chan

Digital Marketing with Near
Digital Marketing with NearDigital Marketing with Near
Digital Marketing with Near
Daniel Chan
 
Enterprise AI with DataRobot
Enterprise AI with DataRobotEnterprise AI with DataRobot
Enterprise AI with DataRobot
Daniel Chan
 
Fairness and Ethics in A
Fairness and Ethics in AFairness and Ethics in A
Fairness and Ethics in A
Daniel Chan
 
Machine Learning: Classification Concepts (Part 1)
Machine Learning: Classification Concepts (Part 1)Machine Learning: Classification Concepts (Part 1)
Machine Learning: Classification Concepts (Part 1)
Daniel Chan
 
Hyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellHyperledger Fabric in a Nutshell
Hyperledger Fabric in a Nutshell
Daniel Chan
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
Daniel Chan
 
Managing Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance VisibilityManaging Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance Visibility
Daniel Chan
 

More from Daniel Chan (7)

Digital Marketing with Near
Digital Marketing with NearDigital Marketing with Near
Digital Marketing with Near
 
Enterprise AI with DataRobot
Enterprise AI with DataRobotEnterprise AI with DataRobot
Enterprise AI with DataRobot
 
Fairness and Ethics in A
Fairness and Ethics in AFairness and Ethics in A
Fairness and Ethics in A
 
Machine Learning: Classification Concepts (Part 1)
Machine Learning: Classification Concepts (Part 1)Machine Learning: Classification Concepts (Part 1)
Machine Learning: Classification Concepts (Part 1)
 
Hyperledger Fabric in a Nutshell
Hyperledger Fabric in a NutshellHyperledger Fabric in a Nutshell
Hyperledger Fabric in a Nutshell
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
Managing Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance VisibilityManaging Mobile App Performance Through Geo-Performance Visibility
Managing Mobile App Performance Through Geo-Performance Visibility
 

Recently uploaded

Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
Ayan Halder
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 

Recently uploaded (20)

Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 

Bitcoin in a Nutshell

  • 1. Bitcoin in a Nutshell Dr. Daniel K.C. Chan November, 2018
  • 2. 2November 2018 ◦ What is bitcoin? ◦ Which bitcoin networks to trade on? ◦ Where to keep your bitcoins? ◦ Ways to pay more securely ◦ How to buy and sell bitcoins? ◦ Transaction fees are optional but … ◦ What does bitcoin have to do with blockchain? ◦ How is consensus reached? ◦ What is bitcoin mining? ◦ What is Initial Coin Offering (ICO)? ◦ Any other risks? Contents Bitcoin in a Nutshell
  • 3. 3November 2019 What is bitcoin? Bitcoin in a Nutshell
  • 4. 4November 2018 ▪ First cryptocurrency (created and stored digitally) introduced in 2009 and is the most popular cryptocurrency ▪ The number of bitcoins is capped to 21 million by design ▪ It is operated by a decentralised authority ▪ No centralised authority is responsible for verification of the validity of bitcoin transactions and decides its value - it does this on its own ▪ Acceptable to some businesses as a form of payment ▪ Advantages include low transaction fees, faster transfer of payments, participants stay anonymous, exemption of transaction taxes, … Introduction to Bitcoin Bitcoin in a Nutshell
  • 5. 5November 2018 Needs & Goals of Beneficiaries & Stakeholders Bitcoin in a Nutshell
  • 6. 6November 2018 ▪ The idea behind bitcoin began in 2008 when the name Bitcoin.org was registered ▪ On October 31, 2008 (Halloween), Satoshi Nakamoto published a paper that dictates how bitcoin operates ▪ No one knows the true identity of Satoshi Nakamoto, the name associated with the person that released the bitcoin whitepaper in 2008 ▪ The identity of Satoshi Nakamoto has not been revealed to date The Genesis of Bitcoin Bitcoin in a Nutshell Bitcoin: A Peer-to-Peer Electronic Cash System, Satoshi Nakamoto, 2008 (https://bitcoin.org/bitcoin.pdf)
  • 8. 8November 2018 Blockchain Behind Bitcoin Bitcoin in a Nutshell a chain of blocks
  • 9. 9November 2018 On January 3, 2009, the first Bitcoin block was mined and is known as Block 0 or the “genesis block” Transaction total value was 50 BTC The Genesis Block / Block 0 Bitcoin in a Nutshell https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
  • 10. 10November 2018 Stamping the date of the creation of the genesis block Coinbase Message Bitcoin as an Example of Blockchain Application
  • 11. 11November 2018 ▪ The coinbase message “04ffff001d0104455468652054696d657320 30332f4a616e2f32303039204368616e6365 6c6c6f72206f6e206272696e6b206f662073 65636f6e64206261696c6f757420666f7220 62616e6b73” captures the heading “The Times 03/Jan/2009 Chancellor on brink of second bailout for banks” in The Times ▪ This was probably intended as proof that the block was created on or after January 3, 2009, as well as a comment on the instability caused by fractional-reserve banking Bitcoin in a Nutshell
  • 12. 12November 2018 Bitcoin as a Blockchain Application
  • 13. 13November 2019 Which bitcoin networks to trade on? Bitcoin in a Nutshell
  • 14. 14November 2018 Main Network (mainnet) Global Testing Network (testnet) Local Regression Testing Network Real and mined coins with real associated value are traded in the live blockchains. Coins on the main network are traded for goods and services. Let you instantly create a brand-new private blockchain with the same basic rules as testnet. Coins are created instantly under your complete control. Real and mined coins with no associated value are traded in the live blockchain for testing purposes. Testnet coins are given away for free to anyone that wants them. Types of Bitcoin Networks Bitcoin in a Nutshell Coins mined in one network stay in that network, thus coins cannot be transferred between networks
  • 15. 15November 2018 ▪ Coins for the Testnet are given out for free from what are called Faucet Websites (e.g. http://bitcoinfaucet.uo1.net/, https://testnet- faucet.mempool.co/) ▪ These websites are set up by miners or other users with a surplus of Testnet coins ▪ They send coins to anyone who requests them and kindly asks for their return when the user is finished with them ▪ Testnet requires no separate installation ▪ Bitcoin wallets that have the ability to connect to the Testnet can be started with a special flag that will direct the software to connect to the Testnet blockchain instead of the main network blockchain Where do the Testnet bitcoins come from? Bitcoin in a Nutshell
  • 16. 16November 2019 Where to keep your bitcoins? Bitcoin in a Nutshell
  • 17. 17November 2018 ▪ A bitcoin wallet is a program / app / device / way that helps send and receive bitcoin payments ▪ It keeps history of transactions made through all wallet addresses ▪ It reveals the balance of the wallet containing bitcoins associated to one or more bitcoin addresses Bitcoin Wallets Bitcoin in a Nutshell
  • 18. 18November 2018 Popular Bitcoin Wallets Bitcoin in a Nutshell https://bitcoin.org/en/choose-your-wallet
  • 19. 19November 2018 ▪ Multiple addresses ▪ Multiple private & public keys ▪ Does not store any currency nor wallet balance ▪ In fact, currencies do not get stored in any single location or exist anywhere in any physical form ▪ All that exists are records of transactions stored on the blockchain ▪ A facility to manage cryptocurrencies (bitcoin and altcoins) ▪ A medium to interact with the cryptocurrency blockchains ▪ An address can be seen as a safe deposit box that has a glass front – everybody is aware of what is contained inside, but only the private key can be used to unlock it and put things in or take things out What is kept in a wallet? Bitcoin in a Nutshell
  • 20. 20November 2018 What can you see through the glass front? Bitcoin in a Nutshell https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html
  • 21. 21November 2018 What can you see through the glass front? Bitcoin in a Nutshell https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html
  • 22. 22November 2018 Types of Bitcoin Wallets Bitcoin in a Nutshell Less secure Most secure Online Desktop Mobile Paper Hardware
  • 23. 23November 2018 ▪ Open www.bitcoin.com ▪ Create a new “Personal Wallet” ▪ Enable “testnet” within “advanced options” if you want to play with simulated currency; otherwise, do not enable it Creating a Desktop Wallet Bitcoin in a Nutshell
  • 24. 24November 2018 ▪ If “testnet” is not enabled, a seed phrase will be generated for you ▪ The seed phrase must be securely stored as it serves as a superuser password for your wallet ▪ The seed phrase needs to be provided when trying to recover a wallet Seed / Mnemonic / Recovery Phrase Bitcoin in a Nutshell
  • 25. 25November 2018 ▪ Typically, multiple addresses can be mapped to a wallet ▪ Some wallets have a limit on the number of addresses and some do not ▪ Each address is associated to the public/private keypair of the wallet ▪ The public key goes through several rounds of hashing, a checksum added, and is converted into a base58 string to produce the bitcoin address ▪ An address is a string of 30 characters starting with the digit “1” Wallet Addresses Bitcoin in a Nutshell
  • 26. 26November 2018 ▪ Private keys are needed to sign transactions ▪ If a public key was an account number, a private key would be like an ATM pin ▪ Provide and confirm a password before exporting the private key as a file ▪ The private key can be shown as a QR code to allow another device to capture it ▪ The private key can also be recovered using the seed phrase Private Key Bitcoin in a Nutshell
  • 27. 27November 2018 ▪ Stores your bitcoin online ▪ These use an external service that usually has control of your money ▪ Besides those online wallets listed on bitcoin.org, most places where you can exchange bitcoins, also let you store your money on their servers, e.g. coinbase.com and blockchain.info Online Wallets Bitcoin in a Nutshell https://www.coinbase.com/
  • 28. 28November 2018 ▪ Mobile wallets are not full bitcoin clients ▪ A full bitcoin client has to download the whole bitcoin blockchain, which is large and grows constantly ▪ A mobile device memory may not be capable of storing this ▪ Mobile clients only download a small subset of a blockchain then rely on the trusted nodes on the network in a bid to ensure the information they have is correct Mobile Wallets Bitcoin in a Nutshell https://wallet.mycelium.com/
  • 29. 29November 2018 ▪ Paper wallets are bitcoin seed written on paper ▪ When generating a paper wallet from a website, an image of two QR codes will be generated ▪ One of the codes will be a public address that you can use to receive bitcoins ▪ The other code will be a private key that you can use to authorize payments ▪ The private key is not stored anywhere by digital means, meaning that they are not prone to hardware failure or cyber attacks Paper Wallets Bitcoin in a Nutshell https://paperwalletbitcoin.com/
  • 30. 30November 2018 ▪ Also known as cold storage ▪ Download the wallet keys generator by saving the webpage (Ctrl-S) https://paperwallet.bitcoin.com/ ▪ Disconnect the computer ▪ Load the downloaded webpage (without Internet connection) and move the mouse around to generate the keys completely offline Paper Wallets Bitcoin in a Nutshell https://paperwallet.bitcoin.com/
  • 31. 31November 2018 ▪ Dedicated hardware wallets ▪ These vary quite a bit in features, security, and interface ▪ They are not widely used, although possibly worth investigating if you become a serious bitcoin enthusiast Hardware Wallets Bitcoin in a Nutshell
  • 32. 32November 2019 Ways to pay more securely Bitcoin in a Nutshell
  • 33. 33November 2018 ▪ Multiple parties are allowed to seed an address partially using their public keys ▪ For one to be allowed to spend the bitcoins, the other members will have to sign ▪ The number of signatures needed (N of M) for one to spend bitcoins is agreed upon when the address is created Multi-Signature Wallets & Payment Transactions Bitcoin in a Nutshell
  • 34. 34November 2019 How to buy and sell bitcoins? Bitcoin in a Nutshell
  • 35. 35November 2018 The Controlled Supply of Bitcoin Bitcoin in a Nutshell https://en.bitcoin.it/w/images/en/4/42/Controlled_supply-supply_over_block_height.png
  • 36. 36November 2018 Bitcoin is a Tradable Currency Bitcoin as a Blockchain Application https://bitinfocharts.com
  • 37. 37November 2018 Bitcoin’s Historical High at US$18.334k on 16-Dec-2017 Bitcoin in a Nutshell https://www.blockchain.com/charts/market-price?timespan=all
  • 38. 38November 2018 ▪ Bitcoin exchanges allows you to trade bitcoin or fiat currency ▪ You can buy bitcoins from a bitcoin exchange after signing up for an account ▪ You will be allowed to pay from a credit card or a bank account ▪ The private key will be used to authorize any payments Buying Bitcoins through Exchanges Bitcoin in a Nutshell
  • 39. 39November 2018 Popular Bitcoin Exchanges Bitcoin in a Nutshell Bit2me Bitbank Bitcoin Of America Bitcoin.com Bitcoin.de Bitfinex BitMEX Bitnovo Bitpanda BitQuick Bitsane Bitso Bitstamp BitX BTCchina CEX.io Changelly Circle Coinbase coinBR.net Coinfloor Digital Securities Exchange CoinMate Cointal Exmo Gatecoin Hitbtc Huobi Kraken LakeBTC CoinGate TideBit
  • 40. 40November 2018 ▪ The process of selling bitcoins is not as easy as buying bitcoins ▪ You must decide on whether to sell bitcoin online or in person ▪ Online ▪ Direct trades ▪ Exchange trades ▪ Peer-to-Peer Marketplaces ▪ In Person Selling Bitcoins Bitcoin in a Nutshell
  • 41. 41November 2018 ▪ Dealing directly with another individual and an intermediary (e.g. LocalBitcoins and Coinbase) who facilitates the connection ▪ Register yourself as a seller and state you have bitcoins to sell ▪ Get a notification when a buyer is found ▪ Required to interact directly with the buyer even though all the trades will be completed on the website Direct Trades Bitcoin in a Nutshell https://localbitcoins.com/
  • 42. 42November 2018 ▪ The exchanges act as an intermediary holding the funds for each participant ▪ To place a sell order, which states the volume and the price per unit ▪ Once a buyer posts a buy order that matches your sale order, the exchange will complete the trade on your behalf and the bitcoins will be deducted from your exchange account Exchange Trades Bitcoin in a Nutshell
  • 43. 43November 2018 ▪ There is no exchange that lets you easily deposit money and then offer you any desired cryptocurrency ▪ You have to buy bitcoins at one place ▪ Trade it for coins at another site or exchange ▪ Basically, some exchanges are specialized in converting money into bitcoins and back and other exchanges are specialized in converting cryptocurrency coins between each other ▪ crypto → crypto: use Changelly, takes 10 minutes ▪ money → crypto: use Coinmama, Spectrocoin or Indacoin, takes 10 minutes ▪ crypto → money: no quick option, use Spectrocoin, Coinbase or LocalBitcoins, takes 1 to 3 days Exchange Trades – Exchange Selection Bitcoin in a Nutshell
  • 44. 44November 2018 ▪ Across all exchanges verification is required only for money trading ▪ You can deposit Bitcoin, exchange it for Ethereum and withdraw Ethereum without verification ▪ Once you want to buy cryptocurrency with money or sell cryptocurrency for money, you have to verify your account ▪ It usually consists of uploading photo of your ID/passport and waiting a few days for approval ▪ Fees include exchange fee (for every exchange), fiat money deposit fee (deposit/withdrawal from bank account or credit card), and other bank charges (e.g. transferring money overseas) Exchange Trades – Verification & Fees Bitcoin in a Nutshell
  • 45. 45November 2018 Exchange Trades – Fee Comparison Bitcoin in a Nutshell http://www.coinparator.com/compare-exchanges/
  • 46. 46November 2018 Bitcoin as a Blockchain Application https://anxpro.com/
  • 47. 47November 2018 Bitcoin as a Blockchain Application https://www.myethshop.com/
  • 48. 48November 2018 Bitcoin as a Blockchain Application https://gatecoin.com/
  • 49. 49November 2018 Bitcoin as a Blockchain Application https://www.tidebit.com
  • 50. 50November 2018 Exchange Trades - Bitcoin ATM Locations Bitcoin in a Nutshell https://coinatmradar.com/country/96/bitcoin-atm-hong-kong/ https://coinmap.org/#/world/33.72433966/14.94140625/2/atm
  • 51. 51November 2018 ▪ Can buy and sell bitcoins without verification under a specified amount ▪ Need a bitcoin wallet ▪ QR code scanning with mobile phone ▪ On-site Wi-Fi is often provided ▪ Often only accepts/dispenses large denomination notes ▪ Transaction fee (7~10%) is required ▪ Transaction receipt is provided Exchange Trades – Using Bitcoin ATMs Bitcoin in a Nutshell
  • 52. 52November 2018 ▪ To help two groups of people with specific and complimentary needs meet ▪ Sellers: people who need to use bitcoins to buy goods from a website that does not accept payment via digital currencies directly ▪ Buyers: people who need to buy bitcoins using their credit or debit cards through providing discounted goods and services ▪ Seller to post “wish list” and the expected discount rate ▪ Buyer who wants to buy bitcoins with value matching seller’s purchases will purchase items in the wish list and will have them delivered directly to seller ▪ After the delivery of goods, seller will notify the marketplace to release the bitcoins minus the discount agreed and a fee charged by the marketplace Peer-to-Peer Marketplaces Bitcoin in a Nutshell
  • 53. 53November 2018 ▪ To receive bitcoins, give the sender your public address or QR code ▪ Bitcoin payments are irreversible so be extra careful when sending bitcoin payments ▪ To send bitcoins, copy the public address of the receiver or scan the receiver’s QR code ▪ The wallet then publishes a signed copy of the transaction to the entire bitcoin network, which will bundle the transaction into a block with other transactions ▪ The block is tied shut with a cryptographic algorithm Send & Receive Bitcoins Bitcoin in a Nutshell
  • 54. 54November 2018 ▪ To scan the receiver’s QR code on the phone then accept cash-in-hand ▪ Need to agree with your buyer on the rate ▪ Can be based on what is available on a popular bitcoin exchange or CoinDesk Bitcoin Price Index (https://www.coindesk.com/price/bitcoin) ▪ Some sellers will choose to apply a particular percentage on top on such rates as an anonymity/convenience premium or to help them cover costs ▪ You can advertise yourself as a bitcoin seller on a website such as LocalBitcoins (https://localbitcoins.com/) Selling In Person Bitcoin in a Nutshell
  • 55. 55November 2018 Bitcoin in a Nutshell Thefirstblockwithbitcoinsending transactionsafterthegenesisblock 90k+ blocks were created after the genesis block but without actual bitcoin exchange Those 90k+ blocks were created between January 3, 2009 and November 8, 2010 The left hand side of the transaction table contains input addresses & amounts while the right hand side has the output addresses & amounts “Spent” stands for bitcoins spent through the destination address. “Unspent” simply means bitcoin that is still in that wallet under a new address https://www.blocktrail.com/BTC/block/0000000000115a0b62b7f458613747faee5278d041d957efbf1ac7d9dbaedc5f
  • 56. 56November 2019 Transaction fees are optional but … Bitcoin in a Nutshell
  • 57. 57November 2018 ▪ When receiving bitcoins, one is not expected to pay any fee ▪ When spending bitcoins, you can specify the amount of fee that you are prepared to pay ▪ The amount of fee is not determined by the amount of bitcoins that you are transacting ▪ So the amount of fee for transferring 10,000 BTC and 1 BTC may be similar ▪ A higher transaction fee may lead to a faster transaction confirmation ▪ The fee will only affect the time you have to wait until the first confirmation ▪ For example, Next Block Fee gets the transaction mined on the next block (~10 mins), 3 Blocks Fee within 3 blocks (~30 mins), and 6 Blocks Fee within 6 blocks (~1 hour) Bitcoin Transaction Fees Bitcoin in a Nutshell
  • 58. 58November 2018 The Genesis Block Bitcoin in a Nutshell https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
  • 59. 59November 2018 Bitcoin Transfer Carries a Transaction Fee Bitcoin as a Blockchain Application https://bitinfocharts.com
  • 60. 60November 2018 ▪ Transaction fees are a form of compensation to the bitcoin miners for the computational work they invested in confirming a bitcoin block ▪ When a transaction has a higher total denomination in its inputs than in is outputs, the difference will go to the miner as a transaction fee Specifying Bitcoin Transaction Fees Bitcoin in a Nutshell
  • 61. 61November 2018 Total inputs = 0.20333199 BTC Total outputs = 0.20097975 BTC Transaction fee = total inputs – total outputs = 0.00235224 The 500kth Block Bitcoin in a Nutshell https://www.blocktrail.com/BTC/tx/c2d47d9052a7aa47d87ab1f0d0660738d9ef514ce3486bd8c64a2769c542b652
  • 62. 62November 2018 PredictingTransactionFees Bitcoin in a Nutshell https://bitcoinfees.earn.com/
  • 63. 63November 2018 ▪ bitcoinfees.earn.com provides a useful statistic: the median byte size is the most commonly seen byte size of transactions in the last several blocks ▪ Also provided in the same page is a recommended fee for fast confirmation ▪ Multiplying these two values will get the total fee to pay Bitcoin Fee Calculator Bitcoin in a Nutshell https://www.buybitcoinworldwide.com/fee-calculator/
  • 64. 64November 2019 What does bitcoin have to do with blockchain? Bitcoin in a Nutshell
  • 65. 65November 2018 ▪ A protocol that supports a decentralized, pseudo-anonymous, peer-to- peer digital currency ▪ A publicly disclosed linked ledger of transactions stored in a blockchain ▪ A reward driven system for achieving consensus (mining) based on Proof of Work (POW) for helping to secure the network What is bitcoin again? Bitcoin in a Nutshell
  • 66. 66November 2018 ▪ The blockchain is made of a network of nodes ▪ Each node in the network is an administrator and nodes are allowed to join the network voluntarily ▪ Anything that happens is a function of the whole network ▪ The network operation is done on a peer-to-peer basis Blockchain as a Network of Nodes Bitcoin in a Nutshell
  • 67. 67November 2018 ▪ Blockchain technology is decentralised by design ▪ Information is in the form of shared and reconciled databases ▪ The blockchain does not keep records in a single location but at nodes on the bitcoin network ▪ The records are available to the public to verify easily ▪ A hacker is not provided with a centralised version of records which they can corrupt ▪ With identical blocks of information stored on the different nodes of the network, there is no single point of failure Decentralisation in the Blockchain Bitcoin in a Nutshell
  • 68. 68November 2018 Bitcoin nodes found in countries around the world Bitcoin as a Blockchain Application https://bitnodes.earn.com/
  • 69. 69November 2018 ▪ Must have the sender’s private key and receiver’s bitcoin address ▪ The private key is used to sign the transaction which has the input, the amount, and the output ▪ The “involved” bitcoins are sent from the bitcoin wallet to the bitcoin network ▪ Bitcoin miners then verify the transaction, put it into the transaction block, and finally solve the computational puzzle against the block ▪ Solved puzzle must be verified by other miners through confirmation and this is why sometimes you may have to wait for them to finish Activities Leading to Confirmation Bitcoin in a Nutshell
  • 70. 70November 2018 ▪ The bitcoin blockchain is designed in such a way that each block takes on average about 10 minutes to mine ▪ Some merchants will make you wait for the transaction to be confirmed ▪ Meaning that it may take some time before you are allowed to download the digital goods or enjoy using the paid service ▪ Some merchants will not make you wait for the transaction to be confirmed ▪ This is mostly in cases where the value of a transaction is low, meaning that the risk of fraud is low ▪ A transaction is often considered confirmed after having six or more transaction confirmations from various miners Transaction Confirmation Bitcoin in a Nutshell
  • 71. 71November 2019 How is consensus reached? Bitcoin in a Nutshell
  • 72. 72November 2018 The network has a unified perspective of the blockchain, with the blue block as the tip of the main chain Bitcoin in a Nutshell
  • 73. 73November 2018 Two miners mine two different blocks almost simultaneously, both are children of the blue block Bitcoin in a Nutshell
  • 74. 74November 2018 The network splits into two different perspectives, one side topped with a red block, the other with a green block Bitcoin in a Nutshell
  • 75. 75November 2018 The miners building on top of the green block find a new pink block and extends the blockchain Bitcoin in a Nutshell
  • 76. 76November 2018 The blue-green-pick chain being the longer chain becomes the main chain and the red block becomes an orphan Bitcoin in a Nutshell
  • 77. 77November 2019 What is bitcoin mining? Bitcoin in a Nutshell
  • 78. 78November 2018 ▪ Bitcoin mining is the process of verifying transactions and adding them to the public ledger which is a blockchain ▪ In the mining process, recent transactions are combined into blocks and computationally difficult puzzles are solved ▪ The computational difficulty is elevated every 2,106 blocks ▪ After the “discovery” of a particular block, the discoverer is allowed to itself a number of bitcoins as award ▪ Bitcoin mining is also the means through which new bitcoins are released into circulation What is bitcoin mining? Bitcoin in a Nutshell
  • 79. 79November 2018 ffffffff…. …. …. af658d45…. …. …. 00000001…. …. 000000004ff.. …. …. 000000002…. 000000001…. 000000000…. The SHA-256 values of the different configurations of the block header Possible block header hash values corresponding to possible values assigned to the nonce field The Computational Puzzle of Bitcoin Mining Bitcoin in a Nutshell Magic Number (4) 0xD9B4BEF9 Block Size (4) 632 BlockHeader(80) Version (4) 1 Previous Block Header Hash (32) 0000… Merkle Root Hash (32) d7c3…. Timestamp (4) 2010-11-08 15:34:22 Difficulty Target (4) 1.00000000 Nonce (4) What value to assign? Transaction Counter (1-9) 3 Transactions (< 1,000,000) 1Htz....(50) 1K3d….(50) > 1Lgs….(50) 1E7o….(50) > 12Qy….(10), …. Block header hash values are valid only if they are below the specified difficulty target, often interpreted as the number of leading zeros required Using the 500th block as an example Nonce = 2063568441 Find a value for the nonce field such that the block header hash value is smaller than the specified difficulty target? In the case of the 500th block, the winning miner assigned 2063568441 to the nonce field. ✓ 
  • 80. 80November 2018 Block height is at 550,763 as of 20th Nov, 2018 Bitcoin in a Nutshell https://www.blocktrail.com/BTC
  • 81. 81November 2018 Mining reward is halved every 210,000 blocks Bitcoin in a Nutshell https://en.bitcoin.it/w/images/en/4/42/Controlled_supply-supply_over_block_height.png
  • 82. 82November 2018 The birth of the very first 50 BTC The Genesis Block Bitcoin in a Nutshell https://www.blocktrail.com/BTC/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
  • 83. 83November 2018 The Bitmain mine in Ordos, Inner Mongolia, has eight buildings containing mining machines. One of them is dedicated to Litecoin and seven mine bitcoins. Bitcoin as a Blockchain Application https://qz.com/1055126/photos-china-has-one-of-worlds-largest-bitcoin-mines/
  • 84. 84November 2018 Bitcoin as a Blockchain Application
  • 85. 85November 2018 Bitcoin as a Blockchain Application
  • 86. 86November 2018 Bitcoin as a Blockchain Application
  • 87. 87November 2018 Bitcoin as a Blockchain Application
  • 88. 88November 2018 The Cheapest and the Most Expensive Bitcoin as a Blockchain Application
  • 89. 89November 2019 What is Initial Coin Offering (ICO)? Bitcoin in a Nutshell
  • 90. 90November 2018 ▪ An ICO is the first release of a cryptocurrency ▪ Mostly the process is done by crowdfunding but private ICO’s are becoming more common ▪ In an ICO, a quantity of cryptocurrency is sold in the form of tokens (coins) to investors, in exchange for legal tender or other cryptocurrencies such as bitcoin or ethereum ▪ The tokens sold are promoted as future functional units of currency if or when the ICO's funding goal is met and the project launches What is ICO? Bitcoin in a Nutshell https://www.icochamps.com
  • 91. 91November 2018 ▪ Almost no government regulation/enforcement & no qualification process ▪ ICOs have been prone to scams and securities law violations ▪ Fewer than half of all ICOs survive four months after the offering while almost half of ICOs sold in 2017 failed by February 2018 ▪ On January 30, 2018, Facebook banned ICO advertisements as well as those for cryptocurrencies and binary options ▪ By April 9, 2018, ICO advertising has been banned also by Twitter, Google, and MailChimp ▪ Facebook has since changed their mind and June 26, 2018 announced to reopen for approved advertisers ▪ Snapchat, LinkedIn, Baidu, Tencent, Weibo, Line, and Yandex all have limited companies from marketing ICOs via their platforms Issues with ICOs Bitcoin in a Nutshell
  • 92. 92November 2018 ▪ On September 4, 2017, Chinese financial regulators officially banned all ICOs within the country, demanding that the proceeds from all past ICOs be refunded to investors or face being severely punished according to the law ▪ The action by Chinese regulators resulted in large sell-offs for most cryptocurrencies ▪ Prior to the Chinese ban, ICOs had raised nearly US$400 million from about 100,000 Chinese investors ▪ A week later, however a Chinese financial official stated on Chinese national TV that the ban on ICOs is only temporary until ICO regulatory policies are in place ICOs are banned in China Bitcoin in a Nutshell
  • 93. 93November 2018 Bitcoin as a Blockchain Application
  • 94. 94November 2018 Nature Signs Cases ▪ Fabricate a fake ICO, create marketing hype, persuade people to buy ▪ Seen as a quick & innovative way to kickstart a company ▪ Ethereum has become the breeding ground for these fraudulent ICOs ▪ It is the ignorance of new investors who dream of huge gains in a matter of days by holding worthless ICO tokens ▪ Cryptocurrency start-up Confido disappeared with US$375,000 from an ICO (https://medium.com/@cryptoann a/confido-the-latest- cryptocurrency-scam- 82aecfc896a1) ▪ Benebit ICO does a runner with US$2.7 million of investor funds (https://news.bitcoin.com/benebit- ico-runner-2-7-million-investor- funds/) ▪ Copied whitepaper ▪ Anonymous team (management, lawyers, bankers, IT teams) ▪ Unusual hurry in execution ▪ Mismatch of written & said words ▪ Ignoring hard questions ▪ No strong reason for the token economy ▪ No roadmap ▪ Jurisdictions that have little to no investor protection rights Fraudulent ICOs Bitcoin in a Nutshell
  • 95. 95November 2019 Any other risks? Bitcoin in a Nutshell
  • 96. 96November 2018 Bitcoin as a Blockchain Application
  • 97. 97November 2018 ▪ By 2014, Mt. Gox was the largest bitcoin exchange handling over 70% of all bitcoin transactions worldwide ▪ In February 2014, it suspended trading, closed its website & exchange service, and filed for bankruptcy protection from creditors ▪ The company announced that approximately 850,000 bitcoins belonging to customers and the company were missing and likely stolen, an amount valued at more than US$450 million at the time ▪ Although 200,000 bitcoins have since been "found", the reason(s) for the disappearance - theft, fraud, mismanagement, or a combination of these - were initially unclear ▪ New evidence presented in April 2015 by Tokyo security company WizSec led them to conclude that "most or all of the missing bitcoins were stolen straight out of the Mt. Gox hot wallet over time, beginning in late 2011" Bitcoin in a Nutshell https://www.wired.com/2014/02/bitcoins-mt-gox-implodes-2/
  • 98. 98November 2018 ▪ In August, 2016, nearly 120,000 units of digital currency bitcoin worth about US$72 million was stolen from the exchange platform Bitfinex in Hong Kong, rattling the global bitcoin community in the second-biggest security breach ever of such an exchange. ▪ Bitfinex is the world’s largest dollar-based exchange for bitcoin, and is known in the digital currency community for having deep liquidity in the U.S. dollar/bitcoin currency pair. ▪ In a statement on the Bitfinex website, the company said “We have decided to generalise losses across all accounts. … Upon logging into the platform, customers will see that they have experienced a generalised loss percentage of 36.067%.” ▪ BFX tokens were created after the hack, with an obligation to return the 36% of lost funds to all customers. The company finally redeemed 100% of all issued and outstanding BFX tokens by April, 2017. Bitcoin in a Nutshell http://fortune.com/2016/08/03/bitcoin-stolen-bitfinex-hack-hong-kong/