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

クライアント型ウォレットの仕組み

 クライアント型ウォレットの仕組み

2018/10/04 (木)
Ginco Engineer Meetup 登壇資料
https://career.levtech.jp/hikalab/event/detail/187/

Ginco Inc.
https://ginco.io

More Decks by Ippo Matsui / 令和トラベル

Other Decks in Technology

Transcript

  1. ΫϥΠΞϯτܕ΢ΥϨοτͷ࢓૊Έ G I N C O E N G I

    N E E R M E E T U P I P P O M A T S U I 2 0 1 8 / 1 0 / 4 / T H U
  2. A B O U T M Y S E L

    F ©2018 Ginco, Inc. ࣗݾ঺հ Ippo Matsui @ippo_012 ਆށେֶେֶӃʹͯ࠷దԽཧ࿦ͷݚڀɻࡏֶதʹෳ਺ͷ8FCϕϯνϟʔͰ डୗ։ൃٴͼαʔϏεͷ্ཱͪ͛ΛܦݧɻΫοΫύουגࣜձࣾʹΤϯδ χΞͱͯ͠৽ଔೖࣾ͠ɺձһࣄۀ෦ʹͯϚʔέςΟϯάࢪࡦͷཱҊ͔Β࣮૷ ·ͰΛ୲౰ɻݱࡏ͸(JODPͷJ04ͷ։ൃΛϦʔυɻ
  3. ©2018 Ginco, Inc. W H A T I S G

    I N C O ? (JODPͱ͸ʁ • αʔϏε։࢝͸೥݄೔ • ΫϥΠΞϯτܕ΢ΥϨοτ • ൿີ伴Λ୺຤಺Ͱ؅ཧ • ϚϧνϒϩοΫνΣʔϯରԠʢݱࡏͭʣ • 'JSFCBTFΛར༻ͨ͠αʔόʔϨεΞʔΩςΫνϟ
  4. ©2018 Ginco, Inc. ΞδΣϯμ A G E N D A

    5 ΢ΥϨοτͱ͸ʁ (JODPͷΞʔΩςΫνϟ 5 ΢ΥϨοτͷॲཧͷྲྀΕ
  5. ©2018 Ginco, Inc. ϒϩοΫνΣʔϯʹ͓͚Δެ։伴҉߸ํࣜ • ओͳ༻్ • ΞυϨεͷੜ੒ • τϥϯβΫγϣϯͷॺ໊

    • &$%4"ʢପԁۂઢిࢠॺ໊ΞϧΰϦζϜʣ • σδλϧॺ໊ͷͨΊͷެ։伴҉߸ٕज़ • ύϥϝʔλ͸ඪ४Խ͞Ε͍ͯΔTFDQL
  6. ©2018 Ginco, Inc. ϒϩοΫνΣʔϯ ωοτϫʔΫ τϥϯβΫγϣϯͷॺ໊ͷྲྀΕ 5Y "͔Β#΁&5)ΛૹΔ ॺ໊ࡁΈͷ5Y ϒϩοΫνΣʔϯ

    ωοτϫʔΫ ൿີ伴 ϒϩʔυΩϟετ ॺ໊ࡁΈͷ5Y ެ։伴 ༗ޮͳ5Y "͔Β#΁&5)ΛૹΔ
  7. ©2018 Ginco, Inc. #*1 • ϏοτίΠϯٕज़ͷൃలͷͨΊͷʹ࡞੒ɺެ։͞ ΕΔ૲Ҋ܈ • ΢ΥϨοτʹؔ͢Δ#*1͕͋Δ •

    ଟ͘ͷ΢ΥϨοτ͕४ڌˠ(JODP΋४ڌ • ΢ΥϨοτؒͷΠϯϙʔτ͕Ͱ͖Δ • #*1ʓʓʢྫʣ#*1 #*1 #JUDPJO*NQSPWFNFOU1SPQPTBMT
  8. ©2018 Ginco, Inc. (JODPͷΞʔΩςΫνϟ • 'JSFCBTFΛར༻ͨ͠αʔόʔϨεΞʔΩςΫνϟ • ༷ʑͳج൫αʔϏε͕͋Δʢ%# 1VTI௨஌FUDʣ •

    ։ൃεϐʔυͷ޲্ • αʔϏεͷ։ൃʹ஫ྗͰ͖Δ • ෳ਺ͷϒϩοΫνΣʔϯΛѻ͏ঢ়گʹద͍ͯͨ͠
  9. ©2018 Ginco, Inc. 8BMMFU$PSF • ࣗࣾ։ൃͷ΢ΥϨοτ༻ϥΠϒϥϦ • ϚϧνϒϩοΫνΣʔϯରԠ • ओͳ༻్

    • χʔϞχοΫͷੜ੒ • )%΢ΥϨοτͷରԠ • ΞυϨεͷੜ੒ • τϥϯβΫγϣϯͷॺ໊ • 044Խ༧ఆ Wallet Core
  10. ©2018 Ginco, Inc. $MPVE'JSFTUPSF • /P42-ɺεΩʔϚϨε • ϦΞϧλΠϜϦεφʔ • ΦʔτεέʔϦϯά

    • ओͳ༻్ • Ϣʔβʔσʔλͷ؅ཧ • τϥϯβΫγϣϯཤྺ Cloud
 Firestore
  11. ©2018 Ginco, Inc. $MPVE'VODUJPOT • ΠϕϯτΛτϦΨʔʹͯؔ͠਺Λ࣮ߦ • αʔόʔϨε • ΦʔτεέʔϦϯά

    • ओͳ༻్ • ϊʔυͷϥούʔ • τϥϯβΫγϣϯͷૹ৴ Cloud Functions
  12. ©2018 Ginco, Inc. #MPDLDIBJO&YQMPSFS • ϒϩοΫΛৗ࣌؂ࢹ͠ɺτϥϯβΫγϣϯΛ
 αʔϏεʹར༻͠΍͘͢੔ܗ • (,& $MPVE1VC4VC

    • ֤ϒϩοΫνΣʔϯຖʹ༻ҙ • ओͳ༻్ • 'JSFTUPSF΁ͷཤྺͷ௥Ճ Blockchain Explorer
  13. ©2018 Ginco, Inc. ΞυϨεͷදࣔ Keychain getMnemonic() mnemonic = “huge credit…”

    Wallet Core getAddress(mnemonic) address = “0x1A6a57936…”
  14. ©2018 Ginco, Inc. sendTransaction(txData) txHash = “xxxxxxxxx” Keychain Wallet Core

    Cloud Functions Full Node getMnemonic() mnemonic = “huge credit…” signTransaction( mnemonic, txParams) txData = “xxxxxxxxx” τϥϯβΫγϣϯͷૹ৴
  15. ©2018 Ginco, Inc. ऴΘΓʹ S U M M A R

    Y 5 ൿີ伴Λ୺຤Ͱ؅ཧ͢ΔΫϥΠΞϯτܕ΢ΥϨοτ ϚϧνϒϩοΫνΣʔϯରԠ 5 'JSFCBTFΛར༻ͨ͠αʔόʔϨεΞʔΩςΫνϟ