Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ウォレットを作る上でのTipsと DEX実装の話
Search
GuiltyMorishita
November 10, 2018
3
25k
ウォレットを作る上でのTipsと DEX実装の話
Hi-Con 2018/11/10
GuiltyMorishita
November 10, 2018
Tweet
Share
More Decks by GuiltyMorishita
See All by GuiltyMorishita
Kubernetesを使ったブロックチェーンノード運用
guiltymorishita
7
12k
Gincoの開発思想
guiltymorishita
1
1.7k
Featured
See All Featured
Gamification - CAS2011
davidbonilla
80
5.1k
It's Worth the Effort
3n
183
28k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
What's in a price? How to price your products and services
michaelherold
244
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
A Philosophy of Restraint
colly
203
16k
Building Applications with DynamoDB
mza
91
6.1k
Docker and Python
trallard
42
3.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Adopting Sorbet at Scale
ufuk
73
9.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Transcript
©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
A B O U T M Y S E L
F ©2018 Ginco, Inc. ࣗݾհ Masataka Morishita @guiltymorishita ৽ଔͰגࣜձࣾΞΧπΩʹೖࣾ͠ Πϯϑϥ։ൃʹैࣄ ݱࡏ(JODPͷ$50ΛΊ ༷ʑͳϒϩοΫνΣʔϯͷݚڀ։ൃΛߦ͏ ࠷ۙϒϩοΫνΣʔϯपΓͷϥΠϒϥϦΛ(PͰॻ͘ͷ͕ࣄ
©2018 Ginco, Inc. Crypto Wallet ©2018 Ginco, Inc.
©2018 Ginco, Inc. ·ͱΊͯͻͱͭʹ Bitcoin Bitcoin Cash Litecoin XRP Ethereum
Classic Ethereum
©2018 Ginco, Inc. ϢʔβʔϑϨϯυϦʔͳσβΠϯ
©2018 Ginco, Inc. ΫϥΠΞϯτܕΥϨοτͷجຊΛ࣮ʹ ߴਫ४ͷηΩϡϦςΟͱ҆શੑ ֤σόΠεͷ தʹͷΈอ ̍ͭͷόοΫΞοϓΩʔͰ ෳͷ௨՟Λཧ ௨৴ͷ҉߸Խͱ
ಠࣗͷೝূํࣜ ൿີ伴ͷཧํࣜ ΥϨοτͷߏ ௨৴ํࣜ
©2018 Ginco, Inc. ಠࣗͷݎ࿚ͳΠϯϑϥ Node શͯͷϒϩοΫνΣʔϯ ϊʔυΛࣗΒཱͯΔ Block Explorer ϒϩοΫΤΫεϓϩʔϥΛ
ࣗୡͰ࡞Δ Scalability ߴ͍εέʔϥϏϦςΟΛ ֬อ
©2018 Ginco, Inc. (JODPͷઆ໌Ҏ্
©2018 Ginco, Inc. ΥϨοτΛ ࡞Γ͍ͨਓ͚
©2018 Ginco, Inc. ΞδΣϯμ A G E N D A
5 5 5 5 ΥϨοτͱʁ ॳ৺ऀ͚ ΥϨοτ։ൃͰେͳ͜ͱ ΥϨοτ։ൃͰؾ͍ͮͨ͜ͱ %&9ͷ࣮
©2018 Ginco, Inc. ΥϨοτͱʁ P A R T 1
©2018 Ginco, Inc. ΥϨοτͷछྨ
©2018 Ginco, Inc. ϞόΠϧ ΥϨοτͷछྨ W A L L E
T T Y P E औҾॴ Web
©2018 Ginco, Inc. ϞόΠϧ ΥϨοτͷछྨ W A L L E
T T Y P E औҾॴ Web
©2018 Ginco, Inc. Ͳ͏͍͏͚ํ͔
©2018 Ginco, Inc. ൿີ伴ͷอଘॴ
©2018 Ginco, Inc. ൿີ伴ͷอଘॴ K E Y S T O
R A G E L O C A T I O N 5 औҾॴɿαʔόʹ伴Λอଘ ϞόΠϧɿΫϥΠΞϯτʹ伴Λอଘ 58FCɿ伴Λอଘ͠ͳ͍ ϝϞϦ্ͰΩϟογϡ
©2018 Ginco, Inc. ผͷ͚ํ
©2018 Ginco, Inc. Ϣʔβ͕伴Λཧ ΥϨοτͷछྨ W A L L E
T T Y P E ӡӦऀ͕伴Λཧ αʔόܕ ΫϥΠΞϯτܕ
©2018 Ginco, Inc. ΥϨοτͷछྨ αʔόʔܕΥϨοτ 5 ΫϥΠΞϯτܕΥϨοτ ൿີ伴ΛͰཧ 5 αʔόʔܕΥϨοτ
ൿີ伴ΛαʔϏεఏڙऀͷαʔόʔ্Ͱཧ W A L L E T T Y P E
©2018 Ginco, Inc. ͦΕͧΕͷಛ
©2018 Ginco, Inc. αʔόܕ S E R V E R
T Y P E 5 5 5 5 ΦϑνΣʔϯͱΦϯνΣʔϯͷߦ͖དྷָ͕ ͔ͳΓॊೈʹαʔϏεΛ࡞ΕΔ Ϣʔβ伴ͷཧ͕͍Βͳ͍ͷͰ҆৺ ཧऀ伴ͷཧ͕େม
©2018 Ginco, Inc. ΫϥΠΞϯτܕ C L I E N T
T Y P E 5 5 5 5 Ϣʔβ͕શͯͷݖݶΛ࣋ͯΔ ϒϩοΫνΣʔϯͷྑ͞Λ׆͔ͤΔ ϒϩοΫνΣʔϯͷ༷ʹറΒΕΔ ϢʔβͷϦςϥγʔ͕ࢼ͞ΕΔ
©2018 Ginco, Inc. ͲͬͪΛબྑ͍͔
©2018 Ginco, Inc. ࣮ݱ͍ͨ͜͠ͱʹΑΔ
©2018 Ginco, Inc. ૬ஊ͠ʹདྷ͍ͯͩ͘͞
©2018 Ginco, Inc. ΥϨοτͷجຊػೳ
©2018 Ginco, Inc. ΥϨοτͷجຊػೳ B A S I C F
U N C T I O N S 5 ߴͷදࣔ ૹۚ 5 ड͚औΓ
©2018 Ginco, Inc. ΥϨοτ։ൃͰ େͳ͜ͱ P A R T 2
©2018 Ginco, Inc. Ͳ͏͍͏ػೳΛ࣮͢Δ͔
©2018 Ginco, Inc. ΥϨοτͷ༻్
©2018 Ginco, Inc. 5 5 5 Ծ௨՟ཧ %BQQTϒϥβ ։ൃऀ͚ ΥϨοτͷ༻్
P U R P O S E O F W A L L E T 5 ൚༻ .JTU
©2018 Ginco, Inc. ༻్ผͷػೳ
©2018 Ginco, Inc. Ծ௨՟ཧʹඞཁͳػೳ N E C E S S
A R Y F U N C T I O N S 5 ΞΧϯτ 伴 ͷཧ 5 ཤྺͷදࣔ
©2018 Ginco, Inc. %BQQTϒϥβʹඞཁͳػೳ N E C E S S
A R Y F U N C T I O N S 5 ίϯτϥΫτͷ࣮ߦ 5 Ξηοτͷදࣔ
©2018 Ginco, Inc. %BQQTϒϥβʹඞཁͳػೳ N E C E S S
A R Y F U N C T I O N S 5 τϥϯβΫγϣϯͷৄࡉදࣔ 5 ωοτϫʔΫΓସ͑
©2018 Ginco, Inc. తʹ߹ΘͤͨػೳΛ ࣮͕ඞཁ
©2018 Ginco, Inc. ΤϯυϢʔβ͚ Ͱ͖Δ͜ͱ͕গͳ͍΄͏͕ 6*ɾ69తʹྑ͍
©2018 Ginco, Inc. ։ൃऀ͚ Ͱ͖Δ͜ͱ͕ଟ͍ํ͕ ·ΕΔ
©2018 Ginco, Inc. %BQQT͚
©2018 Ginco, Inc. Ͳ͜·ͰରԠͨ͠Βྑ͍͔ Θ͔Βͳ͍
©2018 Ginco, Inc. %BQQTϢʔβͷ෯ͷ͞ D A P P S U
S E R 5 ੲ͔Β*$0ࢀՃͯ͠·͢ 5 ࠷ۙ#JUDPJOങ͍·ͨ͠
©2018 Ginco, Inc. શһ͕ೲಘ͢Δ ΥϨοτΛ࡞Δͷ͍͠
©2018 Ginco, Inc. ͳͷͰ
©2018 Ginco, Inc. ΥϨοτ։ൃऀ ࢥΛڧ࣋ͪ͘·͠ΐ͏
©2018 Ginco, Inc. ࣗͷࢥͷൣғͰ ϢʔβͷرΛ࠷େԽ
©2018 Ginco, Inc. ΥϨοτ։ൃͰ ؾ͍ͮͨͱ͜Ζ P A R T 3
©2018 Ginco, Inc. &UIFSFVNͷଓ
©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
©2018 Ginco, Inc. ࣗͷϊʔυ O W N N O D
E S 5 1SPT ͖ͳΑ͏ʹઃఆͰ͖Δ ϦΫΤετ੍ݶ͕ͳ͍ 5 $POT ಉظ͕ඞཁ ϥϯχϯάίετ͕ߴ͍
©2018 Ginco, Inc. ϓϩόΠμαʔϏε P R O V I D
E R S E R V I C E S 5 1SPT खܰʹ͑Δ ίετ͕͍ 5 $POT ࡉ͔͍ઃఆͰ͖ͳ͍ ṖͷΤϥʔ͕͋Δ
©2018 Ginco, Inc. ύϒϦοΫ"1* P U B L I C
A P I 5 1SPT +40/31$͡Όͳ͍ (FUIʹແ͍"1*͋Δ 5 $POT ϦΫΤετ੍ݶ͕͖͍ͭ جຊతͳ"1*͔͠ͳ͍
©2018 Ginco, Inc. ࡞Γ͍ͨΥϨοτʹ ߹Θͤͯબ
©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ
©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G
A S L I M I T 5 ΤϯδχΞͰ࠷ॳཧղ͕͍͠ 5 ΤϯυϢʔβશ͘Βͳͯ͘ྑ͍
©2018 Ginco, Inc. ͱΓ͋͑ͣదʹ େ͖͍ΛೖΕΔͱྑ͛͞
©2018 Ginco, Inc. ͳΜͯ͜ͱ ͍͚ͯ͠·ͤΜ
©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G
A S L I M I T 5 Ϣʔβͷࢿ࢈ΛकΔͨΊదͳʹ͢Δ 5 #MPDL(BT-JNJUҎԼʹͳΔΑ͏ʹ͢Δ
©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G
A S L I M I T 5 &UIFSͷૹۚΛ͏
©2018 Ginco, Inc. (BT-JNJUʹ͍ͭͯ A B O U T G
A S L I M I T 5 ίϯτϥΫτͷ࣮ߦFTUJNBUF(BT Λ͏ 5 ͋Δఔ͔Δ߹ݻఆͰՄ
©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 ίϯτϥΫτʹΑͬͯڊେͳͱͳΔՄೳੑ
©2018 Ginco, Inc. Ϣʔβ͕ҙਤͤͣ &UIFSΛࣦ͏͔
©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ
©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G
A S P R I C E 5 खྉΛܾΊΔͨΊͷ 5 ଟ͚Εଟ͍΄Ͳૣ͘ঝೝ͞ΕΔ
©2018 Ginco, Inc. ͱΓ͋͑ͣదʹ େ͖͍ΛೖΕΔͱྑ͛͞
©2018 Ginco, Inc. ͳΜͯ͜ͱ ͍͚ͯ͠·ͤΜ
©2018 Ginco, Inc. (BT1SJDFʹ͍ͭͯ A B O U T G
A S P R I C E 5 ϢʔβʹܾΊͯΒ͏ 5 (BT1SJDF ͷΛ͏
©2018 Ginco, Inc. &5)(BT4UBUJPO E T H G A S
S T A T I O N
©2018 Ginco, Inc. (BT1SJDFͷ࠷ L O W E S T
G A S P R I C E
©2018 Ginco, Inc. /PODFʹ͍ͭͯ
©2018 Ginco, Inc. /PODFʹ͍ͭͯ A B O U T N
O N C E 5 59ͷॲཧॱΛܾΊΔͷ 5 ͔Β࿈ଓ͍ͯ͠ͳ͍59ॲཧ͞Εͳ͍
©2018 Ginco, Inc. దͳ/(
©2018 Ginco, Inc. 5 ૹͬͨ59ΛΧϯτ͓ͯ͘͠ (FU5SBOTBDUJPO$PVOU Λ͏ 5 &UIFSTDBOͷཤྺ͔ΒΧϯτ͢Δ /PODFʹ͍ͭͯ
A B O U T N O N C E
©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ͷਖ਼֬Ͱͳ͍
©2018 Ginco, Inc. UFTUOFUͰಈ͍ͯ NBJOOFUͰಈ͔ͳ͍͔
©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ
©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V
A L I D A T I O N
©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V
A L I D A T I O N 5 खྉº(BT1SJDF 5 ૹۚՄೳֹߴखྉ
©2018 Ginco, Inc. &3$ͷ߹
©2018 Ginco, Inc. ೖྗόϦσʔγϣϯ I N P U T V
A L I D A T I O N 5 खྉ༻(BTº(BT1SJDF 5 ૹۚՄೳֹߴ
©2018 Ginco, Inc. શֹೖྗ
©2018 Ginco, Inc. શֹೖྗ A L L B A L
A N C E I N P U T
©2018 Ginco, Inc. 5 ૹۚՄೳֹΛͦͷ··ೖྗ શֹೖྗ A L L B
A L A N C E I N P U T
©2018 Ginco, Inc. τϥϯβΫγϣϯཤྺ
©2018 Ginco, Inc. ͳ͍͍͚ͯ͘Ͳ ͋ͬͨΒ͘͢͝ศར
©2018 Ginco, Inc. ཤྺʹ͍ͭͯ A B O U T H
I S T O R Y 5 ૹͬͨ59ΛΩϟογϡ͓ͯ͘͠ 5 &UIFSTDBO͔ΒཤྺΛऔಘ͢Δ
©2018 Ginco, Inc. 59ͷ4UBUFΛ ߋ৽͍ͯ͘͠ͷ͕େม
©2018 Ginco, Inc. 8FCϥΠϒϥϦΛͬͯ XFCTPDLFUͰऔಘՄೳ
©2018 Ginco, Inc. %SPQ3FQMBDF
©2018 Ginco, Inc. %SPQ3FQMBDF D R O P / R
E P L A C E 5 %SPQૹͬͨ59͕ԿΒ͔ͷཧ༝Ͱফ͑Δ 5 3FQMBDFૹͬͨ59ͷ্ॻ͖
©2018 Ginco, Inc. %SPQͷରԠ D R O P S U
P P O R T 5 1FOEJOH5Y)BTIΛΩϟογϡ 5 ͕࣌ؒܦͬͨ͋ͱ֬ೝͰ͖ͳ͚Ε%SPQ
©2018 Ginco, Inc. %SPQͷରԠ D R O P S U
P P O R T 58BMMFU 5 HFUI 1FOEJOH5Y)BTI (FU5SBOTBDUJPO ֬ೝͰ͖ͳ͘ͳͬͨΒ%SPQ
©2018 Ginco, Inc. 3FQMBDFͷରԠ R E P L A C
E S U P P O R T 5 59ΛΩϟογϡ 5 /PODF͕ಉ͡59ͳΒ3FQMBDF
©2018 Ginco, Inc. %&9ͷ࣮ P A R T 3
©2018 Ginco, Inc. DEX ΥϨοτͰ྆ସ͕Մೳʹ
©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$
©2018 Ginco, Inc. ©2018 Ginco, Inc.
©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
©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
©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
©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
©2018 Ginco, Inc. ৄ͘͠ ݄ ͷΠϕϯτͰ
©2018 Ginco, Inc. ͔͜͜Βࠂ
©2018 Ginco, Inc. Ginco Tech Blog UFDIHJODPJP
©2018 Ginco, Inc. )BSEXBSF8BMMFU
©2018 Ginco, Inc. (JODPͰಇ͍ͯ͘ΕΔؒืूதʂ R E C R U I
T M E N T 8BOUFEMZ͔'BDFCPPL͔5XJUUFSͰ·ͣؾܰʹ࿈བྷ ࠾༻৬ Ԡืํ๏ J04 "OESPJE αʔόαΠυ Πϯϑϥ 2" 6* 69 ϏδϡΞϧ άϥϑΟοΫ ࠃւ֎ϚʔέςΟϯά Ϧαʔνϟʔ ਓࣄ όοΫΦϑΟε ΤϯδχΞ σβΠφʔ Ϗδωε
©2018 Ginco, Inc. ࣭͕͋Ε ؾܰʹ ͔͚͍ͯͩ͘͠͞