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

Introduction to OVM

Introduction to OVM

Introduction to OVM concept

Takamichi Tsutsumi

August 27, 2019
Tweet

Other Decks in Programming

Transcript

  1. "HFOEB എܠ •L1ͱL2 •PlasmaͱStateChannel •Fraud ProofͱValidity Proof ՝୊ •L2ͰΞϓϦέʔγϣϯΛ࡞Δ՝୊ײ OVM

    ◦ίϯηϓτ ◦ه๏ ◦Ұ֊ड़ޠ࿦ཧ ◦StateChannelͷྫ ◦ΞʔΩςΫνϟ • CryptoeconomicsLab • References !2
  2. $PODFQU • 0QUJNJTUJD7JSUVBM.BDIJOF 07. ݄ʹ1MBTNB(SPVQʹΑͬͯఏএ͞ΕͨɻSFG< > • -ͷ'SBVE1SPPGʹΑΔ%JTQVUFΛந৅Խ͍ͯ͠Δ֓೦ɻ • ͋Δ໋୊

    1SPQFSUZ ͕ਖ਼͍͜͠ͱ͕ϩʔΧϧ P⒎DIBJO ৘ใʹΑͬͯอূͰ͖Δ͜ͱ͕-ͷຊ ࣭Ͱ͋Δͱ͍͏ߟ͑ํɻ • -ͷ%JTQVUFΛந৅Խ͢ΔͨΊͷه๏ ड़ޠ࿦ཧͰͷهड़ Λఏএ !14
  3. Ұ֊ड़ޠ࿦ཧ • શশྔԽه߸ VOJWFSTBMRVBOUJpFS  • ྫ͢΂ͯͷೣ͸ՄѪ͍ • ՄѪ͘ͳ͍ೣΛূڌͱͯ͠ఏग़͢Ε͹൱ఆ Ͱ͖Δ

    !16 • ଘࡏྔԽه߸ FYJTUFOUJBMRVBOUJpFS  • ྫ͋Δೣʹ͸ཌྷ͕ੜ͍͑ͯΔ • ཌྷͷੜ͑ͨೣΛূڌͱͯ͠ఏग़͢Ε͹ূ໌ Ͱ͖Δ ՄѪ͘ͳ͍ೣ ཌྷͷੜ͑ͨೣ
  4. 1SPQFSUZͷهड़ྫ4UBUF$IBOOFMͷ&YJU 1.ଠ࿠ͱՖࢠ͕ͦΕͧΕ10ETHΛϩοΫͨ͠channelΛ։͍ͨɻ 2.ଠ࿠͕2ETHΛՖࢠʹૹΔϝοηʔδΛ࡞Γɺॺ໊ͯ͠Ֆࢠʹ ૹͬͨɻ 3.Ֆࢠ͸ଠ࿠͔ΒૹΒΕ͖ͯͨϝοηʔδΛ֬ೝ͠ɺͦΕʹॺ໊͠ ͯೋਓͷॺ໊෇͖ͷϝοηʔδΛૹΓฦͨ͠ɻՖࢠ͸ೋਓͷॺ໊ ෇͖ͷϝοηʔδΛࣗ෼ͷखݩʹ΋ίϐʔͯ͠ͱ͓ͬͯ͘ɻ 4.྆ऀ͸2, 3Λ܁Γฦͯ͠channel্ͰࢿۚͷҠಈΛؾ͕ࡁΉ·Ͱ ܁Γฦͨ͠ɻ

    5.΍ΓऔΓ͕ऴΘͬͨΒɺ࠷ޙʹ΍ΓऔΓͨ͠ͷ྆ऀͷॺ໊෇͖ ϝοηʔδΛ࢖ͬͯchannel͔Βexit͢Δɻ 6.΋͠exit͠Α͏ͱͨ͠ϝοηʔδ͕࠷৽ͷ΋ͷͰ͸ͳ͍৔߹ɺ΋ ͏ยํ͸ຊ෺ͷ࠷৽ͷϝοηʔδΛఏग़͢Δ͜ͱʹΑͬͯͦͷ exitΛΩϟϯηϧͰ͖Δɻ •ϝοηʔδʹ͸nonce(࿈൪)Λ;͓ͬͯ͘͜ͱʹΑͬͯ৽͠͞Λ දݱ͢Δͱ͢Δ !17
  5. ΞʔΩςΫνϟ • -ͱͷͭͳ͗໨͸ந৅Խ͞ΕΔ Ͳ͏΍ͬͯ -PDL͞ΕΔ͔ɺͲ͏΍ͬͯQSPQFSUZ͕ਖ਼͠ ͍ਖ਼͘͠ͳ͍ͱܾΊΒΕΔ͔  • -͔Β-΁ͲΜͳTUBUF͕FYJUͰ͖ΔΑ͏ʹ ͢Δ͔͸։ൃऀ͕ߟ͑ΒΕΔ

    • -ͰͷDMJFOUؒͷ΍ΓͱΓҰൠతͳϢʔε έʔεͷ΋ͷ 4UBUFDIBOOFM΍1MBTNBͳͲ ͸ڞ௨Ͱ࢖͑Δ΋ͷ͕Ͱ͖Δ • ։ൃऀ͕'SPOUFOE։ൃʹूதͰ͖ΔͨΊͷ TEL͕Ͱ͖ΔSFG<> !21
  6. 3FGFSFODFT L2 • [0] https://media.consensys.net/the-state-of-ethereum-layer-2-protocol-development-2-f22b2603abd6 Plasma • [1] https://ethresear.ch/t/minimal-viable-plasma/426 •

    [2] https://www.learnplasma.org/en/ • [3] https://karl.tech/plasma-cash-simple-spec/ StateChannel • [4] https://education.district0x.io/general-topics/understanding-ethereum/basics-state-channels/ • [5] https://l4.ventures/papers/statechannels.pdf RollUp • [6] https://github.com/barryWhiteHat/roll_up FraudProofɾValidityProof • [7] https://medium.com/starkware/validity-proofs-vs-fraud-proofs-4ef8b4d3d87a OVM • [8] https://medium.com/plasma-group/introducing-the-ovm-db253287af50 • [9] https://medium.com/plasma-group/the-ovm-s-your-scaling-solution-state-channel-edition-ed13de56e249 • [10] https://medium.com/cryptoeconomics-lab/cel-development-direction-to-the-greater-abstraction-6860f87ce0eb • [11] https://github.com/plasma-group/pigi • [12] https://github.com/plasma-group/ovm • [13] https://github.com/cryptoeconomicslab/plasma-rust-framework • [14] https://github.com/cryptoeconomicslab/plasma-rust-framework/issues/162 ड़ޠ࿦ཧ • [15] https://ja.wikipedia.org/wiki/Ұ֊ड़ޠ࿦ཧ !25