Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
BlockChain_DevEnv_LT
Search
hikoharu06
May 02, 2018
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
BlockChain_DevEnv_LT
ブロックチェーンの開発環境周りについてのLT
hikoharu06
May 02, 2018
Transcript
8 slides
Blockchainをframeworkなし で実装したら、やってられなかっ たので開発環境について調べ てみた話 田野晴彦
私とブロックチェーン slack:tanokin 2017.1 正月で暇&kindle unlimited契約したので、ブロックチェー ンの原理解説的な本を読み漁る 2017.5 ビットコインの価格が高騰して何やら仮想通貨がアツいとい うのを知る(ソースはイケダハヤトのブログ) 2017.7 しばらくトレードしてみるが、色々な通貨の特徴とか覚える のが面倒臭くなって、アービトラージ始める 2018.2 アービトラージ熱が冷め始める。結構
Dapps(ダップス)とか の開発も話題になってきて、情報も増えてきたので勉強し始める
まずframeworkなしで実装 - トランザクションが溜まっていく - ある程度の感覚でブロックにまとまる - マイニングによりブロックがチェーンに追加される 概念はわかるんだけど、実際にソース書いたらどうなるの?下記を参考にやってみた https://qiita.com/hidehiro98/items/841ece65d896aeaa8a2a?utm_source=Qiita%E3%83%8B %E3%83%A5%E3%83%BC%E3%82%B9&utm_campaign=68f4ff2c4a-Qiita_newsletter_295_01
_24_2018&utm_medium=email&utm_term=0_e44feaa081-68f4ff2c4a-33816713
デモ https://github.com/hikoharu06/python-blockchain
学んだこと、深掘りしたいこと - マイニング結果を全ノードにブロードキャストするロジックはどうやってる? - 改ざん対策、コンセンサスアルゴリズムどうやってる? - これまでのサーバークライアントモデル、 bat処理とも概念から違うので頭ではわかっていても ソースで理解するのに1つ壁がある -
開発環境、フレームワーク必須
フレームワーク、ツール達の紹介 - Solidity(ソリ二ティ):ETHプラットフォーム上での開発言語。 Ruby - Truffle(トリュフ):ETHプラットフォーム上でのフレームワーク。 Rails - Ganache(ガナッシュ):ノード、マイニングを動かせる環境がすぐ作れる便利なやつ -
MetaMask:ChromeエクステンションのETHウォレット。実際のETH管理にも使えるが、 network選択機能が便利で開発時にも有用 Solidity+Truffleでベースは開発しつつ、ネットワークだけ Ganacheを使うのが現状最も開発しやすそ う。動作確認はMetaMaskを使う。アプリケーションプラットフォーム型仮想通貨は ETH以外にも Neo,Liskとか色々あるが、今はETH以外の開発はハードル高いと思う。
Dapps(ダップス)何か作ってみたい - 開発するアプリケーションにブロックチェーンを使う必要性あるのか突き詰めて考えると結構難 しい - 今思っている小規模開発でブロックチェーンを使う意味は、少額で気軽に決済できそうという点 - 課金ゲームとかは確かに相性いい。他にも polcaみたいなクラウドファウンディング、あとは SNS
とかでいいねする感覚で投げ銭できるサービスとか
Enjoy blockchain!!
More Decks by hikoharu06
See All by hikoharu06
LINE API * toB SaaSスタートアップの創業からの軌跡
hikoharu06
0
320
アジャイルでイケてるチーム入門
hikoharu06
0
370
Other Decks in Programming
See All in Programming
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
210
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
350
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
140
AI Augmentation Techniques with Liberty
ivargrimstad
1
500
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.3k
Crash Auto Pipelines
veronikapj
1
420
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
340
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
210
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
840
Between Models and Reality
mayunak
4
580
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Thoughts on Productivity
jonyablonski
76
5.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
490
Code Reviewing Like a Champion
maltzj
529
40k
A better future with KSS
kneath
240
18k
Designing for Timeless Needs
cassininazir
1
560
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350