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
Deep dive into the select statement (GopherCon UK)
jespino
0
170
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
660
リアルな遅延を測る仕様
kota_yata
1
140
Flow は今どうなっているか
mizdra
PRO
0
890
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
620
My Marp Sample
sinoue0108
0
140
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
300
不幸な GC
chencmd
0
870
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
430
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
180
自分的「カンファレンスの楽しみ方」
syumai
0
180
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
660
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Marketing to machines
jonoalderson
1
5.7k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
360
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
510
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
840
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
800
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
Claude Code のすすめ
schroneko
67
230k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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