Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning Plasma from plasma-mvp

Learning Plasma from plasma-mvp

Hi-Ether meetup #2にて

y_matsuwitter

April 13, 2018
Tweet

More Decks by y_matsuwitter

Other Decks in Technology

Transcript

  1. 2 ©Gunosy Inc. n 4WQRU 6QG 0 : n v

    n b a –4WQRU _ - DPEVUW MVVIT
  2. 3 ©Gunosy Inc. OEUPE k l b b l 2VLITIWP

    OEUPE OEUPE PXS =RRV0LEMQ h l UWFPMV/ORGN HISRUMV I MV GLEOOIQ I l OEUPE A g OEUPE t y SOEUPE PXSk
  3. 5 ©Gunosy Inc. /ORGNGLEMQ v b l n /ORGN UM

    I /ORGN V lf l vn n /ORGN VMPI /ORGN vn b l n 2VLITIWP V l g b l /ORGN     /ORGN     Block,- Block3=IC Q_\UZM
  4. 6 ©Gunosy Inc. MHIGLEMQ gh b SI MQ n I

    MQ /ORGNGLEMQ b b pt_ v v d p e n b b pV p b b t z n TWUVOIUU SI MQ ts l A TRR 6 R RBUcIVG b v Parent Chain Side Chain 
  5. 7 ©Gunosy Inc. OEUPE , MHIGLEMQ 1IGIQVTEOM IH MHIGLEMQ R

    ES=IHWGI n 2A 1IGIQVTEOM IH SI MQ v l_ SI MQ h p a m t v 2A n s OEUPE R ES =IHWGI OEUPE 0EUL cIVG 2A t b t b : RootChainB2AYOcbL"8>47 f https://plasma.io/plasma.pdf
  6. 9 ©Gunosy Inc. MQMPEO AMEFOI OEUPE fo OEUPE b v

    l n y =RRV0LEMQ OEUPE /ORGNGLEMQ n RPMUI R SOEUPE PXS XROVEMTIOEFU SOEUPE cIVG n RPMUI R SOEUPE PXS b t v HISRUMV b v https://ethresear.ch/t/minimal-viable-plasma/426 GI
  7. 10 ©Gunosy Inc. =RRV0LEMQ b v l=RRV0LEMQ n 1ISRUMV 2

    MV OEUPE b v u OEUPE b l b 2 MV n 0LEOOIQ I n OEUPE b /ORGN =RRV ITNOI=RRV IVL HISRUMV MVLHTE EO_y t v =RRV0LEMQ 1ISRUMV OEUPE 0LEMQ 2 MV 0LEOOIQ I /ORGN User '
  8. 12 ©Gunosy Inc. OEUPE b n /ORGN OEUPE b /ORGN

    ITNOI TRRV n RPMUI R SOEUPE PXS g t
  9. 14 ©Gunosy Inc. 1ISRUMV b m : EthereumCYOcbN]b[ ' :

    DepositL#*CYOcbB :<J (DYOcbC& n 1ISRUMV t tz ESSO DHISRUMV v n ESSO DHISRUMV v @ C: t /ORGN t /ORGN h n @ C:l1ISRUMV v –
  10. 15 ©Gunosy Inc. 1ISRUMVk 2 MV 2 MV Exit+CaRPW[L`cTc6 =

    HIGRHIt V _EHHTIUU aI MV @ C: f a l tg a ITNOI VTII gh @V R tz TMRTMV WIWI
  11. 16 ©Gunosy Inc. 1ISRUMVk 2 MV MQEOM I n MQEOM

    I2 MVU v d gge n z z2 MV   sx
  12. 17 ©Gunosy Inc. User Plasma Chain Send deposit (ETH) Send

    deposit event Check UTXO Record deposit & Create UTXO Start Exit with tx & signature Check signature & Add to Priority Queue Wait 7 days… & finalizeExit Return ETH corresponded to a tx. Record deposit
  13. 18 ©Gunosy Inc. 2 MV l gk t_y v gh

    l n g @ C: m t i d3TEWH TRR e n m t b v @ C:l s g g n /ORGN BMVLLROHMQ .VVEGN b EUU 2 MV b v 1ISRUMV l – v 1ISRUMV m v b 1IGIQVTEOM IH l @QWUIH :WVSWV :WVSWV .ETXO t g :WVSWV /%CTXO 0YOcb#C 2 MV 2 MV
  14. 19 ©Gunosy Inc. 3TEWH TRR tzV k 3TEWH @ C:

    – v I MV R QIT k t_ zV lPITNOI TRRV to k 3TEWH TRR l 2 MV GRQ MPEVMRQ5EUL UM UVETV2 MV s z
  15. 20 ©Gunosy Inc. TMRTMV WIWI t EUU I MV EUU

    I MV b _ b n fo _I MVtzg k n TMRTMV WIWI 2 MV g@ C:k n g s z _ a t _k w       n b b z _ v 1ISRUMV t 2 MV v 2 MV 3TEWHIH /ORGN+ /ORGN+ MH + /ORGN+ MH + 2 MV 99?D Deposit)B
  16. 21 ©Gunosy Inc. MQMPEO AMEFOI OEUPE g A fo n

    /ORGNGLEMQ b l b ES=IHWGI h n OEUPE R b R dI : 4 b e n l A OEUPE b 5EUL GLEMQ o tz p OEUPE go k a t g ETIQV 0LEMQ 0LEMQ 3RT BRTH SOMV 0LEMQ 3RT BRTH SOMV 0LEMQ 3RT BRTH 0RWQV 0LEMQ 3RT BRTH 0RWQV Text Words Words fMap Reduce CN^cV Text
  17. 23 ©Gunosy Inc. n b g _ MHIGLEMQl I MQ

    + b k b a b v r _ b t x I MQ tg n OEUPE MHIGLEMQ s n 1ISRUMV 2 MV 0LEOOIQ I 1ISRUMV @ C: t b @ C: t 2 MV t _ 3TEWH TRR d0LEOOIQ Ie n u _/ORGN BMVLLROHMQ .VVEGN o t MHIGLEMQ l :PMUI R SOEUPE PXS u SI MQ