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

SolidityとWeb3.jsについて

 SolidityとWeb3.jsについて

Meguro.es #19 @ oRoで発表したスライドです。

8bb7c9b7323d84b9858e67ae9fc854be?s=128

Katsunori Tanaka

February 07, 2019
Tweet

Transcript

  1. ߹ಉձࣾ%..DPNాதࠀయ .FHVSPFTɹ !.FHVSPFT 4PMJEJUZͱ8FCKTʹ͍ͭͯ  

  2. © DMM.com ࣗݾ঺հ ాதࠀయ w !FDPV⒎FT@ w 'SPOUFOE˰.JEEMF.BOBHFS˰ #MPDLDIBJO w

    1IPUPHSBQIZ ߹ಉձࣾ%..DPNςΫϊϩδʔຊ෦ ϒϩοΫνΣʔϯݚڀࣨ  
  3. © DMM.com Ξ΢τϥΠϯ 0VUMJOF w ຊ೔࿩͢͜ͱ࿩͞ͳ͍͜ͱ w 4PMJEJUZʹ͍ͭͯ w 8FCKTʹ͍ͭͯ

    w ΤίγεςϜʹ͍ͭͯ w ·ͱΊ 3
  4. © DMM.com ຊ೔࿩͢͜ͱ࿩͞ͳ͍͜ͱ

  5. © DMM.com ຊ೔࿩͢͜ͱ࿩͞ͳ͍͜ͱ ࿩͢͜ͱ w &UIFSFVNϒϩοΫνΣʔϯϕʔεͷΞϓϦέʔγϣϯ։ൃख๏ w ্هʹ͓͚ΔɺϑϩϯτΤϯυΤϯδχΞͷεΩϧηοτͱͷ਌࿨ੑ ࿩͞ͳ͍͜ͱ w

    ϒϩοΫνΣʔϯࣗମͷ֓೦΍࢓૊Έ w 4PMJEJUZͱ8FCKTͷ4ZOUBYͷৄࡉઆ໌  
  6. © DMM.com 4PMJEJUZʹ͍ͭͯ

  7. © DMM.com 4PMJEJUZʹ͍ͭͯ 4PMJEJUZͱ͸ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w &UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻ ͞ΕΔϓϩάϥϛϯάݴޠͷҰͭ w εϚʔτίϯτϥΫτͱ͸ʁ

    w ʢ޿ٛͷҙຯʣܖ໿Λ৘ใٕज़Ͱ࠷దԽ͢Δߟ͑ํ w ʢڱٛͷҙຯʣ&UIFSFVN΍ྨࣅϓϥοτϑΥʔϜ্Ͱಈ࡞͢Δϓϩ άϥϜ  
  8. © DMM.com 4PMJEJUZʹ͍ͭͯ 4PMJEJUZͷಛ௃ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w $ ɺ1ZUIPOɺ+BWB4DSJQUͷӨڹ w ΦϒδΣΫτࢦ޲

    w ੩తܕ෇͚ݴޠ w νϡʔϦϯά׬શ w ίϯύΠϧ͞ΕͨόΠτίʔυΛ&7.ʢ&UIFSFVN7JSUVBM.BDIJOFʣ ʹσϓϩΠ  
  9. © DMM.com 4PMJEJUZʹ͍ͭͯ ࣮ࡍͷίʔυΛݟͯΈΔ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w IUUQTHJUIVCDPNFDPV⒎FTFUIJOCPYCMPCNBTUFSDPOUSBDUT*OCPYTPM w IUUQTHJUIVCDPNFDPV⒎FTFUIMPUUFSZCMPCNBTUFSDPOUSBDUT-PUUFSZTPM w

    IUUQTHJUIVCDPNFDPV⒎FTFUILJDLTUBSUCMPCNBTUFSFUIFSFVN DPOUSBDUT$SPXEGVOEJOHTPM w IUUQTHJUIVCDPNUFBNDSZQUPRVFTUDPOUSBDUFUIFSFVNCMPCNBTUFS DPOUSBDUT3PPN'BDUPSZTPM  
  10. © DMM.com 8FCKTʹ͍ͭͯ

  11. © DMM.com 8FCKTʹ͍ͭͯ 8FCKTͱ͸ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w &UIFSFVNϒϩοΫνΣʔϯϊʔυͱ௨৴͢Δ+BWB4DSJQU"1*ϥΠϒϥϦ w σϓϩΠ͞ΕͨεϚʔτίϯτϥΫτ΁ΞΫηε͕Մೳ w

    ϑϩϯτͷ6*͔ΒεϚʔτίϯτϥΫτʹΞΫηε͢Δࡍʹར༻ w OQN͔ΒJOTUBMMɹAOQNJXFCA  
  12. © DMM.com 8FCKTʹ͍ͭͯ ࣮ࡍͷίʔυΛݟͯΈΔʢ4PMJEJUZʣ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w IUUQTHJUIVCDPNFDPV⒎FTFUIMPUUFSZCMPCNBTUFSDPOUSBDUT-PUUFSZTPM ্هͷεϚʔτίϯτϥΫτͷίʔυΛϑϩϯτͷ6*͔Βୟ͘ྫΛ঺հ  

  13. © DMM.com 8FCKTʹ͍ͭͯ ࣮ࡍͷίʔυΛݟͯΈΔ ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w IUUQTHJUIVCDPNFDPV⒎FTFUIMPUUFSZGSPOUFOECMPCNBTUFSTSD XFCKT w IUUQTHJUIVCDPNFDPV⒎FTFUIMPUUFSZGSPOUFOECMPCNBTUFSTSD

    MPUUFSZKT w IUUQTHJUIVCDPNFDPV⒎FTFUIMPUUFSZGSPOUFOECMPCNBTUFSTSD"QQKT  
  14. © DMM.com ΤίγεςϜʹ͍ͭͯ

  15. © DMM.com ΤίγεςϜʹ͍ͭͯ ։ൃʹศརͳπʔϧ܈ˍֶशϦιʔε ɾ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠ w 3FNJYɾɾɾɾ4PMJEJUZ*%& w (BOBDIFɾɾɾ(6*"QQ FUIFSFVNQSJWBUFCMPDLDIBJO

    w 5SV⒐Fɾɾɾɾ'SBNFXPSL EFWFMPQNFOU UFTUBOEEFQMPZNFOU w 0QFO;FQQFMJO4PMJEJUZɾɾɾMJCSBSZGPSTFDVSFTNBSUDPOUSBDU w $SZQUP;PNCJFTɾɾɾ-FBSOJOHUPPM  
  16. © DMM.com ΤίγεςϜʹ͍ͭͯ 3FNJY IUUQTSFNJYFUIFSFVNPSH  

  17. © DMM.com ΤίγεςϜʹ͍ͭͯ (BOBDIF IUUQTUSV⒐FGSBNFXPSLDPNHBOBDIF  

  18. © DMM.com ΤίγεςϜʹ͍ͭͯ 5SV⒐F IUUQTUSV⒐FGSBNFXPSLDPNUSV⒐F  

  19. © DMM.com ΤίγεςϜʹ͍ͭͯ 0QFO;FQQFMJO4PMJEJUZ IUUQTHJUIVCDPN0QFO;FQQFMJOPQFO[FQQFMJOTPMJEJUZ  

  20. © DMM.com ΤίγεςϜʹ͍ͭͯ $SZQUP;PNCJFT IUUQTDSZQUP[PNCJFTJP  

  21. © DMM.com ·ͱΊ

  22. © DMM.com ·ͱΊ ·ͱΊ w 4PMJEJUZ͸ɺ&UIFSFVNϒϩοΫνΣʔϯϕʔεͷεϚʔτίϯτϥΫτ ։ൃͰར༻͞ΕΔϓϩάϥϛϯάݴޠͷҰͭͰɺ+4ϥΠΫͳ4ZOUBY w 8FCKT͸ɺσϓϩΠ͞ΕͨεϚʔτίϯτϥΫτ΁ΞΫηε͕Մೳͳ "1*ϥΠϒϥϦ

    w ΤίγεςϜ͕ॆ࣮ w ϑϩϯτΤϯυΤϯδχΞͷࢀೖোน͸௿Ίʢओ؍ʣ  
  23. © DMM.com ࢼֶͯ͠Ϳ εϚʔτίϯτϥΫτ։ൃ %..DPNϒϩοΫνΣʔϯݚڀࣨ<ஶ>

  24. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ 5IBOLZPVGPSZPVSLJOEBUUFOUJPO