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
暗号通貨とか勉強会#4
Search
S.Kamon
January 10, 2017
Programming
6.4k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
暗号通貨とか勉強会#4
コマンドラインで色んな通貨を送金してみよう
http://cameong.hatenablog.com/entry/2017/01/11/161825
S.Kamon
January 10, 2017
Other Decks in Programming
See All in Programming
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
120
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
1
460
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.7k
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
140
Deep dive into the select statement (GopherCon UK)
jespino
0
170
[DroidKaigi 26] How We Moved from Android Studio to Slack
thisaay
0
190
Oxlintはいいぞ(続)
yug1224
1
540
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
810
業務時間外もAIに働いてもらう話
colorful12
3
9.9k
初めての模倣学習とVLA
natsutan
0
450
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
200
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
330
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
230
The Limits of Empathy - UXLibs8
cassininazir
1
630
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Ethics towards AI in product and experience design
skipperchong
2
360
The World Runs on Bad Software
bkeepers
PRO
72
12k
Being A Developer After 40
akosma
91
590k
The Curious Case for Waylosing
cassininazir
1
490
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
Typedesign – Prime Four
hannesfritz
42
3.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
Transcript
ϏοτίΠϯͱ͔ษڧձ • ίϚϯυϥΠϯͰ৭Μͳ҉߸௨՟Λૹۚͯ͠ΈΑ͏ 1 @cameong
࣍ • ࣗݾհ • ֤௨՟ͷಛΛ؆୯ʹઆ໌ • Bitcoin : SPV node
• NEM : Full node • Zcash : Full node • ίϚϯυϥΠϯͰ৭Μͳ҉߸௨՟Λૹۚͯ͠ΈΑ͏ 2 @cameong
ࣗݾհ גࣜձࣾΠʔαηΩϡϦςΟ දऔక Ճতฏ TW: @cameong - ηΩϡϦςΟϞχλϦϯάπʔϧ metsuke.io ͷ։ൃӡ༻
- NEM εʔύʔϊʔυͷߏங ( ࠃγΣΞ20%, ੈքγΣΞ5%) - bitdonation.org ͷӡ༻ - coincheck api ͷpython ύοέʔδͱ͔ॻ͍ͯ·͢ 3 @cameong
༻ޠ • $abc : ม abc • Full node: ϑϧϊʔυ.
શτϥϯβΫγϣϯΛอ༗͢Δϊʔυ. • SPV node : ͍ΘΏΔϥΠτΥϨοτ. τϥϯβΫγϣϯΛࣗ Ͱอ༗ͤͣ, ૹۚʹಛԽͨ͠ϊʔυ ҙࣄ߲ • ݁ߏ, python ʹภͬͯ·͢ 4 @cameong
֤௨՟ͷಛ 5 @cameong
Bitcoin • ಛ • PoW ( SHA-256 ) • ϒϩοΫੜ࣌ؒ:
10 • ୯ҐʮBTCʯ • ࠷খ୯Ґ10E-8 BTC 1 1 https:/ /upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bitcoin.svg/240px- Bitcoin.svg.png 6 @cameong
NEM • ಛ • PoI ( EigenTrust++ ) • ϒϩοΫੜ࣌ؒ:
1 • ୯ҐʮXEMʯ • Bitcoin2.0 (Ϣʔβʔಠࣗ௨՟ൃߦ(Namespace/ Mosaic)/ ϝοηʔδૹ৴) 7 @cameong
Zcash • ಛ - PoW (Equihash) (ৄ͘͠ʲ҉߸௨՟ ಡॻձ#4ʳશಗ໊ίΠϯZcashͰ࠾ ༻͞ΕͨPoWΞϧΰϦζϜ ʮEquihashʯΛࢀর͍ͩ͘͞
2) - ϒϩοΫੜ࣌ؒ: 150ඵ - ࠾۷: ϚΠχϯά - ୯ҐʮZECʯ - ಗ໊ੑ͕ߴ͍ɻθϩࣝূ໌ɻ 2 https:/ /cryptocurrency.connpass.com/event/43804/ [^3]:https:/ /z.cash/press.html 8 @cameong
ૹۚͯ͠ΈΑ͏ 9 @cameong
Bitcoin 10 @cameong
Bitcoin Λૹۚ from : 18ef4syYvGd2K7MeYvbJ7LZ4x3kk5x4ufb to : 15MMEVF6DM6RDdyaYeybEb9iKcv7uJwb36 volume: 10000
satoshi ΤΫεϓϩʔϥ: https:/ /goo.gl/H2uFDb tool: pybitcointools5 ΤΫεϓϩʔϥ͕ݟΕͨΒɺdemoʹҠΓ·͢ 5 https:/ /github.com/vbuterin/pybitcointools 11 @cameong
Demo # ૹ৴༻ # ൿີ伴(priv)͔ΒbitcoinΞυϨε(addr),औҾཤྺ(h)Λੜ : # ड৴༻ # ൿີ伴(priv)͔ΒbitcoinΞυϨε(addr)Λੜ
: # output ࡞. # ૬ख(addr2)ʹ10000, ࣗࣗʹ39000 ΛૹΔ. Γ͓Γ : # ॺ໊͢Δutxo ͷநग़ : # sign : # broadcast tx : 12 @cameong
Bitcoin ؔ࿈πʔϧ - ΤΫεϓϩʔϥ - http://blockr.io/ - https://live.blockcypher.com/ - https://www.blocktrail.com/BTC
- τϥϯβΫγϣϯΛdecode ͯ͠Τϥʔղੳ - https://blockchain.info/decode-tx (invalid ͩͱղੳ݁ՌΛฦ͞ͳ͍) - https://developer.indiesquare.me (invalid Ͱ݁ՌΛฦ͢) 13 @cameong
Bitcoin ύοέʔδ, Ϟδϡʔϧ • python • https:/ /github.com/petertodd/python-bitcoinlib • https:/
/github.com/richardkiss/pycoin • https:/ /github.com/jgarzik/python-bitcoinrpc • node • https:/ /bitcoinjs.org/ 14 @cameong
NEM 15 @cameong
XEM Λૹۚ from : NB6X72-TE773V-QBAFL4-64VIJQ-EUWUIC-UMGYJS-GCRL to : NCSR2E-CT3GVG-RVGKNP-OQJVD2-HMVOJM-ZB7RXX-VMUC volume: 100
xem ΤΫεϓϩʔϥ: https:/ /goo.gl/kEl6yP tool: nem-py • ެࣜπʔϧ͕ͩɺςετ༻ͱͷ͜ͱ • ΤΫεϓϩʔϥ͕ݟΕͨΒɺdemoʹҠΓ·͢ 16 @cameong
# πʔϧͷΠϯετʔϧ > pip install nem-py # NCSR2E~~ ʹ 0.01
xem ૹۚ͢Δ # ૹۚͷͨΊͷσʔλ࡞ # - NEM epoch time # - खྉ # - ϝοηʔδ(͠ඞཁͳΒ) # - σουϥΠϯ : # ॺ໊ : # ϒϩʔυΩϟετ : 17 @cameong
NEM ؔ࿈πʔϧ • ΤΫεϓϩʔϥ • http:/ /chain.nem.ninja/ • nano wallet
• https:/ /github.com/NemProject/NanoWallet 18 @cameong
NEM ύοέʔδ, Ϟδϡʔϧ • python • https:/ /github.com/NemProject/nem-py ( ෆे)
• node • https:/ /www.npmjs.com/package/nem-api (ෆे) ࢿྉ • http:/ /qiita.com/him0net/items/9052b59db7c16c3c5540 19 @cameong
Zcash 20 @cameong
Zcash Λૹۚ // zΞυϨεͷੜ zcash-cli z_getnewaddress // อ༗͍ͯ͠ΔzΞυϨεͷҰཡ֬ೝ zcash-cli z_listaddresses
// zcash-cli z_listreceivedbyaddress "$address" 21 @cameong
Zcash ͷૹۚ • Poloniex ͔ΒtΞυϨεʹૹۚͨ͠Βɺself goxͨ͠(ͬΆ͍). • υΩϡϝϯτʹzΞυϨεͷૹडۚʹ͍ͭͯͷهࡌ͋Δ͕ɺ tΞυϨε΄ͱΜͲͳ͍. •
tΞυϨεbitcoinͱಉ͡Α͏ʹૢ࡞Ͱ͖Δɺͱͷهड़͕͋Δ ͷͰ bitcoinྗΛ্͔͛ͯΒ࠶νϟϨϯδ͍ͨ͠. 22 @cameong
Zcash ؔ࿈πʔϧ • ΤΫεϓϩʔϥ • https:/ /explorer.zcha.in/ 23 @cameong
Zcash ύοέʔδ, Ϟδϡʔϧ • python • Έ͋ͨΒͳ͍ 24 @cameong
·ͱΊ - Bitcoin - ௐΕใ͕ΘΜ͔͞ग़ͯ͘Δ. SPV ͷใ๛. - ֤ݴޠͷϞδϡʔϧ, ύοέʔδ͕๛ʹ͋Δ.
- NEM ެࣜͷπʔϧҎ֎ɺใ͕ݹ͍. - ֤ݴޠͷϞδϡʔϧ, ύοέʔδ͕ຆͲͳ͍. - Zcash - ͳΜͰ͍͍͔ΒɺใΛ͍ͩ͘͞. 25 @cameong
·ͱΊ2 • શ෦ • ։ൃऀɾ༁ऀͳͲίϯτϦϏϡʔλ͕Γ͍ͯͳ͍ݱঢ়. • ͱ͍͑ɺίΞ։ൃϋʔυϧߴ͍... • पล͖ͳݴޠͷϞδϡʔϧ,ύοέʔδ࡞͔ΒͰɺͳʹ ͔࡞ͬͯΈΑ͏!
26 @cameong
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ 27 @cameong