25
Sharding Overview Ethereum Research Hsiao-Wei Wang EDCON - 2018 May 3 rd

Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharding Overview

Ethereum Research

Hsiao-Wei Wang

EDCON - 2018 May 3rd

Page 2: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharding

Page 3: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharding

Scaling Solution!

Page 4: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharding

A Secure and Decentralized Scaling Solution!

Page 5: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Model Components1. Main chain

2. Shard chains

3. Collations

4. Sharding Manager Contract

Page 6: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Main ChainThe main Ethereum 1.0 blockchain

Page 7: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Shard Chains / Shards

● Creating many new chains for Ethereum 2.0

● Each shard chain is a new galaxy

● Dividing the overhead and workload from main

chain to shard chain -> quadratic sharding

Page 8: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Collationlike block!

Page 9: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

ShardingManagerContract (SMC)

Page 10: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

● Two-way pegging

● Randomness

Security and decentralization● High TPS performance

Scalability● Cross-shards

● UX

Usability

Goals

Page 11: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Compatibilities

Page 12: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Disable state

execution

● The collation bodies are just blobs

Page 13: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

State execution

Disable state

execution

● State execution engine

Page 14: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Cross-shard

State execution

Disable state

execution

● Asynchronous or synchronous Cross-shard transaction.

Page 15: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Tight coupling

Cross-shard

State execution

Disable state

execution

● The main chain block is valid

only if the the shard chain collations it includes are valid.

Page 16: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Implementation

Page 17: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Minimal Sharding Protocol1. The simplest protocol while research in progress

a. One way pegging

b. No state execution

c. No cross-shards transaction

2. Easy pseudo-randomly sampling

Page 18: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharded P2P Networking

Sharding Notaries

○ are sampled to verify the

collation availability per

period

○ need to jump between the

shard chains

Page 19: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Sharded P2P Networking

Network Requirements

○ fast jump between

100 networks

Page 20: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Python Implementation - Trinity

Page 21: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Golang ImplementationPrysmaticLabs.com

Page 22: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Contributions Welcome! ❤ ● Sharding clients devs and research channel

https://gitter.im/ethereum/sharding

● Python Implementation○ Client - Trinity

■ https://github.com/ethereum/py-evm

○ Contract

■ https://github.com/ethereum/sharding/

● Go Implementation - https://prysmaticlabs.com/

● Ethereum Research - https://ethresear.ch/

● Ethereum Foundation Grants

Page 23: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Thank you!

Page 24: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Vector Icons by Matthew Skiles

Presentation template designed by Slidesmash

Photographs by unsplash.com and pexels.com

CREDITSSpecial thanks to all people who made and share these awesome resources for free:

Icons made by DinosoftLabs from www.flaticon.com is licensed by CC 3.0 BY

Page 25: Sharding Overview - EDCON · Presentation template designed by Slidesmash Photographs by unsplash.com and pexels.com CREDITS Special thanks to all people who made and share these

Presentation DesignThis presentation uses the following typographies and colors:

Colors used

Free Fonts used:https://www.fontsquirrel.com/fonts/nunito