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

The Future of Ethereum

sgtn
October 21, 2018

The Future of Ethereum

Blockchainjam2018

sgtn

October 21, 2018
Tweet

More Decks by sgtn

Other Decks in Technology

Transcript

  1. EthereumϓϩτίϧϨΠϠʔͷ࠷৽৘ใʹ৮Ε͍ͨ ͕ɺٕज़తഎܠ͕ബ͘Θ͔Γ΍͍͢આ໌ΛٻΊ͍ͯΔ ํʹ޲͚ͯͷൃදͰ͢ɻ࣭ٙԠ౴ͷ࣌ؒΛ௕ΊʹऔΓ ·͢ͷͰɺΘ͔Βͳ͍఺͸ϝϞΛऔͬͯɺԕྀͤͣʹ ࣭໰͍ͯͩ͘͠͞ɻ This talk is for the

    person who 1) want to know latest protocol layer of Ethereum 2) doesn’t have enough time and knowledge to digest whitepapers and articles. I plan to take some longer Q&A session so that please take memo and ask me without hesitation :)
  2. #Sharding SolidityΛ࢖͑Δ͕͋Δछͷॲཧ͸ԸܙΛड͚ΒΕͳ͍ You can use Solidity directly but some sort

    of computation cannot be fully faster. #Plasma SolidityΛ࢖͏ͱηΩϡϦςΟ͕མͪΔ If you manage to use Solidity, security guarantee would be harmed in many cases #GeneralStateChannel Updateؔ਺Λ༻͍ͨϩδοΫઃܭͰɺSolidityͷϊ΢ϋ ΢ͱ͸ผͷ΋ͷ͕ඞཁ It requires you to deal with “update” function. And that requires you to learn new paradigm.
  3. #Sharding - 1 Ethereum2.0(Shasper)͕CasperͱSharding͓Αͼͦͷ ଞͷཁૉٕज़Λ੝ΓࠐΜͩ΋ͷͱͯ͠։ൃ͞Ε͍ͯΔɻ Hotel&Train Problemͱ͍͏ShardΛ·͍ͨͩҰׅTx͕ ҰॠͰࡁ·ͤΒΕͳ͍͜ͱͰɺ֎෦ίϯτϥΫτݺͼग़ ͠ͳͲ͸࠷େੑೳ͕ग़ͤͳͦ͞͏ͱͷ͜ͱɻ (PrysmaticLab

    Mori͞Μͱͷٞ࿦ΑΓ) Ethereum2.0(Shasper) involves Casper, Sharding, and other modules. Hotel&Train Problem bridges two shards and the Tx isn’t to be maximally fast. External Contract call would be slower (via the talk with Mori from PrysmaticLab)
  4. #Sharding - 2 ੑೳ: 13,000tps ϒϩοΫλΠϜ8ඵͰ1024Shardsઃఆʹ͓͚Δཧ࿦஋ Performance: 13,000tps Blocktime 8sec,

    1024Shards theoretical assumption https://medium.com/@eric.conner/ethereum-network-throughput-under-shasper-390e219ec2b5
  5. #Plasma - 2 PlasmaLeapͱηΩϡϦςΟ PlasmaLeap͸EVMͷ࢖͑ΔExitՄೳͳPlasmaͰ͋Δɻ ͔͠͠TruebitΛࢀߟʹͨ͠ʮશһͰߴՁͳExitΛͤͣ୭ ͔1ਓʹใुͷ୅ΘΓʹݕূͤ͞Α͏ʯͱ͍͏࢓૊Έ ͸ɺҾ͖ग़͠ͷ҆શੑΛ͓ۚͰങ͏༨஍Λੜͤ͡͞Δͨ ΊʹEthereumͷηΩϡϦςΟΛͦͷ··आΓΕ͍ͯΔ ͱ͸ݴ͍͕͍ͨɻ

    PlasmaLeap is EVM available excitable Plasma proposal. Its “verify by a person instead of all nodes” economics enabled that cheap exit but it inject another attack vector to 2nd layer, and Ethereum security inheritance is not enough as Plasma.
  6. #Plasma - 4 PlasmaCashͰͷεϚʔτίϯτϥΫτͷ։ൃํ๏ PlasmaCash is completely inherited the fund

    security property from Ethereum. And adding multisig is possible. But the logic woudn’t be written by Solidity, and you need PlasmaResearchers. PlasmaCash͸Ethereum͔Βࢿ࢈อશʹؔ͢ΔηΩϡ ϦςΟΛ׬શʹҾ͖ܧ͍͛ͯΔઃܭͰɺ͔ͭϚϧνγ ά΍DEXͷΑ͏ͳॲཧΛຒΊࠐΊΔɻ͔ͦ͠͠Ε͸ SolidityͰॻ͚ΔϩδοΫͰ͸ͳ͍ɻdappsͻͱͭͻͱ ͭʹPlasmaResearcher͕ඞཁʹͳΓɺdapps։ൃ νʔϜ͕େֻ͔ΓʹͳΔɻ
  7. #Plasma - 5 Plasma GeneratorͱIvy-lang So building generator framework of

    PlasmaCash- based app could be secure and useful. Chain Inc.’s Ivy-lang is quiet good example how to write Solidity- like human readable UTXO smart-contract. This would be best match with Plasma Generator. PlasmaCashʹdappΛຒΊࠐΜͩ΋ͷΛɺੜ੒͢Δϑ ϨʔϜϫʔΫͷՄೳੑ͕ࣔࠦ͞Ε͍ͯΔɻIvy-langͱ ͍͏”UTXOϕʔεͷίϯτϥΫτ”ʹ޲͍ͨݴޠ͕૬ ੑ͕Α͘ɺͦͯ͠Solidityʹॻ͖৺஍͕ࣅ͍ͯΔͷͰɺ Plasma Solidityͱݴ͑ͦ͏ͳײ͕͢͡Δɻ
  8. ΢ΥϨοτʢϥΠτΫϥΠΞϯτʣ͸࠷΋ηΩϡΞͳ Plasma࣮૷Ͱ͋ΔPlasmaCashͰ͸ɺྫ͑ΔͳΒຖϒ ϩοΫ͝ͱεϚϗʹͦΕͧΕͷ͓ࡳ͕࢖ΘΕ͔ͨ࢖Θ Εͯͳ͍͔ͷূ໌(ཤྺ)Λอଘ͠ɺ͓ࡳΛड͚औΔͨͼ ʹِࡳ(ෆਖ਼ཤྺ)͡Όͳ͍͔֬ೝ͢Δ੹຿͕͋Δɻ In PlasmaCash as the most

    secure Plasma flavor, the Wallet(Light Client) must store your bucks’ history whether it is used or not, for every block. And the wallet must check counterfeit money by scanning all that history when you are sent a buck to you, before accept it.
  9. BitcoinͰ΋VtalikΒʹΑΓఏҊ͞Ε͍ͯΔ99%߈ܸ଱ੑ ͷఏҊʹ͓͍ͯ͸ɺϥΠτΫϥΠΞϯτ͸ϝοηʔδΛ సૹ͢Δ੹຿͕͋Δɻ΢ΥϨοτ͕ߴ଎Խ΍ηΩϡΞԽ ͷͨΊͷηΩϡϦςΟϞσϧʹ૊Έࠐ·Ε͓ͯΓɺઃܭ ΍࣮૷͕ϒϩοΫνΣʔϯ͝ͱʹҟͳͬͯ͘Δ͜ͱ͕༧ ૝͞ΕΔɻ The wallet must forward

    message in the 99% fault tolerance proposal which is suggested in Scaling Bitcoin, with Vitalik. This means the wallet is the part of security model to gain tps or security. And this kind of change would be inevitable if the blockchain doesn’t compromise any trade-off.
  10. #1 #2 ·ͱΊ ShardingͰ҆Ձʹҡ࣋Ͱ͖ΔPlasmaGeneratorʹPlasma SolidityͰॻ͍ͨίϯτϥΫτΛσϓϩΠͯ͠ɺWalletଆ͸ PlasmaCashϕʔεͷ΋ͷΛྲྀ༻͢Δ͜ͱͰϋΠεϧʔϓοτ dappΛ࣮ݱ͢ΔɻPlasmaαʔόʔࣗମͷҡ͕࣋dappsΤϯδ χΞͱͯ͠͸໘౗ʹͳΓɺPlasma as a

    Service͕ग़͖ͯͨΓ ͢Δɻ Sharding makes the Plasma cheap, the programming language is to be Plasma Solidity like one. It’ll be deployed via Plasma Generator. The wallet devs use PlasmaCash based repos. Plasma server maintenance would be helped by Plasma as a Service.
  11. EOS, ZIL, TEZ, NEM, NEO — ͳͲ தԝूݖ੍΍දݱྗ΍ίϯτϥΫτͷΠ σΟΦϜͷ੔͍ํ͕ͦΕͧΕେ͖͘ҟͳ Δ

    Ethereum’s scaling would take a bit more so that can we flee to EOS or home-brewed off-chain server?
  12. ETH EOS ZIL TEZ NEM NEO ϊʔυ਺
 Nodes 12,881
 [1]

    21-100 3600
 (testnet) 450 (37% foundation al) [2] 502
 [3] 7-120 TPS 15 ~5000 2000 [4] 30 4142 [6] 2444 [5] NFT 
 ࢖͑Δʁ
 NFT available? YES YES NOT YET Maybe don’t like even ERC-20 Possible by Mosaic hack NOT YET ։ൃจԽ
 Culture of Dev Community αΠϑΝʔ ύΫɺτϥ ετϨεɺ Cypherpun k, Trustless ͳΔ΂͘ߴ଎ Ͱɺதԝूݖ΍ Ήͳ͠ Chase fastest, semi-public chain ίϯτϥΫτ Λ੍ݶͯ͠ઢ ܗSharding Linear sharding and limited contract ܗࣜॺ໊Մೳ ͳίϯτϥΫ τɺ༧ଌࢢ৔ ʹΑΔΨόφ ϯε
 Formal Verification and Governance Leverage Trust by easy contract Foundation Driven [4] https://cryptobriefing.com/zilliqa-closes-in-on-visas-8000-tps/ If wrong tell me @_sgtn [1]ethernodes.org [2] tzscan.io [3]nemnodes.org [5] https://www.reddit.com/r/NEO/comments/8tym0c/tps_of_neo_blockchain/ [6] https://jp.techcrunch.com/2016/12/20/mijins-next-generation-core-catapult-records-4142-tps/
  13. τϥετϨεͰ؆୯ͳήʔϜ΍ۚ༥ܥͷ ࢓૊ΈΛ࡞Γͨͯ͘ɺදݱͰ͖Δ΋ͷ͸ গ͠গͳͯ͘΋Α͘ɺϝΠϯωοτϩʔ ϯν·Ͱ଴ͯΔ৔߹ What you can build would be

    a bit few, but you can launch trustless contract soon after mainnet comes. And you can go 700ktps theoretically. => ZIL