AWS上で動く世界No.1ブロックチェーンゲーム / No1 Blockchain Game on AWS

AWS上で動く世界No.1ブロックチェーンゲーム / No1 Blockchain Game on AWS

2019-07-25
Blockchain@Loft #00
https://blockchainloft00.splashthat.com/

3383368c2bd31bbc7cc9c6043e335e09?s=128

Ryo Manzoku

July 25, 2019
Tweet

Transcript

  1. AWS্Ͱಈ͘ ੈք No.1 ϒϩοΫνΣʔϯήʔϜ 2019-07-25 Blockchain@Loft #00 double jump.tokyoגࣜձࣾ ϦʔυΤϯδχΞ

    ຬ଍ ྄
  2. • Re-building the future of gaming
 with blockchain technology !!

    • 2018೥4݄ ૑ۀ • ϒϩοΫνΣʔϯήʔϜઐۀ։ൃձࣾ • ैۀһ17ਓʢۀ຿ҕୗΛؚΉʣ • ϒϩοΫνΣʔϯʹ೤ҙͷ͋ΔΤϯδχΞΛੵۃ࠾༻தͰ͢ʂ double jump.tokyoגࣜձࣾ
  3. • ຬ଍ ྄ ʢManzoku Ryoʣ • double jump.tokyo ϦʔυΤϯδχΞ •

    2018೥7݄ΑΓ Πϯϑϥઃܭӡ༻ɺαʔόαΠυ։ൃɺ SmartContract։ൃɺϒϩοΫνΣʔϯٕज़ௐࠪͳͲΛ୲౰ • աڈʹ͸ιʔγϟϧήʔϜձࣾɺEdTechΞϓϦձࣾͰΠϯϑϥ ΤϯδχΞͱͯ͠AWSΛத৺ͱͨ͠Ϋϥ΢υΠϯϑϥ͔ΒΞϓ Ϧ·ͰͷશମઃܭɺߏஙɺվળΛܦݧ ࣗݾ঺հ
  4. ʹ͍ͭͯ

  5. https://mch.gg

  6. • ήʔϜʹ͔͚ͨ࣌ؒ΋͓ۚ΋৘೤΋ɺ͋ͳͨͷࢿ࢈ͱͳΔੈք • ྺ্࢙ͷώʔϩʔΛूΊɺΞΠςϜΛ֫ಘ͠ɺότϧ͢Δ
 ϒϩοΫνΣʔϯRPGήʔϜ • ϒϩοΫνΣʔϯEthereum͓Αͼ෼ࢄετϨʔδIPFSΛར༻ • Ethereum্ͰͷDailyActiveUserɾNFTऔҾྔ/औҾ਺Ͱੈք1Ґ MyCryptoHeroesͱ͸

  7. MyCryptoHeroesͱ͸

  8. MyCryptoHeroesͷߏ੒ཁૉ &UIFSFVN 6TFS Ϣʔβʔ͸ECDSAॺ໊༻ͷൿີ伴ͱ ରʹͳΔΞυϨεΛॴ༗ ήʔϜࢿ࢈͸ɺEthereum্Λਖ਼ͱͯ͠؅ཧ ॴ༗৘ใ͸ɺϢʔβʔͷΞυϨεʹ͋Δ ॴ༗৘ใΛ֬ೝ ήʔϜࢿ࢈Λ༻͍ͯήʔϜͰ༡Ϳ ࢿ࢈ΛҭͯΔ

    MyCryotoHeroesͰ͸ ɾήʔϜࢿ࢈Λ࢖ͬͨ༡ͼͷఏڙ ɾETHʹΑΓήʔϜ಺௨՟Λൢച ɾ৽͍͠ήʔϜࢿ࢈ͷ෇༩ɺൢച ɾήʔϜࢿ࢈΁ΞʔτΛ෇༩
  9. γεςϜΞʔΩςΫνϟ 6QMPBEUP*1'4 4 &UIFSFVN *1'4 *NBHFVQMPBE 8FC "VSPSB /-# 6TFS

    #BUDI 71$ 1SPYZ 4FOEUY .POJUPSJOH
 &UI $%/ 4FOEUY 4UBUJDEBUB
 0MEEBUB 1SPYZ
  10. γεςϜΞʔΩςΫνϟ User ʢWebΞϓϦʣ Web Nginx ɾTLS-termination ɾgRPC-Web proxy ɾL7 Routing

    SPA ɾNuxt.js ɾWeb3.js ɾgRPC-Web ɾCore-service (Go/gRPC) ɾAuth-service (Go/echo) ɾUploader-service (Go/echo) ɾEth-proxy-service (Go/echo) ɾAmazon S3 Microservices (Systemd)
  11. • ϒϩοΫνΣʔϯͷ՝୊Ͱ͋ΔεέʔϥϏϦςΟͱUXͷղܾͷͨΊήʔϜ ͱͯ͠ͷػೳ͸AWS্ʹߏங • ϒϩοΫνΣʔϯɺgRPCͱ͍͏৽نྖҬʹඈͼࠐΉʹ͋ͨΓɺͦΕҎ֎͸ ࣮੷ͱ৴པͷ͋ΔAWSΛ࢖͏͜ͱͰ৽نྖҬʹूத͕Ͱ͖Δ • AuroraɺS3ɺLambda͸ܦݧ্ɺ৴པͱ࣮੷͕͋ͬͨ • ੈքͰ΋਺গͳ͍gRPC-WebͷϓϩμΫγϣϯࣄྫ

    • S3ɺAuroraΛ࢝ΊAWSશମͷ҆৺ײ͔ΒϒϩοΫνΣʔϯ΍gRPCͳͲ৽ نྖҬͷٕज़΁શྗͰ౿ΈࠐΉ͜ͱ͕Ͱ͖Δ MyCryptoHeroesͷΞʔΩςΫνϟ
  12. • ݱΞʔΩςΫνϟ͸͓Αͦ2ϲ݄Ͱߏஙɺ2018೥11݄30೔ϦϦʔεɻ • ྦྷܭϢʔβʔ਺5ສਓɺ6,000DAUɺ3,000ϢʔβʔτϥϯβΫγϣϯ • ྦྷܭച্ֹ 6ϲ݄Ͱ12,000ETH௒ • EthereumΛ࢖ͬͨੈքҰͷϒϩοΫνΣʔϯήʔϜ •

    өըؗΛି͠੾ͬͨϢʔβʔϦΞϧΠϕϯτ • ೔ʑߦΘΕΔϢʔβʔओ࠵ͷήʔϜ಺Πϕϯτ ϒϩοΫνΣʔϯήʔϜͷ࠷ઌ୺
  13. ϒϩοΫνΣʔϯ × ήʔϜͷՄೳੑ

  14. ͳͥήʔϜʹϒϩοΫνΣʔϯΛ࢖͏ͷʁ ήʔϜ × ίϯϐϡʔλ ϏσΦήʔϜ 1980೥୅ Πϯλʔωοτ ΦϯϥΠϯήʔϜ 2000೥୅ ίϛϡχςΟʢSNSʣ

    ιʔγϟϧήʔϜ 2010೥୅ Τίϊϛʔ ϒϩοΫνΣʔϯήʔϜ 2020೥୅ × × ×
  15. • 2017.11 CryptoKitties ϦϦʔε • 2017.12 Etheremon ϦϦʔε • 2018.06

    ͘Γ΀ಲ ϦϦʔεʢ೔ຊൃʣ • 2018.11 MyCryptoHeroes ϦϦʔεʢ೔ຊൃʣ • 2019.06 CryptoSpells ϦϦʔε ʢ೔ຊൃʣ • 2019.?? ???? ϒϩοΫνΣʔϯήʔϜࢢ৔
  16. • ϒϩοΫνΣʔϯʹΑΓσδλϧΞηοτͷʮॴ༗৘ใʯͱ ʮৡ౉ʯΛѻ͏͜ͱ͕Ͱ͖Δ • σδλϧΞηοτΛݸਓ͕ʮॴ༗ʯՄೳ • σδλϧΞηοτΛॴ༗ऀ͕ʮৡ౉ʯՄೳ • ʮॴ༗ʯͰ͖Δ͜ͱͰαʔϏεʹͱΒΘΕͣʮෳ਺αʔϏεؒ Ͱͷ൚༻ੑʯΛ࣋ͯΔ

    • ʮৡ౉ʯͰ͖Δ͜ͱͰʮೋ࣍ྲྀ௨ࢢ৔ʯ͕ੜ·ΕΔ ϒϩοΫνΣʔϯʹΑΔΤίϊϛʔ
  17. • ϒϩοΫνΣʔϯͰ͸աڈͷ৘ใͷվ͟Μ͸ࠔ೉ͰෆՄٯ • ݱ࣮ੈքʹ͓͚Δ࣌ؒͷྲྀΕͱಉ͡ • ϒϩοΫνΣʔϯͰॴ༗৘ใ͕͋Δ͜ͱͰݸਓͷࣗ༝ʹѻ͑Δ • ݱ࣮ੈքʹ͓͚ΔϞϊͷॴ༗ͱಉ͡ • αʔϏεఏڙऀʹΑΔ؅ཧ͕ࠔ೉ʹͳΔ

    • ϒϩοΫνΣʔϯʹΑͬͯΠϯλʔωοτ͸ݱ࣮ੈքʹ͍ۙͮͨ ϒϩοΫνΣʔϯ͸ ʰϦΞϧʱ
  18. ϒϩοΫνΣʔϯήʔϜͰԿ͕ى͖͍ͯΔͷ͔ Ϣʔβʔओ࠵ɺөըؗΛ࢖ͬͨϦΞϧΠϕϯτ

  19. ϒϩοΫνΣʔϯήʔϜͰԿ͕ى͖͍ͯΔͷ͔ https://youtu.be/BlohAtMu224

  20. • ैདྷͷήʔϜΞΠςϜ͸ఏڙऀ/ӡӦ͔Βফඅऀ/Ϣʔβʔ΁ͷҰํతͳ ି༩Ͱ͋ͬͨ • ϒϩοΫνΣʔϯήʔϜʹ͓͍ͯɺήʔϜΞΠςϜ͸ӡӦͱϢʔβʔڞ ௨ͷࢿ࢈Ͱ͋ΓɺϢʔβʔ͸εςʔΫϗϧμʔͰ͋Δ • σδλϧΞηοτΛ࣠ʹɺϢʔβʔӡӦͱϢʔβʔɺϢʔβʔͱϢʔ βʔɺήʔϜͱήʔϜͷ૬৐ޮՌ͕ੜ·ΕΔ •

    ΤίγεςϜͱͦΕΛࢧ͑Δڧ͍ϢʔβʔίϛϡχςΟ • ·ͩ·ͩᴈ໌ظͰ͋ΓϢʔβʔͱήʔϜӡӦ͸ಉ͡ເΛ໨ࢦ͢஥ؒ ͳͥϒϩοΫνΣʔϯήʔϜʹ೤ڰ͢Δͷ͔
  21. • CryptoKittiesͷϦϦʔεΛൽ੾ΓʹσδλϧΞηοτʹ͍ͭͯ੝Γ ্͕ΓΛݟ͍ͤͯΔ • CryptoKittiesνʔϜʹΑͬͯNon-Fungible TokenʢNFTʣඇ୅ସੑ τʔΫϯͱ͍͏֓೦͕ੜΈग़͞Εͨ • NFTͷ࢓༷ͱͯ͠ERC-721͕ࡦఆ͞Εɺ࣮༻Խ͞Εͨ •

    NFTΞΠίϯ࡞ͬͨͷͰΈΜͳ࢖ͬͯͶʂ σδλϧΞηοτNFTͷొ৔
  22. ඇ୅ସੑͱ͸ʁ • ྔΛѻ͏τʔΫϯ → ୅ସτʔΫϯ • ௨՟ͳͲ1ͭ1ͭͷՁ஋ͷಉ͡΋ͷΛѻ͏ • ʮ1ສԁࡳ͸Կຕ͋ͬͯ΋1ຕ1ຕಉ͡Ձ஋Λ࣋ͭʯ •

    ERC-20 / ERC-777 / ERC-1155 ૉࡐ: https://www.photock.jp • ࣭Λѻ͏τʔΫϯ → ඇ୅ସτʔΫϯ (NFT) • 1ͭ1ͭͷՁ஋͕ҧ͏ϞϊΛڞ௨ʹѻ͏ • ʮೣ͸ೣͰ΋ɺ͏ͪͷϛέͱ͓ྡͷλϚ͸ҧ͏ʯ • ERC-721 / ERC-1155
  23. • Hero: ӡӦ΋͘͠͸ࢢ৔͔Βߪೖ͢ΔɻΫΤετ΍PvPʹར༻ ͢Δ • Extension: ΫΤετΫϦΞ࣌΋͘͠͸ࢢ৔͔Βߪೖ͢ΔɻHero ʹ૷උͤ͞ΫΤετ΍PvPʹར༻͢Δ • LandSector:

    ӡӦ΋͘͠͸ࢢ৔͔Βߪೖ͢ΔήʔϜ಺ࠃՈͷ Φʔφʔɻ্Ґऀ͸KingͱͳΓϢʔβʔΛಋ͘ MyCryptoHeroesͷNFT
  24. • EthereumͰNFTΛ࣮ݱ͢Δݱ࣮తͳඪ४࢓༷ • ʮॴ༗৘ใʯʮৡ౉ʯʮৡ౉ݖͷҠৡʯΛنఆ͍ͯ͠Δ • ඪ४࢓༷Ͱ͋ΔͨΊɺERC-721Λ࠾༻ͨ͠ήʔϜɺαʔϏεɺ औҾॴͰ௥Ճ։ൃແ͠Ͱར༻Ͱ͖ΔΑ͏ʹͳΔ • ERC-721Λ࣮૷ͨ͠ =

    NFT ͱͳΔΘ͚Ͱ͸ͳ͍͜ͱΛ஫ҙ ERC-721ͱ͸
  25. ERC-721ʹΑΔΤίγεςϜ NFTΛදࣔ NFTऔҾॴ ERC-721Λ࣮૷ NFTήʔϜ

  26. • BlockpunkࣾʹΑΔݶఆ൛ϏσΦτʔΫϯ • ΠϕϯτࢀՃऀͷͨΊͷه೦τʔΫϯ ଟ༷ͳ֦͕ΓΛ࣋ͭNFT/ERC-721

  27. • σδλϧΞηοτΛѻ͏৔߹ʹσϑΝΫτͱͳΓͭͭ͋ΔNFT ͱ͍͏֓೦ • ੈքʹ1ͭͰ͋ΔσδλϧΞηοτNFTͱϒϩοΫνΣʔϯʹΑ Δʮॴ༗ʯ͸૬ੑ͕Α͍ • ମݧͨ͜͠ͱͷ͋Δਓʹ͔͠Θ͔Βͳ͍ʮॴ༗ײʯ • طଘͷήʔϜʹ͸໭Εͳ͍ڧ྽ͳମݧ

    NFT͕࣠ͱͳΔੈք
  28. ʹ͍ͭͯ

  29. • ʮήʔϜʹ͔͚ͨ࣌ؒ΋͓ۚ΋৘೤΋ɺ͋ͳͨͷࢿ࢈ͱͳΔੈ քʯͷ֦େΛ໨ࢦͯ͠ • NFTΛத৺ͱͯ͠ήʔϜͱήʔϜΛඈͼӽ͑Δੈք؍ͷ࣮ݱ • ϒϩοΫνΣʔϯήʔϜۀքͷൃలͨΊϊ΢ϋ΢ͷఏڙ • MyCryptoHeroesͷϊ΢ϋ΢ΛϑϨʔϜϫʔΫͱͯ͠ఏڙ͢Δϒ ϩοΫνΣʔϯήʔϜ։ൃࢧԉϓϩάϥϜ

    MCH+ͱ͸
  30. https://mch.plus

  31. • ϒϩοΫνΣʔϯήʔϜͷಛ௃ͱͯ͠ʮೋ࣍ྲྀ௨ࢢ৔ʯͱʮෳ ਺αʔϏεؒͰͷ൚༻ੑʯ͕ॏཁͰ͋Δ • ෳ਺༻్͕͋Δ͜ͱͰͦͷσδλϧΞηοτͷՁ஋͸͕͋Δ • ݱࡏ͸ʮೋ࣍ྲྀ௨ࢢ৔ʯͱͯ͠ͷ໘͕େ͖͍ • ʮෳ਺αʔϏεؒͰͷ൚༻ੑʯ͕͋Δ͜ͱͰɺσδλϧΞηο τͷՁ஋΋૬৐ޮՌͰ্͕͍ͬͯ͘

    ͳͥMCH+ΛਐΊΔͷ͔
  32. ʮMCH+ʯ͕ఏڙ͢ΔࢧԉϓϩάϥϜ ։ൃࢧԉ ΤίγεςϜ ߏஙࢧԉ ϑΝΠφϯε ࢧԉ ਓࡐҭ੒ࢧԉ ϒϩοΫνΣʔϯήʔϜͷ։ൃϊ΢ϋ΢͕ͳͯ͘΋ɺ ୹ظؒͰຊ֨తͳϒϩοΫνΣʔϯήʔϜΛ ։ൃ͢Δ͜ͱ͕Ͱ͖ΔΑ͏ʹ

  33. • CryptoGamesגࣜձ༷͕ࣾ։ൃͨ͠ϒϩοΫνΣʔϯTCG • MCH+ͷ։ൃϓϩάϥϜΛઌߦ࠾༻ • Ϋϥ΢υηʔϧʹͯɺྦྷܭച্ 900 ETHʢ໿3000ສԁʣΛୡ੒ • https://cryptospells.jp/

    ʮMCH+ʯઌߦࣄྫ CryptoSpells
  34. 2019/09~ϒϩοΫνΣʔϯେֶߍʹͯθϛΛ։ߨ

  35. એ఻ʂϋοΧιϯΛ΍Γ·͢ʂ https://mchplus.connpass.com/event/139194/

  36. ʲ೔࣌ʳ2019೥8݄21೔ʢਫʣ19:30ʙ21:00
 ʲ৔ॴʳגࣜձࣾgumi 4Fେձٞࣨ
 ʲߨԋ಺༰ɾొஃऀʳ • ʮϒϩοΫνΣʔϯࢢ৔ͷಈ޲ͱকདྷల๬ʯ
 ᅳޫ ޺ঘࢯʢTokyo XR Startupsגࣜձࣾ୅දऔక໾ࣾ௕ɺגࣜձࣾgumi

    ୅දऔక໾ձ௕ʣ • ʮϒϩοΫνΣʔϯϏδωεͰ஌͓ͬͯ͘΂͖7ͭͷςʔϚʯ
 ٱอా େւࢯ ʢCoinDesk Japan૑ץฤू௕ / ίϯςϯπɾϓϩσϡʔαʔʣ • ʮϒϩοΫνΣʔϯήʔϜΤίγεςϜMCH+ͷ௅ઓʯ
 ্໺ ޿৳ࢯ ʢdouble jump.tokyoגࣜձࣾ ୅දऔక໾ / CEO & CTOʣ ΞΫηϥϨʔλϓϩάϥϜઆ໌ձ https://peatix.com/event/957800
  37. RE-BUILDING THE FUTURE OF GAMING WITH BLOCKCHAIN TECHNOLOGY !!