Raiden and Plasma

F4a94c818da7c943420763ba0541d0cf?s=47 wshino
December 15, 2017

Raiden and Plasma

2017/12/15 blockchain tokyo #3 での発表資料です。Ethereumのスケール技術であるRaidenとPlasmaについて解説しています。

F4a94c818da7c943420763ba0541d0cf?s=128

wshino

December 15, 2017
Tweet

Transcript

  1. RAIDEN AND PLASMA

  2. ࢲ ॴଐ @shinanonozenji_ DMM.com Labo Ϗοάσʔλ෦ ϨίϝϯυνʔϜ

  3. ࢲ ΍ͬͯΔ͜ͱ DevOps Kubernetes, Spinnaker, Istio API Akka HTTP, Play

    Recommend Batch Spark SQLͪΐͱۤख
  4. ࢲ Next Currency WalletपΓͷΞʔΩςΫνϟઃܭ

  5. ΰʔϧ ϒϩοΫνΣʔϯͷεέʔϥϏϦςΟ໰୊Λཧ ղ͢Δ EthereumͷRaiden, Plasmaʹ͍ͭͯཧղ͢Δ

  6. εέʔϥϏϦςΟ

  7. εέʔϥϏϦςΟ໰୊ શͯͷϊʔυ͕ಉ͡λεΫΛॲཧ͍ͯ͠Δ શͯͷϊʔυ͕ಉҰͷঢ়ଶΛ࣋ͭ ϊʔυ਺Λ2ഒʹͯ͠΋֤ϊʔυͷλεΫྔ͸ಉ ͡ ϊʔυΛ૿΍ͯ͠΋εέʔϧ͠ͳ͍

  8. εέʔϥϏϦςΟ΁ͷղܾํ๏ ΦϑνΣʔϯ ΦϯνΣʔϯ

  9. εέʔϥϏϦςΟ΁ͷղܾํ๏ ΦϑνΣʔϯ λεΫͷҰ෦ΛϒϩοΫνΣʔϯͷ֎ଆͰॲཧ ϊʔυશମͰσʔλΛڞ༗͢Δඞཁ͕ͳ͍ ྫ Raiden TrueBit Lightning Network

  10. εέʔϥϏϦςΟ΁ͷղܾํ๏ ΦϑνΣʔϯ ϒϩοΫνΣʔϯͰॲཧ͢΂͖λεΫྔΛݮΒ ͍ͯ͠Δ͚ͩ εέʔϧ͠ͳ͍໰୊Λղܾ͍ͯ͠ͳ͍ ύϑΥʔϚϯεͷ໰୊͸ղܾͰ͖Δ

  11. εέʔϥϏϦςΟ΁ͷղܾํ๏ ΦϯνΣʔϯ λεΫ΍σʔλΛ෼ׂͯ͠ɺ෼ׂ͞ΕͨλεΫ ΍σʔλΛฒྻͰॲཧ ྫ Plasma γϟʔσΟϯά

  12. લఏ஌ࣝ

  13. લఏ஌ࣝ ϚϧνγάΞυϨε ϖΠϝϯτνϟωϧ ୯ํ޲ϖΠϝϯτνϟωϧ ૒ํ޲ϖΠϝϯτνϟωϧ Lightning Network

  14. લఏ஌ࣝ ϚϧνγάΞυϨε M-of-N Nݸͷൿີ伴ͷ͏ͪɺMݸͷൿີ伴Ͱ։ৣ

  15. લఏ஌ࣝ ϖΠϝϯτνϟωϧ 2-of-2ϚϧνγάΞυϨεʹσϙδοτ σϙδοτͷൣғ಺Ͱߴ଎ʹ΍ΓͱΓ ࠷ޙͷঢ়ଶΛϒϩοΫʹॻ͖ࠐΉ ϒϩοΫ΁ͷॻ͖ࠐΈ͸࠷ॳͱ࠷ޙͷ2ճ

  16. લఏ஌ࣝ ୯ํ޲ϖΠϝϯτνϟωϧ Alice͔ΒBob΁ͷҰํ޲ͷ΍ΓͱΓ Alice͕AliceͱBobͷ2-of-2Ϛϧνγάʹσϙδο τ σϙδοτͷൣғ಺ͰBobʹnճ΍ΓͱΓ

  17. લఏ஌ࣝ ૒ํ޲ϖΠϝϯτνϟωϧ AliceͱBobͷ૬ޓͷ΍ΓͱΓ AliceͱBob͕2-of-2Ϛϧνγάʹσϙδοτ σϙδοτͷൣғ಺Ͱ૬ޓʹnճ΍ΓͱΓ ෆਖ਼͕ߦΘΕͨࡍ͸શֹճऩͰ͖Δ࢓૊Έ

  18. લఏ஌ࣝ Lightning Network ૒ํ޲ϖΠϝϯτνϟωϧͷϦϨʔ HTLCͰ్தͷܦ༝Ͱ౪Ίͳ͍Α͏ʹͳ͍ͬͯΔ

  19. RAIDEN

  20. RAIDEN Lightning NetworkͷΞΠσΞΛϕʔεʹ͍ͯ͠Δ ΦϑνΣʔϯͰτϥϯβΫγϣϯΛॲཧ͢Δ ϒϩοΫੜ੒Λ଴ͨͳ͍ͷͰߴ଎ʹ΍ΓͱΓՄ ೳ εϚʔτίϯτϥΫτͷ࣮ߦ͸ෆՄ

  21. RAIDEN Lightning Networkͱͷҧ͍ Lightning Network͸BTCͷ΍ΓͱΓͷΈ Raiden͸ERC20४ڌτʔΫϯ͕΍ΓͱΓՄೳ ETH͸WETHʹͯ͠΍ΓͱΓ WETH = ETHΛERC20ʹϥοϓͨ͠΋ͷ

  22. RAIDEN ϝϦοτ ॻ͖ࠐΈ͸ΦʔϓϯͱΫϩʔζͷΈ ख਺ྉ࡟ݮ ΦϑνΣʔϯͷऔҾ͸ެ։͞Εͳ͍ ్தͷঢ়ଶΛอ࣋͠ͳ͍ ྫɿಈըࢹௌ͝ͱʹ՝ۚ͞ΕΔαʔϏεͷֹ݄ ࢧ෷͍ ͍͘Β࢖͔ͬͨ͸Θ͔Δ ͍ͭͲΕ͚ͩ࢖͔ͬͨΘ͔Βͳ͍

  23. RAIDEN σϝϦοτ ߴֹऔҾʹෆ޲͖ ͋Β͔͡Ίσϙδοτͨ͠߹ܭྔΛ௒͑ΒΕͳ ͍ ܦ༝ऀ΋σϙδοτ͢Δඞཁ͕͋Δ

  24. RAIDEN Raidenͷछྨ μRaiden Raiden Network Raidos

  25. RAIDEN μRaiden Bug Bounty͕ϝΠϯωοτʹϦϦʔεࡁΈ ୯ํ޲νϟωϧ 1ରnͷϢʔεέʔε ΞϓϦέʔγϣϯରϢʔβʔͳͲ ઐ༻ͷRDNτʔΫϯͷΈ΍ΓͱΓՄೳ ERC20ͱERC223͸ޙ೔ରԠ

  26. RAIDEN Raiden Network ςετωοτʹϦϦʔεࡁΈ ૒ํ޲νϟωϧ nରnͷϢʔεέʔε όέπϦϨʔͰసૹͰ͖Δ

  27. RAIDEN Raidos ܭըஈ֊Ͱ։ൃ͕։࢝͞Ε͍ͯͳ͍ Raiden2.0 εϚʔτίϯτϥΫτͷ࣮ߦΛαΠυνΣʔϯ Ͱߦ͏

  28. RAIDEN ICO RaidenͰ࢖͏RDNτʔΫϯͷചΓग़͠ ྨࣅϓϥοτϑΥʔϜͷཚཱΛճආ ϑϧϊʔυͷҡ࣋අ αʔυύʔςΟπʔϧ΁ͷΠϯηϯςΟϒ

  29. RAIDEN ϓϩδΣΫτ raidEX ߴ଎ͳ෼ࢄऔҾॴΛ࣮ݱ͢Δ Trustlines Network ๏ఆ௨՟ͷϖΠϝϯτ

  30. RAIDEN ՝୊ தܧܦ࿏ͷޮ཰త୳ࡧ

  31. PLASMA

  32. PLASMA ֓ཁ 2017೥8݄ʹൃද ࣮૷͸·ͩ ͜ͷ৘ใ΋มΘΔ͔΋ Root Chain ʹPlasma ChainΛ઀ଓ͢Δ Plasma

    ChainʹॲཧΛҠৡ͠ɺ࠷ऴ݁ՌΛRoot Chainʹॻ͖ࠐΉ Plasma ChainͰεϚʔτίϯτϥΫτ࣮ߦՄೳ ෆਖ਼๷ࢭػೳɺfraud proof
  33. PLASMA

  34. PLASMA ॲཧͷৄࡉ Chainͷ֊૚ߏ଄ Root ChainͰ΍ΔλεΫΛPlasma ChainʹૹΔ ͞ΒʹԼͷChainʹλεΫΛࡉ෼Խͯ͠ૹΔ ԼͷChain͸ॲཧ׬ྃͨ͠Β্ͷChainʹ໭͢ ॲཧΛ·ͱΊ্͛Δ Root

    Chainʹૹ৴͢Δ
  35. PLASMA ॲཧͷৄࡉ

  36. PLASMA ॲཧੑೳͷ޲্ྫ ֤Chainͷॲཧྔ͕10tx/secͩͱͨ͠Β Child Chain x 3 = 30tx/sec ͞ΒʹChild

    Chain x 3 = 90tx/sec ͞ΒʹChild Chain x 3 = 270tx/sec
  37. PLASMA Χ΢ϯλʔύʔςΟ͝ͱʹฒྻܭࢉ

  38. PLASMA Χ΢ϯλʔύʔςΟ͝ͱʹฒྻܭࢉ

  39. PLASMA Raidenͱซ༻

  40. PLASMA ϝϦοτ εϚʔτίϯτϥΫτ΋ಈ࡞Մೳ σʔλαΠζ͕ݮΔ ฒߦॲཧͰେ͖ͳτϥϯβΫγϣϯ͕ಈ͔ͤΔ

  41. ྆ऀͷҧ͍ raiden τϥϯβΫγϣϯͷߴ଎Խ τʔΫϯͷड͚౉͠Λ଎͘͢Δ plasma MapReduceͰεϧʔϓοτͷ޲্ ≠ ݸʑͷτϥϯβΫγϣϯͷߴ଎ԽͰ͸ͳ͍