LoginSignup
2
1

More than 3 years have passed since last update.

MCH+のAPIを試してみるの覚書

Posted at

はじめに

My Crypto Heoresのキャラクターのアセットデータを自分のゲームの中でも
使えるというMCH+という試みがstartしたそうです。

以前調べたCryptKittyにおける「KittyVerse」のような取り組みだと思えば良さそうです。
https://qiita.com/oggata/items/97a795fb116594be88a4

週末に、MCH+のハッカソンに参加するために、提供されているAPIをちょっとだけ試してみたので覚書です。
(あくまで、ハッカソン前後の情報をまとめただけなのので、最新については、下記をご参考にすると良さそうです。)

My Crypto Heroes
website : https://www.mycryptoheroes.net/
discord : https://discord.gg/C66hByB
twitter(JP) : @mycryptoheroes
twitter(EN) : @mycryptoheroes_

APIドキュメントは

です。

開発の流れ

1.基本的には、自分が保有しているwalletのアドレスからHeroIdを取得する

https://www.mycryptoheroes.net
/api/proxy/HeroAsset/heroes/:address

2.metadataを取得して、自分のゲームにあうように作り変える
https://www.mycryptoheroes.net
/metadata/hero/:heroId

3.自分のゲームデータをmetadataに加える
(...ことができるとどこかでみた記憶が...調査中)

という流れで良いかなと思われます。

その他

画像の権利周り
https://medium.com/mycryptoheroes/mch-design-guideline-ja-99ff0970ccdc

MCHExplorer
https://explorer.mch.plus/

ハッカソン01の資料
https://speakerdeck.com/rmanzoku/mch-plus-hackathon-number-1

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1