$30 off During Our Annual Pro Sale. View Details »

ウォレットを作る上でのTipsと DEX実装の話

GuiltyMorishita
November 10, 2018
25k

ウォレットを作る上でのTipsと DEX実装の話

Hi-Con 2018/11/10

GuiltyMorishita

November 10, 2018
Tweet

Transcript

  1. ©2018 Ginco, Inc. ΢ΥϨοτΛ࡞Δ্Ͱͷ5JQTͱ %&9࣮૷ͷ࿩ H i - C o

    n 2 0 1 8 M A S A T A K A M O R I S H I T A 2 0 1 8 / 1 1 / 1 0 / S A T
  2. A B O U T M Y S E L

    F ©2018 Ginco, Inc. ࣗݾ঺հ Masataka Morishita @guiltymorishita ৽ଔͰגࣜձࣾΞΧπΩʹೖࣾ͠ Πϯϑϥ։ൃʹैࣄ ݱࡏ͸(JODPͷ$50Λ຿Ί ༷ʑͳϒϩοΫνΣʔϯͷݚڀ։ൃΛߦ͏ ࠷ۙ͸ϒϩοΫνΣʔϯपΓͷϥΠϒϥϦΛ(PͰॻ͘ͷ͕࢓ࣄ
  3. ©2018 Ginco, Inc. ΞδΣϯμ A G E N D A

    5 5 5 5 ΢ΥϨοτͱ͸ʁ ॳ৺ऀ޲͚ ΢ΥϨοτ։ൃͰେ੾ͳ͜ͱ ΢ΥϨοτ։ൃͰؾ͍ͮͨ͜ͱ %&9ͷ࣮૷
  4. ©2018 Ginco, Inc. ൿີ伴ͷอଘ৔ॴ K E Y S T O

    R A G E L O C A T I O N 5 औҾॴɿαʔόʹ伴Λอଘ ϞόΠϧɿΫϥΠΞϯτʹ伴Λอଘ 58FCɿ伴Λอଘ͠ͳ͍ ϝϞϦ্ͰΩϟογϡ
  5. ©2018 Ginco, Inc. Ϣʔβ͕伴Λ؅ཧ ΢ΥϨοτͷछྨ W A L L E

    T T Y P E ӡӦऀ͕伴Λ؅ཧ αʔόܕ ΫϥΠΞϯτܕ
  6. ©2018 Ginco, Inc. αʔόܕ S E R V E R

    T Y P E 5 5 5 5 ΦϑνΣʔϯͱΦϯνΣʔϯͷߦ͖དྷָ͕ ͔ͳΓॊೈʹαʔϏεΛ࡞ΕΔ Ϣʔβ͸伴ͷ؅ཧ͕͍Βͳ͍ͷͰ҆৺ ؅ཧऀ͸伴ͷ؅ཧ͕େม
  7. ©2018 Ginco, Inc. ΫϥΠΞϯτܕ C L I E N T

    T Y P E 5 5 5 5 Ϣʔβ͕શͯͷݖݶΛ࣋ͯΔ ϒϩοΫνΣʔϯͷྑ͞Λ׆͔ͤΔ ϒϩοΫνΣʔϯͷ࢓༷ʹറΒΕΔ ϢʔβͷϦςϥγʔ͕ࢼ͞ΕΔ
  8. ©2018 Ginco, Inc. ΢ΥϨοτͷجຊػೳ B A S I C F

    U N C T I O N S 5 ࢒ߴͷදࣔ ૹۚ 5 ड͚औΓ
  9. ©2018 Ginco, Inc. Ծ૝௨՟؅ཧʹඞཁͳػೳ N E C E S S

    A R Y F U N C T I O N S 5 ΞΧ΢ϯτ 伴 ͷ؅ཧ 5 ཤྺͷදࣔ
  10. ©2018 Ginco, Inc. %BQQTϒϥ΢βʹඞཁͳػೳ N E C E S S

    A R Y F U N C T I O N S 5 ίϯτϥΫτͷ࣮ߦ 5 Ξηοτͷදࣔ
  11. ©2018 Ginco, Inc. %BQQTϒϥ΢βʹඞཁͳػೳ N E C E S S

    A R Y F U N C T I O N S 5 τϥϯβΫγϣϯͷৄࡉදࣔ 5 ωοτϫʔΫ੾Γସ͑
  12. ©2018 Ginco, Inc. %BQQTϢʔβͷ෯ͷ޿͞ D A P P S U

    S E R 5 ੲ͔Β*$0ࢀՃͯ͠·͢ 5 ࠷ۙ#JUDPJOങ͍·ͨ͠
  13. ©2018 Ginco, Inc. &UIFSFVN΁ͷ઀ଓ C O N N E C

    T I O N T O E T H E R E U M 5 5 5 ࣗ෼ͷϊʔυ ϓϩόΠμαʔϏε ύϒϦοΫ"1* HFUI
  14. ©2018 Ginco, Inc. ࣗ෼ͷϊʔυ O W N N O D

    E S 5 1SPT ޷͖ͳΑ͏ʹઃఆͰ͖Δ ϦΫΤετ੍ݶ͕ͳ͍ 5 $POT ಉظ͕ඞཁ ϥϯχϯάίετ͕ߴ͍
  15. ©2018 Ginco, Inc. ϓϩόΠμαʔϏε P R O V I D

    E R S E R V I C E S 5 1SPT खܰʹ࢖͑Δ ίετ͕௿͍ 5 $POT ࡉ͔͍ઃఆ͸Ͱ͖ͳ͍ ṖͷΤϥʔ͕͋Δ
  16. ©2018 Ginco, Inc. ύϒϦοΫ"1* P U B L I C

    A P I 5 1SPT +40/31$͡Όͳ͍ (FUIʹແ͍"1*΋͋Δ 5 $POT ϦΫΤετ੍ݶ͕͖͍ͭ جຊతͳ"1*͔͠ͳ͍
  17. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

    A S L I M I T 5 ΤϯδχΞͰ΋࠷ॳ͸ཧղ͕೉͍͠ 5 ΤϯυϢʔβ͸શ͘஌Βͳͯ͘΋ྑ͍
  18. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

    A S L I M I T 5 Ϣʔβͷࢿ࢈ΛकΔͨΊద੾ͳ஋ʹ͢Δ 5 #MPDL(BT-JNJUҎԼʹͳΔΑ͏ʹ͢Δ
  19. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

    A S L I M I T 5 &UIFSͷૹۚ͸Λ࢖͏
  20. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

    A S L I M I T 5 ίϯτϥΫτͷ࣮ߦ͸FTUJNBUF(BT Λ࢖͏ 5 ͋Δఔ౓෼͔Δ৔߹͸ݻఆ஋Ͱ΋Մ
  21. ©2018 Ginco, Inc. FTUJNBUF(BT ʹ͍ͭͯ A B O U T

    E S T I M A T E G A S 5 FTUJNBUF(BT ͸ਖ਼֬ͳ஋Ͱ͸ͳ͍ 5 ίϯτϥΫτʹΑͬͯ͸ڊେͳ஋ͱͳΔՄೳੑ
  22. ©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G

    A S P R I C E 5 ख਺ྉΛܾΊΔͨΊͷ஋ 5 ଟ͚Ε͹ଟ͍΄Ͳૣ͘ঝೝ͞ΕΔ
  23. ©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G

    A S P R I C E 5 ϢʔβʹܾΊͯ΋Β͏ 5 (BT1SJDF ͷ஋Λ࢖͏
  24. ©2018 Ginco, Inc. /PODFʹ͍ͭͯ A B O U T N

    O N C E 5 59ͷॲཧॱΛܾΊΔ΋ͷ 5 ͔Β࿈ଓ͍ͯ͠ͳ͍59͸ॲཧ͞Εͳ͍
  25. ©2018 Ginco, Inc. (FU5SBOTBDUJPO$PVOU G E T T R A

    N S A C T I O N C O U N T 5 ૹ৴ͨ͠ঝೝࡁΈ59ͷ਺ΛऔಘͰ͖Δ 5 1FOEJOH59ͷ਺͸ਖ਼֬Ͱ͸ͳ͍
  26. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V

    A L I D A T I O N 5 ख਺ྉº(BT1SJDF 5 ૹۚՄೳֹ࢒ߴख਺ྉ
  27. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V

    A L I D A T I O N 5 ख਺ྉ࢖༻(BTº(BT1SJDF 5 ૹۚՄೳֹ࢒ߴ
  28. ©2018 Ginco, Inc. ཤྺʹ͍ͭͯ A B O U T H

    I S T O R Y 5 ૹͬͨ59ΛΩϟογϡ͓ͯ͘͠ 5 &UIFSTDBO͔ΒཤྺΛऔಘ͢Δ
  29. ©2018 Ginco, Inc. %SPQ3FQMBDF D R O P / R

    E P L A C E 5 %SPQૹͬͨ59͕ԿΒ͔ͷཧ༝Ͱফ͑Δ 5 3FQMBDFૹͬͨ59ͷ্ॻ͖
  30. ©2018 Ginco, Inc. %SPQͷରԠ D R O P S U

    P P O R T 5 1FOEJOH5Y)BTIΛΩϟογϡ 5 ͕࣌ؒܦͬͨ͋ͱ֬ೝͰ͖ͳ͚Ε͹%SPQ
  31. ©2018 Ginco, Inc. %SPQͷରԠ D R O P S U

    P P O R T 58BMMFU 5 HFUI 1FOEJOH5Y)BTI (FU5SBOTBDUJPO ֬ೝͰ͖ͳ͘ͳͬͨΒ%SPQ
  32. ©2018 Ginco, Inc. 3FQMBDFͷରԠ R E P L A C

    E S U P P O R T 5 59ΛΩϟογϡ 5 /PODF͕ಉ͡59ͳΒ3FQMBDF
  33. ©2018 Ginco, Inc. ©2018 Ginco, Inc. 3BUFΛऔಘ &5),/$ ,/$0.( &YQFDUFE3BUFTPMͷHFU&YQFDUFE3BUF

     ͔Βऔಘ ަ׵Λ࣮ߦ ,ZCFS/FUXPSLTPMͷUSBEF  Ͱަ׵ ,ZCFS/FUXPSLͷϓϩηε P R O C E S S O F K Y B E R N E T W O R K
  34. ©2018 Ginco, Inc. ©2018 Ginco, Inc. ,ZCFS/FUXPSL &YQFDUFE3BUF HFU&YQFDUFE3BUF 

    ᶃ 3BUF,/$&5) ᶅ ᶄ HFU&YQFDUFE3BUF  ᶆ 3BUF,/$&5) 3BUFͷऔಘ G E T R A T E
  35. ©2018 Ginco, Inc. ©2018 Ginco, Inc. &5) ᶃ USBEF 

    ᶄ ᶅ ,/$ ,ZCFS/FUXPSL ,ZCFS3FTFSWF ަ׵Λ࣮ߦ T R A D E E X E C U T I O N
  36. ©2018 Ginco, Inc. ©2018 Ginco, Inc. ,/$$POUSBDU BQQSPWF  ࢿۚͷૹۚݖݶΛ,ZCFS/FUXPSLʹҕৡ

    ,ZCFS/FUXPSL ,ZCFS3FTFSWF ,/$ USBEF  0.( ᶃ ᶄ ᶅ &3$ͷަ׵ E R C 2 0 T R A D E
  37. ©2018 Ginco, Inc. (JODPͰಇ͍ͯ͘ΕΔ஥ؒืूதʂ R E C R U I

    T M E N T 8BOUFEMZ͔'BDFCPPL͔5XJUUFSͰ·ͣ͸ؾܰʹ࿈བྷ ࠾༻৬ Ԡืํ๏ J04 "OESPJE  αʔόαΠυ Πϯϑϥ  2" 6* 69 ϏδϡΞϧ  άϥϑΟοΫ ࠃ಺ւ֎ϚʔέςΟϯά  Ϧαʔνϟʔ ਓࣄ  όοΫΦϑΟε ΤϯδχΞ σβΠφʔ Ϗδωε