한재선(Jason.han) / Ground X
---
Ground X에서 개발하고 있는 퍼블릭 블록체인 플랫폼인 Klaytn에 대해 소개합니다. Klaytn은 대규모 사용자를 기반으로 하는 서비스를 블록체인 기반에서 실행시키는데 최적화된 플랫폼으로서, 기업 수준의 서비스 제공자가 믿고 사용할만한 기능과 거버넌스 등을 제공하는 것을 목표로 한다. 본 발표에서는 현재 블록체인 기술의 이슈를 살펴보고, Klaytn의 솔루션을 소개합니다. 특히 속도와 성능에서의 이슈뿐 아니라 사용자 경험의 개선이나 대규모 서비스를 실행하기 위한 플랫폼 기능들에 대해서도 살펴보고자 합니다.
4. Data
H( )
Hash Pointer
• A pointer to where data
is stored
• A way to verify that the
data haven’t changed
5. Linked list with hash pointers
prev: H( )
Data
prev: H( )
Data
prev: H( )
Data
Block Hash
point to the previous block
Block #40 Block #41 Block #42
H( )
Head
point to the last block
6. prev: H( )
Data
prev: H( )
Data
prev: H( )
Data
Block #40 Block #41 Block #42
H( )
Head
point to the last block
Can detect the tampering of data
by comparing the next block’s hash value
9. If verifying TD, you just need
The merkle root, “HEFGH”, “HAB” and “HC”
Verification runs in time and space
that are logarithmic
in the number of nodes in tree
O(log n)
https://blockonomi.com/merkle-tree/
10. All bitcoin nodes maintain the whole blockchain
Bitcoin
Blockchain
Node #32
Bitcoin
Blockchain
Node #109
Bitcoin
Blockchain
Node #65
Bitcoin
Blockchain
Node #90
Bitcoin
Blockchain
Node #62
Full Nodes
Connect to Bitcoin network and
fully validate transactions and blocks
13. transaction
New transactions are
broadcast to all nodes Bitcoin Network
Block
Collect
new transactions
into a block
Proof-of-Work
Solve hash puzzle
and find a nonce
Broadcast
the block to
all nodes
Verification
Verify PoW
and
transactions
Add
Block
Add the
block to
chain
Block
Node #58 Node #1092
16. Smart contract example creating a digital token
https://www.ethereum.org/token
Applications that run exactly as programmed without any possibility of
downtime, censorship, fraud or third party interference.
Automating the “if this happens then do that” part of traditional contracts
17. ) ( ( )
Web
Browser
HTML
CSS
Javascript
web3.js
Web Server (nodejs) Ethereum Nodes
Block #2 Block #3 Block #4
Smart
Contract
EVM (Ethereum VM)
Blockchain
Frontend Backend
JSON/RPC
A service that enables direct interaction between end users and providers
(e.g. connecting buyers and sellers in some marketplace, owners and storers in file storage)
Ethereum Dapp consists of a frontend using HTML/Javascript web application and
smart contracts which encode business logic and allow persistent storage.
21. - - . .
Main Chain
SideChain
State Channel
On-Chain (L1)
Off-Chain (L2)
Global Consensus
Local Consensus
Performing some operations “off chain”
Sharding
22. - ()
Root Chain (Ethereum)
Plasma
Chains
Child
Chains
Plasma
Contracts
ü Proposed by Vitalik Buterin and Joseph Poon
(2017)
ü Plasma child blockchains attached to the main
Ethereum blockchain
ü Running independent consensus and handling
most transactions more efficiently
ü Trust and security of plasma chains can be
guaranteed in the main chain(Ethereum) with
plasma contracts and a fraud proof
28. (
CNs form a private network to run a BFT-based consensus algorithm.
Threat model
No more than ⅓ of CNs are dishonest at any moment
29. & )( ( ( & &
Anyone can become an RN to audit and replicate blocks; in return,
RNs get token rewards for their contributions.
All RNs serve client read requests to effectively distribute requests
across the RNs and allow CNs to focus on handling write requests.
30. Klaytn rewards RNs based on the proof of participation.
Proof of Replication
Ensuring a RN stores the whole blocks
Proof of Serving Clients
Ensuring a RN serves read requests of clients
READ (plain) READ (callback)
WRITE
35. World Population
7.6 Billions
Internet Users
4.2 Billions
54% of population
https://medium.com/@mccannatron/12-graphs-that-show-just-how-early-the-cryptocurrency-market-is-653a4b8b2720
https://www.internetworldstats.com/stats.htm
Crypto Users
20-30 Millions
Less than 1% of Internet Users
Bitcoin Wallet Address: 24M
Ethereum Wallet Address: 31M
Crypto Exchange Users: 20.2M
Those who have crypto wallets
or crypto exchange accounts
39. Blockchain Platform
Token
Dapp
smart
contract
ICO(TGE),
IEO,
Airdrop
Token Issuance
Fund by ETH etc
Exchanges
(e.g., Upbit)
Selling
Tokens
Entity
Entity
Purchasing
Tokens
Users
Selling &
Purchasing
Tokens
3) Not trading,
instant exchange
between crypto and
fiat1) New model of
token distribution
2) Seperation between
value and exchange
of token
4) User-friendly
interface
40. /
User Onboarding Experience
• Crypto Wallet
• Private Key Management
• Cryptographic Address
Token Economy Experience
0xde0b295
669a9fd93
d5f28
• Token Price Volatility
• Crypto Exchanges
• Token to Real World
To Attract Non-Crypto Users