'Blockchain and Cryptocurrency' Subject @ Korea University, 2021
01. Syllabus
02. Blockchain Overview and Introduction - Technical Concepts of Blockchain Systems -
03. Blockchain's Theoretical Foundation, Cryptography
04. Bitcoin and Nakamoto Blockchain
05. Ethereum and Smart Contract
06. NFT and Metaverse
07. Cardano(ADA) and Other Altcoins
08. Dark Coins
09. Blockchain Usage Beyond Currency - Way to Design Good Blockchain Business Models -
5. 고려대학교정보보호대학원
마스터 제목 스타일 편집
기존 암호화폐와의 차별점
사용된 요소 기술들이 철저한 학술적 검증을
거쳤음.
확장성 향상을 위해 지분증명(PoS, Proof of
Stake) 방식의 블록체인 기술인
‘우로보로스(Ouroboros)’를 사용함.
5
카르다노(Cardano) (2017)
10. 고려대학교정보보호대학원
마스터 제목 스타일 편집
10
We analyze the proxy signature scheme of Kim, Park
and Won, which offers important performance
benefits. We propose modifications to this scheme
which preserve its efficiency and yield a proxy signature
scheme that is provably secure in the random-oracle
model, under the discrete-logarithm assumption.
11. 고려대학교정보보호대학원
마스터 제목 스타일 편집
A B
직접 민주주의 (Direct Democracy)
A B
대의 민주주의 (Representative Democracy)
유동 민주주의 (Liquid Democracy)
A B C
11
15. 고려대학교정보보호대학원
마스터 제목 스타일 편집
블록체인의 Trilemma
15
“블록체인은 아마존 등 일반
서버들보다 효율성이 100만
배나 떨어진다. 앞으로 블록
체인은 한 기능이 강화되면
다른 기능은 떨어질 수밖에
없으므로 자신이 원하는 핵심
속성을 선정해야 한다.”
17. 고려대학교정보보호대학원
마스터 제목 스타일 편집
알고랜드(Algorand) (2019)
17
블록 생성자 1명은 전체 알고랜드 토큰(ALGO) 보유자 중 무작위로 선발되는데 이때 생성자로 뽑
힐 확률은 토큰 보유량과 비례해 높아짐. 이어서 전체 토큰 보유자들 중에서 다시 한번 1천명의
블록 검증자들을 무작위로 선출하는데, 이들은 생성된 블록이 정확하게 만들어졌는지 여부를 확
인하는 역할을 함.
23. 고려대학교정보보호대학원
마스터 제목 스타일 편집
IOTA & Tangle (2015)
IOTA : IoT 환경에 특화된 암호화폐
Traditional Blockchain이 아닌 DAG 기반의
Tangle을 사용
소액결제가 어렵고 거래마다 높은 수수료를
지불하는 비트코인이 IoT 환경에서
부적합함을 인식하고, 수수료가 없는 결제를
목표로 보안 및 속도의 혁신을 확보한 시스템.
23
탱글(Tangle) : 단방향비순환그래프(DAG) 구조로 생성된 거래 1개가
다른 곳에서 이루어진 2건의 거래를 컨펌하며 더 많은 거래가 일어날
수록, 거래 속도가 빨라지는 형태의 시스템.
(Directed Acyclic Graph) (Sequential List)
24. 고려대학교정보보호대학원
마스터 제목 스타일 편집
IOTA & Tangle (2015)
IOTA : IoT 환경에 특화된 암호화폐
Traditional Blockchain이 아닌 DAG 기반의
Tangle을 사용
소액결제가 어렵고 거래마다 높은 수수료를
지불하는 비트코인이 IoT 환경에서
부적합함을 인식하고, 수수료(transaction
fee)가 없는 결제를 목표로 보안 및 속도의
혁신을 확보한 시스템. ⇒ Instead, (not issuer
≠ approver, but) transaction issuer =
transaction approver.
24
탱글(Tangle) : 단방향비순환그래프(DAG) 구조로 생성된 거래 1개가
다른 곳에서 이루어진 2건의 거래를 컨펌하며 더 많은 거래가 일어날
수록, 거래 속도가 빨라지는 형태의 시스템.
25. 고려대학교정보보호대학원
마스터 제목 스타일 편집
[참고] Directed Acyclic Graph (DAG)
25
(A.Hafid et al., "Scaling Blockchains: A Comprehensive Survey", IEEE Access 2020)
(e.g.) Spectre, IOTA, Phanton, DLattice, CoDAG, Nano, and XDAG
26. 고려대학교정보보호대학원
마스터 제목 스타일 편집
[참고] Directed Acyclic Graph (DAG)
26
All DAGs(Directed Acyclic Graphs) have at least one
topological sorting. A topological sorting of a graph is a
linear ordering of the graph’s vertices such that for every
directed edge uv from vertex u to vertex v, u comes before
v in the ordering.
(ELM Labs, "IOTA Tangle ELI5", 2018)
29. 고려대학교정보보호대학원
마스터 제목 스타일 편집
IOTA & Tangle (2015)
29
(IOTA Foundation, "The Tangle: An Illustrated Introduction", 2018)
Tips (leaf nodes) : Unapproved transactions
Genesis Transaction (root) : Approved either directly or indirectly by all other transactions
Depth(→) : The length of the longest reverse-oriented path to some tip.
Height(←) : The length of the longest oriented path to the genesis.
30. 고려대학교정보보호대학원
마스터 제목 스타일 편집
30
Lazy tips are those transactions which approve old transactions rather than
the latest transactions.
Drawback ①
(IOTA Foundation, "The Tangle: An Illustrated Introduction", 2018)
IOTA & Tangle (2015) - without MCMC
31. 고려대학교정보보호대학원
마스터 제목 스타일 편집
31
IOTA & Tangle (2015) - without MCMC
Drawback ②
(IOTA Foundation, "The Tangle: An Illustrated Introduction", 2018)
Forgotten tips on the sidelines : Large percentage of the tips will never
get approved.
32. 고려대학교정보보호대학원
마스터 제목 스타일 편집
32
Drawback ③ - Parasite Chain Attack
IOTA & Tangle (2015) - without MCMC
33. 고려대학교정보보호대학원
마스터 제목 스타일 편집
In order to issue a transaction, do the following:
1. Signing : Your node (computer/mobile) creates a
transaction and sign it with your private key.
2. Tip Selection : Your node chooses two other
unconfirmed transactions (tips). If the two tips are
conflicting, then run the Markov Chain Monte
Carlo (MCMC) tip-selection algorithm many times,
and sees which of the two conflicting tips is more
likely to be indirectly approved by the MCMC
selected tip.
3. Proof of Work : Next, the node must solve a
cryptographic puzzle similar to those in the
Bitcoin blockchain’s PoW (On average, it is around 38). This
PoW is to prevent spam and Sybil attacks.
Basic Idea: A newly issued transaction is obligated to approve TWO old transactions.
Why nodes follow this algorithm? ⑴ : You will be dropped by your neighbor, when
you show laziness toward propagating transactions (i.e., always approve a pair of very old
transactions, therefore not contributing to the approval of more recent transactions).
(Robert Lie, "IOTA Tutorial 1 | What Is IOTA And Some Terminology Explained", 2019)
33
IOTA & Tangle (2015) – with MCMC
34. 고려대학교정보보호대학원
마스터 제목 스타일 편집
34
Where Pxy = Probability to walk from x to y.
Hx = Cumulative weight of x.
Hy = Cumulative weight of y.
Hz = Cumulative weight of z.
z~>x = z directly approves x.
(Aminul Islam, "How Monte Carlo Markov Chain is used in IOTA to Select tip", 2020)
IOTA & Tangle (2015) – with MCMC
35. 고려대학교정보보호대학원
마스터 제목 스타일 편집
35
(Aminul Islam, "How Monte Carlo Markov Chain is used in IOTA to Select tip", 2020)
IOTA & Tangle (2015) – with MCMC
36. 고려대학교정보보호대학원
마스터 제목 스타일 편집
36
When α=1) Super-Weighted Random
Walk
(Aminul Islam, "How Monte Carlo Markov Chain is used in IOTA to Select tip", 2020)
IOTA & Tangle (2015) – with MCMC
37. 고려대학교정보보호대학원
마스터 제목 스타일 편집
37
When α=0.1) Unweighted Random Walk
(Aminul Islam, "How Monte Carlo Markov Chain is used in IOTA to Select tip", 2020)
IOTA & Tangle (2015) – with MCMC
38. 고려대학교정보보호대학원
마스터 제목 스타일 편집
38
The Random Walk Monte Carlo (RWMC)
algorithm is used in two ways:
To choose two other unconfirmed transactions
(tips) when creating a transaction.
And to determine if a transaction is confirmed.
(Robert Lie, "IOTA Tutorial 1 | What Is IOTA And Some Terminology Explained", 2019)
Determining an ideal value for α is an important research topic in IOTA.
IOTA & Tangle (2015) – with MCMC
39. 고려대학교정보보호대학원
마스터 제목 스타일 편집
39
(IOTA Foundation, "The Tangle: An Illustrated Introduction", 2018)
IOTA & Tangle (2015) – with MCMC
40. 고려대학교정보보호대학원
마스터 제목 스타일 편집
34% (greater than 1/3) Attacks :
In its infancy stage the Tangle network has a small
number of nodes. An attacker can relatively easily create
many nodes on the network and thus creating many
malicious transactions.
In this situation, if we were to use the RWMC
method, there is a big chance that malicious
transactions are selected.
To protect the Tangle network against 34%, a
temporary protection mechanism is used called the
Coordinator or COO for short. :
The Coordinator is a special node run by IOTA
Foundation and this node is used to directly or
indirectly validate the transactions.
The Coordinator location and source code are not
publicly available.
40
IOTA & Tangle (2015) – COO
41. 고려대학교정보보호대학원
마스터 제목 스타일 편집
At the beginning of the Tangle, a single
network address had a balance that
contained all 2,779,530,283,277,761 IOTA
tokens.
Genesis transaction transferred these tokens
to several “founder addresses.”
The tokens were sold to investors in an ICO
that ran from November 25 to December
21, 2015.
There is no mechanism for token mining
and no further IOTA tokens will be created.
41
IOTA & Tangle (2015) – Mining
(ELM Labs, "IOTA Tangle ELI5", 2018)
42. 고려대학교정보보호대학원
마스터 제목 스타일 편집
Scalability
The network becomes stronger when the
number of transactions increases.
IOTA can achieve high transaction
throughput.
Decentralisation
IOTA has no miners. Every transaction
maker is also a transaction validator which
means every transaction maker actively
participates in the consensus.
IOTA Features
42
43. 고려대학교정보보호대학원
마스터 제목 스타일 편집
No transaction fees
IOTA has no transaction fees which means
IOTA can be used for micropayments.
Quantum computing protection
Quantum computers will be able to crack
current data encryption methods much
faster than current classical computers.
IOTA uses the Winternitz One-Time
Signature Scheme which is a quantum-
resistant algorithm.
IOTA Features
43
44. 고려대학교정보보호대학원
마스터 제목 스타일 편집
Centralization (중앙화)
Coordinator (which issues “milestones” and “snapshots” to issue
consensus and defend attacks on tip selection)
Coordicide 프로젝트
Coordinator 제거
‘마나(Mana)‘ 기반 평판 시스템
Main Challenges with Tangle
44
45. 고려대학교정보보호대학원
마스터 제목 스타일 편집
(Note) On Aug 7 2017 IOTA deployed a hardfork to their system to stop using Curl for signature message hashing. The
signature forgery vulnerability was fixed in IOTA Reference Implementation (IRI) version 1.3, IOTA wallet version 2.4.0.
(July 14, 2017)
Main Challenges with Tangle
45
Lack of Testing and Peer Review
47. 고려대학교정보보호대학원
마스터 제목 스타일 편집
[참고] DagCoin (2015)
47
A solution somewhat similar to IOTA was proposed in DagCoin, although it
does not discuss any particular tip approval strategies.
49. 고려대학교정보보호대학원
마스터 제목 스타일 편집
2013년 12월, 당시 인터넷 밈(meme) 소재로
인기를 끌던 일본 시바견(Shiba Inu)을
소재로 해서, IBM 출신 개발자 빌리
마커스(Billy Markus)와 마이크로소프트 출신
개발자 잭슨 팔머(Jackson Palmer)가 개발.
'Doge'라는 명칭은 dog(개)에 알파벳 e를 붙인 것.
암호화폐 시장의 열풍을 풍자하기 위해
만들어진 장난식 화폐(joke currency).
그렇기에 진지하게 사용되는 비트코인과는 달리,
도지코인은 실험성과 재미를 위해서 운영되는
측면이 강함.
Dogecoin (2013)
49
50. 고려대학교정보보호대학원
마스터 제목 스타일 편집
도지코인은 주로 레딧이나 트위터 같은
SNS에서 창작자의 기여를 인정하기 위한
팁 지불 용도로 사용됐음.
도지코인의 가장 큰 특징은 공급 정책이
무제한이란 점임.
이를 증명하듯 출시하고 약 2년이 흐른
2015년엔 1천억번째 코인이 발행되었고,
4년이 흐른 2019년도엔 그 규모가 달에
닿았음.
그렇기에 도지코인의 가격은 매우 낮게
책정돼 있음.
Dogecoin (2013)
50
51. 고려대학교정보보호대학원
마스터 제목 스타일 편집
도지코인은 주로 레딧이나 트위터 같은
SNS에서 창작자의 기여를 인정하기 위한
팁 지불 용도로 사용됐음.
도지코인의 가장 큰 특징은 공급 정책이
무제한이란 점임.
이를 증명하듯 출시하고 약 2년이 흐른
2015년엔 1천억번째 코인이 발행되었고,
4년이 흐른 2019년도엔 그 규모가 달에
닿았음.
그렇기에 도지코인의 가격은 매우 낮게
책정돼 있음.
Dogecoin (2013)
51
54. 고려대학교정보보호대학원
마스터 제목 스타일 편집
도지코인은 채굴파워의 집중을 막기 위해
ASIC 저항성이 있는 Scrypt 알고리즘을
사용함.
그러나 현재 Scrypt 알고리즘 전용 ASIC 장비가
존재.
라이트코인(Litecoin)은 블록 추가에 2.5분이
걸리는 반면, 도지코인의 블록 타임은 1분임.
원래 도지코인의 보상(reward)은 랜덤이었으나,
2015년부터 10,000으로 제한됨.
2014년, 최초의 도지코인 ATM이 캐나다
밴쿠버에서 출시되었음.
Dogecoin (2013)
54
59. 고려대학교정보보호대학원
마스터 제목 스타일 편집
There are three asset classes on Steem :
Steem, Steem-power (SP), and Steem-
dollars (SBD).
Steem is the base currency, traded on the
exchanges. All other currencies derive their
value from Steem.
Steem Power is the native currency to the
platform which cannot be traded directly on
exchanges.
Steem Dollars (Steem Blockchain Dollars) is
another currency for rewards, traded on the
exchanges.
59
스팀잇의 구조
60. 고려대학교정보보호대학원
마스터 제목 스타일 편집
Authors : People publishing blogs on
steemit. Rewarded with SBD and SP. Users
may choose to earn 100% SP or 50–50 SP
and SBD both.
Curators : People upvoting valuable
content on steemit. Rewarded with SBD
and SP. Users may choose to earn 100% SP
or 50–50 SP and SBD both.
Witnesses : People who contribute their
computing power to the Steem
Blockchain. Rewarded with SP.
60
스팀잇의 구조
64. 고려대학교정보보호대학원
마스터 제목 스타일 편집
이더리움 플랫폼과 경쟁하기 위해 개발되
었으며, 이더리움 상에서 개발된 DApp은
이오스 플랫폼에서도 작동됨.
이더리움에 비해 매우 빠른 트랜잭션 처리
가 가능한 DPOS (Delegated Proof of
Stake) 방식을 채택.
독점적 채굴 문제를 해소하기 위해, 코인 홀더
들의 투표를 통해 21명의 대표 노드들을 선정
하고 균등하게 역할을 분배.
64
이오스(EOS)
65. 고려대학교정보보호대학원
마스터 제목 스타일 편집
2015년 10월 중국기업 온체인의 CEO인
Dao Hongfei가 발행하였으며, 2016년 8월
ICO를 진행.
중국 최초의 가상화폐로, 이더리움의
대항마로 부상.
독립적인 스마트 컨트랙트 기술인
‘네오컨트랙트’를 기반으로 스마트 자산
플랫폼을 운영하며, 이더리움처럼 네오
버츄얼 머신(VM) 위에서 실행됨.
네오(NEO) (2015)
65
66. 고려대학교정보보호대학원
마스터 제목 스타일 편집
다수의 정산소(clearing house)가 필요한
현재의 자금 전송 시스템은 SWIFT 또는
전자이체(wire transfer)시 높은 결제처리
수수료가 요구됨.
SWIFT(Society for Worldwide Interbank
Financial Telecommunication, 국제은행 간
통신협회) : 1977년 유럽과 미국 시중은행이
국가 간 자금거래를 위해 설립 (본부: 벨기에).
현재 전세계 약 200개국, 1만1천여개
금융기관이 매일 SWIFT망을 통해 돈을
지불하거나 무역대금을 결제.
Ripple (2013)
66
68. 고려대학교정보보호대학원
마스터 제목 스타일 편집
또한 잘못된 결제 요청 및 통신 해킹에
따른 결제 실패 위험 등이 상존함.
이에 더 낮은 수수료, 더 빠른 속도, 더욱
단순한 연결구조 하에서 사용자간
금융거래를 보다 쉽고 효율적으로
제공하기 위해, 시스템 멤버 간 합의에
의한 화폐 시스템으로 리플이 개발됨.
Ripple (2013)
68
70. 고려대학교정보보호대학원
마스터 제목 스타일 편집
리플社 개발자들과의 다양한 이해관계 및
방향성의 충돌로 인해 2014년 리플
공동창업자 Jed McCaleb이 Joyce Kim과
함께 스텔라 루멘을 설립하고 암호화폐
루멘(XML)을 출시
리플과 동일한 실시간 결제 시스템이 응용
핵심 분야로 상용화 대상이 개도국
중심이라는 점만 다소 차이
Stellar Lumen (2014)
70