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

MCH+ Hackathon #1

MCH+ Hackathon #1

3383368c2bd31bbc7cc9c6043e335e09?s=128

Ryo Manzoku

August 09, 2019
Tweet

Transcript

  1. Hackathon #1 ٕज़৘ใ 2019-08-10 MCH+ Hackathon #1 double jump.tokyoגࣜձࣾ ϦʔυΤϯδχΞ

    ຬ଍ ྄
  2. • My Crypto HeroesΛ஌͍ͬͯΔਓʁ • ERC-721Λࣗ෼Ͱൃߦͨ͜͠ͱͷ͋Δਓʁ • ϚΠΫϦͷAPIΛ৮ͬͨ͜ͱͷ͋Δਓʁ • MCH+ͷAPIΛ৮ͬͨ͜ͱͷ͋Δਓʁ

    ࣭໰
  3. ʹ͍ͭͯ

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

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

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

  7. • ϒϩοΫνΣʔϯʹΑΓσδλϧΞηοτͷʮॴ༗৘ใʯͱ ʮৡ౉ʯΛѻ͏͜ͱ͕Ͱ͖Δ • σδλϧΞηοτΛݸਓ͕ʮॴ༗ʯՄೳ • σδλϧΞηοτΛॴ༗ऀ͕ʮৡ౉ʯՄೳ • ʮॴ༗ʯͰ͖Δ͜ͱͰαʔϏεʹͱΒΘΕͣʮෳ਺αʔϏεؒ Ͱͷ൚༻ੑʯΛ࣋ͯΔ

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

    • ϒϩοΫνΣʔϯʹΑͬͯΠϯλʔωοτ͸ݱ࣮ੈքʹ͍ۙͮͨ ϒϩοΫνΣʔϯ͸ ʰϦΞϧʱ
  9. • ήʔϜΞΠςϜΛϒϩοΫνΣʔϯʹΑͬͯʮॴ༗ʯ • ࣗ෼ͷ΋ͷͰ͋Δͱ͍͏طଘήʔϜʹͳ͍ମݧ • σδλϧΞηοτͷϢʔβʔؒৡ౉ • Ϣʔβʔओ࠵ͷاըϓϨθϯτɺॳ৺ऀ΍༑ਓ΁ͷϓϨθϯτ • σδλϧΞηοτͷՁ஋

    • σδλϧΞηοτऔҾॴʹΑΔࣗ༝ͳऔҾ σδλϧΞηοτΤίϊϛʔ
  10. Non-Fungile Token

  11. • CryptoKittiesͷϦϦʔεΛൽ੾ΓʹσδλϧΞηοτʹ͍ͭͯ੝Γ ্͕ΓΛݟ͍ͤͯΔ • CryptoKittiesνʔϜʹΑͬͯNon-Fungible TokenʢNFTʣඇ୅ସੑ τʔΫϯͱ͍͏֓೦͕ੜΈग़͞Εͨ • NFTͷ࢓༷ͱͯ͠ERC-721͕ࡦఆ͞Εɺ࣮༻Խ͞Εͨ •

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

    ERC-20 / ERC-777 / ERC-1155 ૉࡐ: https://www.photock.jp • ࣭Λѻ͏τʔΫϯ → ඇ୅ସτʔΫϯ (NFT) • 1ͭ1ͭͷՁ஋͕ҧ͏ϞϊΛڞ௨ʹѻ͏ • ʮೣ͸ೣͰ΋ɺ͏ͪͷϛέͱ͓ྡͷλϚ͸ҧ͏ʯ • ERC-721 / ERC-1155
  13. • EthereumͰNFTΛ࣮ݱ͢Δݱ࣮తͳඪ४࢓༷ • ʮॴ༗৘ใʯʮৡ౉ʯʮৡ౉ݖͷҠৡʯΛنఆ͍ͯ͠Δ • ඪ४࢓༷Ͱ͋ΔͨΊɺERC-721Λ࠾༻ͨ͠ήʔϜɺαʔϏεɺ औҾॴͰ௥Ճ։ൃແ͠Ͱར༻Ͱ͖ΔΑ͏ʹͳΔ • ERC-721Λ࣮૷ͨ͠ =

    NFT ͱͳΔΘ͚Ͱ͸ͳ͍͜ͱΛ஫ҙ • ͦͷՁ஋͸MetadataʹΑΓࢀরͰ͖Δ ERC-721ͱ͸
  14. ERC-721ʹΑΔΤίγεςϜ NFTΛදࣔ NFTऔҾॴ ERC-721Λ࣮૷ NFTήʔϜ

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

  16. • σδλϧΞηοτͷՁ஋Λࢀর͢Δػೳͱͯ͠ɺERC-721 Metadata͕نఆ͞Ε͍ͯΔʢEIP-1047ʹͯఏҊʣ • Ethereum্ʹσδλϧΞηοτʹؔ͢Δϝλ৘ใΛࢀরͰ͖Δ URLΛॻ͖ࠐΈ͜ͱ͕Ͱ͖Δ • NFTऔҾॴ΍Wallet͸MetadataΛ௨ͯ͠σδλϧΞηοτͷ৘ใ Λࢀর͍ͯ͠Δ •

    σδλϧΞηοτͷՁ஋͸MetadataΛ௨ͯ͠ࢀর͞Ε͍ͯΔ ERC-721 Metadataͱ͸
  17. • Hero: ӡӦ΋͘͠͸ࢢ৔͔Βߪೖ͢ΔɻΫΤετ΍PvPʹར༻ ͢Δ • Extension: ΫΤετΫϦΞ࣌΋͘͠͸ࢢ৔͔Βߪೖ͢ΔɻHero ʹ૷උͤ͞ΫΤετ΍PvPʹར༻͢Δ • LandSector:

    ӡӦ΋͘͠͸ࢢ৔͔Βߪೖ͢ΔήʔϜ಺ࠃՈͷ Φʔφʔɻ্Ґऀ͸KingͱͳΓϢʔβʔΛಋ͘ MyCryptoHeroesͷNFT
  18. ERC721Λ࢖ͬͨHero / Extension / LandSectorͷEthereum্ͷ Asset Ethereum্Ͱͷॴ༗৘ใΛӡӦॴ༗ͷGatewayίϯτϥΫτʹ ༬͚Δ͜ͱͰɺCryptoWorldʢήʔϜ಺ʣͰར༻ՄೳʹͳΔ ʢLandSector͸ྫ֎ʣ MetadataΛؚΉήʔϜ಺ͷ৘ใ͸Ұ෦ެ։APIΛ௨ͯ͠ࢀরͰ͖

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

    MyCryotoHeroesͰ͸ ɾήʔϜࢿ࢈Λ࢖ͬͨ༡ͼͷఏڙ ɾETHʹΑΓήʔϜ಺௨՟Λൢച ɾ৽͍͠ήʔϜࢿ࢈ͷ෇༩ɺൢച ɾήʔϜࢿ࢈΁ΞʔτΛ෇༩
  20. Ϣʔβʔ͸ήʔϜ಺ʹUserIDΛ͍࣋ͬͯΔ UserIDͱEthereumΞυϨεΛඥ͚ͮͯ؅ཧ͍ͯ͠Δ EthereumΞυϨεΛެ։͢ΔػೳʹΑΓɺ༗ޮͳϢʔβʔ͸ EthereumΞυϨε͔ΒϢʔβʔ৘ใΛऔಘͰ͖Δ MyCryptoHeroes͓͞Β͍

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

    • NFTͷՁ஋͸օͰߴΊ͍͖͍ͯͨ NFT͕࣠ͱͳΔੈք
  22. Hackathon

  23. • ERC-721Ͱنఆ͞Ε͍ͯΔMetadataΛMCH+Ͱ֦ு͢Δ΋ͷ • MetadataΛ௨ͯ͠σδλϧΞηοτͷՁ஋Λ֬ೝ͍ͯ͠Δ • σδλϧΞηοτͷՁ஋͸ɺൃߦऀ͚ͩͰ͸ͳ͘୭Ͱ΋ొ࿥Ͱ ͖Δ΂͖ • Ձ஋ɺϝλσʔλ͸ެ։伴҉߸ͷॺ໊ʹΑΓ୭͕ొ࿥͔ͨ͠Λ อূ

    • ΞηοτՁ஋ͷΦʔϓϯԽΛ࣮ݱ ֦ுϝλσʔλ
  24. • https://explorer.mch.plus • NFTΛ࢖ͬͨήʔϜ/αʔϏε։ൃऀͷͨΊͷNFT Explorer • Hackathonʹͯα൛ެ։ʂ • ֦ுϝλσʔλΛWebͰ؆୯ʹొ࿥ɺ֬ೝͰ͖Δ •

    ઈࢍ։ൃதɻػೳืूதʂ NFT Explorer
  25. • NFTʹ୭Ͱ΋Ձ஋Λొ࿥Ͱ͖Δ͜ͱʹΑΓ • ྫ͑͹ࣗ࡞ήʔϜͷύϥϝʔλΛMCHͷώʔϩʔʹ෇༩Ͱ͖Δ • NFTʹࢥ͍ग़ͷϝοηʔδΛॻ͖ࠐΊΔ • MCH+ͱͯ͠͸ɺϚΠΫϦΞηοτΛελʔλʔʹͯ͠ήʔϜ Λ࡞ͬͯ΋Β͍͍ͨ •

    কདྷతʹ͸ϚΠΫϦ΋MCH+ͷҰ෦ʹ ֦ுϝλσʔλʹΑΔૂ͍
  26. • MCH+API • https://docs.mch.plus/ • MCH+Ͱఏڙ͢ΔAPIυΩϡϝϯτ • MCH API •

    https://my-crypto-heroes.gitbook.io/mch-api/ • ϚΠΫϦ͸େ൒ͷσʔλΛΦϑνΣʔϯͰ؅ཧ͍ͯ͠ΔͨΊ ͦͷσʔλ΁ΞΫηε͢ΔͨΊͷAPIυΩϡϝϯτ ֤छAPIϦϯΫ
  27. • CryptoSpells Metadata • https://cryptospells.jp/metadata/card/9ܻID.json • CryptoSpellsͷMetadataͰ͢ʂ ֤छAPIϦϯΫ

  28. RE-BUILDING THE FUTURE OF GAMING WITH BLOCKCHAIN TECHNOLOGY !!