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

Cc03b397a36fe4970087d5e4306ee1ee?s=47 GuiltyMorishita
November 10, 2018
12k

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

Hi-Con 2018/11/10

Cc03b397a36fe4970087d5e4306ee1ee?s=128

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. Crypto Wallet ©2018 Ginco, Inc.

  4. ©2018 Ginco, Inc. ·ͱΊͯͻͱͭʹ Bitcoin Bitcoin Cash Litecoin XRP Ethereum

    Classic Ethereum
  5. ©2018 Ginco, Inc. ϢʔβʔϑϨϯυϦʔͳσβΠϯ

  6. ©2018 Ginco, Inc. ΫϥΠΞϯτܕ΢ΥϨοτͷجຊΛ஧࣮ʹ ߴਫ४ͷηΩϡϦςΟͱ҆શੑ ֤σόΠεͷ தʹͷΈอ؅ ̍ͭͷόοΫΞοϓΩʔͰ
 ෳ਺ͷ௨՟Λ؅ཧ ௨৴ͷ҉߸Խͱ

    ಠࣗͷೝূํࣜ ൿີ伴ͷ؅ཧํࣜ ΢ΥϨοτͷߏ଄ ௨৴ํࣜ
  7. ©2018 Ginco, Inc. ಠࣗͷݎ࿚ͳΠϯϑϥ Node શͯͷϒϩοΫνΣʔϯ ϊʔυΛࣗΒཱͯΔ Block Explorer ϒϩοΫΤΫεϓϩʔϥΛ

    ࣗ෼ୡͰ࡞Δ Scalability ߴ͍εέʔϥϏϦςΟΛ ֬อ
  8. ©2018 Ginco, Inc. (JODPͷઆ໌͸Ҏ্

  9. ©2018 Ginco, Inc. ΢ΥϨοτΛ ࡞Γ͍ͨਓ޲͚

  10. ©2018 Ginco, Inc. ΞδΣϯμ A G E N D A

    5 5 5 5 ΢ΥϨοτͱ͸ʁ ॳ৺ऀ޲͚ ΢ΥϨοτ։ൃͰେ੾ͳ͜ͱ ΢ΥϨοτ։ൃͰؾ͍ͮͨ͜ͱ %&9ͷ࣮૷
  11. ©2018 Ginco, Inc. ΢ΥϨοτͱ͸ʁ P A R T 1

  12. ©2018 Ginco, Inc. ΢ΥϨοτͷछྨ

  13. ©2018 Ginco, Inc. ϞόΠϧ ΢ΥϨοτͷछྨ W A L L E

    T T Y P E औҾॴ Web
  14. ©2018 Ginco, Inc. ϞόΠϧ ΢ΥϨοτͷछྨ W A L L E

    T T Y P E औҾॴ Web
  15. ©2018 Ginco, Inc. Ͳ͏͍͏෼͚ํ͔

  16. ©2018 Ginco, Inc. ൿີ伴ͷอଘ৔ॴ

  17. ©2018 Ginco, Inc. ൿີ伴ͷอଘ৔ॴ K E Y S T O

    R A G E L O C A T I O N 5 औҾॴɿαʔόʹ伴Λอଘ ϞόΠϧɿΫϥΠΞϯτʹ伴Λอଘ 58FCɿ伴Λอଘ͠ͳ͍ ϝϞϦ্ͰΩϟογϡ
  18. ©2018 Ginco, Inc. ผͷ෼͚ํ

  19. ©2018 Ginco, Inc. Ϣʔβ͕伴Λ؅ཧ ΢ΥϨοτͷछྨ W A L L E

    T T Y P E ӡӦऀ͕伴Λ؅ཧ αʔόܕ ΫϥΠΞϯτܕ
  20. ©2018 Ginco, Inc. ΢ΥϨοτͷछྨ αʔόʔܕ΢ΥϨοτ 5 ΫϥΠΞϯτܕ΢ΥϨοτ ൿີ伴Λ୺຤಺Ͱ؅ཧ 5 αʔόʔܕ΢ΥϨοτ

    ൿີ伴ΛαʔϏεఏڙऀͷαʔόʔ্Ͱ؅ཧ W A L L E T T Y P E
  21. ©2018 Ginco, Inc. ͦΕͧΕͷಛ௃

  22. ©2018 Ginco, Inc. αʔόܕ S E R V E R

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

    T Y P E 5 5 5 5 Ϣʔβ͕શͯͷݖݶΛ࣋ͯΔ ϒϩοΫνΣʔϯͷྑ͞Λ׆͔ͤΔ ϒϩοΫνΣʔϯͷ࢓༷ʹറΒΕΔ ϢʔβͷϦςϥγʔ͕ࢼ͞ΕΔ
  24. ©2018 Ginco, Inc. ͲͬͪΛબ΂͹ྑ͍͔

  25. ©2018 Ginco, Inc. ࣮ݱ͍ͨ͜͠ͱʹΑΔ

  26. ©2018 Ginco, Inc. ૬ஊ͠ʹདྷ͍ͯͩ͘͞

  27. ©2018 Ginco, Inc. ΢ΥϨοτͷجຊػೳ

  28. ©2018 Ginco, Inc. ΢ΥϨοτͷجຊػೳ B A S I C F

    U N C T I O N S 5 ࢒ߴͷදࣔ ૹۚ 5 ड͚औΓ
  29. ©2018 Ginco, Inc. ΢ΥϨοτ։ൃͰ େ੾ͳ͜ͱ P A R T 2

  30. ©2018 Ginco, Inc. Ͳ͏͍͏ػೳΛ࣮૷͢Δ͔

  31. ©2018 Ginco, Inc. ΢ΥϨοτͷ༻్

  32. ©2018 Ginco, Inc. 5 5 5 Ծ૝௨՟؅ཧ %BQQTϒϥ΢β ։ൃऀ޲͚ ΢ΥϨοτͷ༻్

    P U R P O S E O F W A L L E T 5 ൚༻ .JTU
  33. ©2018 Ginco, Inc. ༻్ผͷػೳ

  34. ©2018 Ginco, Inc. Ծ૝௨՟؅ཧʹඞཁͳػೳ N E C E S S

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

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

    A R Y F U N C T I O N S 5 τϥϯβΫγϣϯͷৄࡉදࣔ 5 ωοτϫʔΫ੾Γସ͑
  37. ©2018 Ginco, Inc. ໨తʹ߹ΘͤͨػೳΛ ࣮૷͕ඞཁ

  38. ©2018 Ginco, Inc. ΤϯυϢʔβ޲͚͸ Ͱ͖Δ͜ͱ͕গͳ͍΄͏͕ 6*ɾ69తʹྑ͍

  39. ©2018 Ginco, Inc. ։ൃऀ޲͚͸ Ͱ͖Δ͜ͱ͕ଟ͍ํ͕ ޷·ΕΔ

  40. ©2018 Ginco, Inc. %BQQT޲͚͸

  41. ©2018 Ginco, Inc. Ͳ͜·ͰରԠͨ͠Βྑ͍͔ Θ͔Βͳ͍

  42. ©2018 Ginco, Inc. %BQQTϢʔβͷ෯ͷ޿͞ D A P P S U

    S E R 5 ੲ͔Β*$0ࢀՃͯ͠·͢ 5 ࠷ۙ#JUDPJOങ͍·ͨ͠
  43. ©2018 Ginco, Inc. શһ͕ೲಘ͢Δ ΢ΥϨοτΛ࡞Δͷ͸೉͍͠

  44. ©2018 Ginco, Inc. ͳͷͰ

  45. ©2018 Ginco, Inc. ΢ΥϨοτ։ൃऀ͸ ࢥ૝Λڧ࣋ͪ͘·͠ΐ͏

  46. ©2018 Ginco, Inc. ࣗ෼ͷࢥ૝ͷൣғ಺Ͱ Ϣʔβͷر๬Λ࠷େԽ

  47. ©2018 Ginco, Inc. ΢ΥϨοτ։ൃͰ ؾ͍ͮͨͱ͜Ζ P A R T 3

  48. ©2018 Ginco, Inc. &UIFSFVN΁ͷ઀ଓ

  49. ©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
  50. ©2018 Ginco, Inc. ࣗ෼ͷϊʔυ O W N N O D

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

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

    A P I 5 1SPT +40/31$͡Όͳ͍ (FUIʹແ͍"1*΋͋Δ 5 $POT ϦΫΤετ੍ݶ͕͖͍ͭ جຊతͳ"1*͔͠ͳ͍
  53. ©2018 Ginco, Inc. ࡞Γ͍ͨ΢ΥϨοτʹ ߹Θͤͯબ୒

  54. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ

  55. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

    A S L I M I T 5 ΤϯδχΞͰ΋࠷ॳ͸ཧղ͕೉͍͠ 5 ΤϯυϢʔβ͸શ͘஌Βͳͯ͘΋ྑ͍
  56. ©2018 Ginco, Inc. ͱΓ͋͑ͣద౰ʹ େ͖͍஋ΛೖΕΔͱྑ͛͞

  57. ©2018 Ginco, Inc. ͳΜͯ͜ͱ͸ ͯ͠͸͍͚·ͤΜ

  58. ©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G

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

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

    A S L I M I T 5 ίϯτϥΫτͷ࣮ߦ͸FTUJNBUF(BT Λ࢖͏ 5 ͋Δఔ౓෼͔Δ৔߹͸ݻఆ஋Ͱ΋Մ
  61. ©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 ίϯτϥΫτʹΑͬͯ͸ڊେͳ஋ͱͳΔՄೳੑ
  62. ©2018 Ginco, Inc. Ϣʔβ͕ҙਤͤͣ &UIFSΛࣦ͏͔΋

  63. ©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ

  64. ©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G

    A S P R I C E 5 ख਺ྉΛܾΊΔͨΊͷ஋ 5 ଟ͚Ε͹ଟ͍΄Ͳૣ͘ঝೝ͞ΕΔ
  65. ©2018 Ginco, Inc. ͱΓ͋͑ͣద౰ʹ େ͖͍஋ΛೖΕΔͱྑ͛͞

  66. ©2018 Ginco, Inc. ͳΜͯ͜ͱ͸ ͯ͠͸͍͚·ͤΜ

  67. ©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G

    A S P R I C E 5 ϢʔβʹܾΊͯ΋Β͏ 5 (BT1SJDF ͷ஋Λ࢖͏
  68. ©2018 Ginco, Inc. &5)(BT4UBUJPO E T H G A S

    S T A T I O N
  69. ©2018 Ginco, Inc. (BT1SJDFͷ࠷௿஋ L O W E S T

    G A S P R I C E
  70. ©2018 Ginco, Inc. /PODFʹ͍ͭͯ

  71. ©2018 Ginco, Inc. /PODFʹ͍ͭͯ A B O U T N

    O N C E 5 59ͷॲཧॱΛܾΊΔ΋ͷ 5 ͔Β࿈ଓ͍ͯ͠ͳ͍59͸ॲཧ͞Εͳ͍
  72. ©2018 Ginco, Inc. ద౰ͳ஋͸/(

  73. ©2018 Ginco, Inc. 5 ૹͬͨ59ΛΧ΢ϯτ͓ͯ͘͠ (FU5SBOTBDUJPO$PVOU Λ࢖͏ 5 &UIFSTDBOͷཤྺ͔ΒΧ΢ϯτ͢Δ /PODFʹ͍ͭͯ

    A B O U T N O N C E
  74. ©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ͷ਺͸ਖ਼֬Ͱ͸ͳ͍
  75. ©2018 Ginco, Inc. UFTUOFUͰ͸ಈ͍ͯ΋ NBJOOFUͰ͸ಈ͔ͳ͍͔΋

  76. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ

  77. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V

    A L I D A T I O N
  78. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V

    A L I D A T I O N 5 ख਺ྉº(BT1SJDF 5 ૹۚՄೳֹ࢒ߴख਺ྉ
  79. ©2018 Ginco, Inc. &3$ͷ৔߹͸

  80. ©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V

    A L I D A T I O N 5 ख਺ྉ࢖༻(BTº(BT1SJDF 5 ૹۚՄೳֹ࢒ߴ
  81. ©2018 Ginco, Inc. શֹೖྗ

  82. ©2018 Ginco, Inc. શֹೖྗ A L L B A L

    A N C E I N P U T
  83. ©2018 Ginco, Inc. 5 ૹۚՄೳֹΛͦͷ··ೖྗ શֹೖྗ A L L B

    A L A N C E I N P U T
  84. ©2018 Ginco, Inc. τϥϯβΫγϣϯཤྺ

  85. ©2018 Ginco, Inc. ͳͯ͘΋͍͍͚Ͳ ͋ͬͨΒ͘͢͝ศར

  86. ©2018 Ginco, Inc. ཤྺʹ͍ͭͯ A B O U T H

    I S T O R Y 5 ૹͬͨ59ΛΩϟογϡ͓ͯ͘͠ 5 &UIFSTDBO͔ΒཤྺΛऔಘ͢Δ
  87. ©2018 Ginco, Inc. 59ͷ4UBUFΛ ߋ৽͍ͯ͘͠ͷ͕େม

  88. ©2018 Ginco, Inc. 8FCϥΠϒϥϦΛ࢖ͬͯ XFCTPDLFUͰऔಘՄೳ

  89. ©2018 Ginco, Inc. %SPQ3FQMBDF

  90. ©2018 Ginco, Inc. %SPQ3FQMBDF D R O P / R

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

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

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

    E S U P P O R T 5 59ΛΩϟογϡ 5 /PODF͕ಉ͡59ͳΒ3FQMBDF
  94. ©2018 Ginco, Inc. %&9ͷ࣮૷ P A R T 3

  95. ©2018 Ginco, Inc. DEX ΢ΥϨοτ಺Ͱ྆ସ͕Մೳʹ

  96. ©2018 Ginco, Inc. ©2018 Ginco, Inc. εϚʔτίϯτϥΫτͰτϥετϨεʹऔҾ͕Ͱ͖Δ ,ZCFS/FUXPSL K Y

    B E R N E T W O R K 5 &5) 5 &3$ 5 &3$ 5 &3$
  97. ©2018 Ginco, Inc. ©2018 Ginco, Inc.

  98. ©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
  99. ©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
  100. ©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
  101. ©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
  102. ©2018 Ginco, Inc. ৄ͘͠͸ ݄ ͷΠϕϯτͰ

  103. ©2018 Ginco, Inc. ͔͜͜Β͸ࠂ஌

  104. ©2018 Ginco, Inc. Ginco Tech Blog UFDIHJODPJP

  105. ©2018 Ginco, Inc. )BSEXBSF8BMMFU

  106. ©2018 Ginco, Inc. (JODPͰಇ͍ͯ͘ΕΔ஥ؒืूதʂ R E C R U I

    T M E N T 8BOUFEMZ͔'BDFCPPL͔5XJUUFSͰ·ͣ͸ؾܰʹ࿈བྷ ࠾༻৬ Ԡืํ๏ J04 "OESPJE  αʔόαΠυ Πϯϑϥ  2" 6* 69 ϏδϡΞϧ  άϥϑΟοΫ ࠃ಺ւ֎ϚʔέςΟϯά  Ϧαʔνϟʔ ਓࣄ  όοΫΦϑΟε ΤϯδχΞ σβΠφʔ Ϗδωε
  107. ©2018 Ginco, Inc. ࣭໰͕͋Ε͹ ؾܰʹ ࿩͔͚͍ͯͩ͘͠͞