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
Bitcoin開発はじめの第一歩
Search
Shu Kobuchi
February 25, 2017
Programming
0
110
Bitcoin開発はじめの第一歩
Bitcoin Core(bitcoind)のインストールに役立つ仮想環境構築の情報や、日本語書籍の紹介もしています。
Shu Kobuchi
February 25, 2017
Tweet
Share
More Decks by Shu Kobuchi
See All by Shu Kobuchi
AIエージェント元年@日本生成AIユーザ会
shukob
1
260
AI時代におけるMLOpsのTips
shukob
2
98
AIエージェント元年
shukob
0
170
論文紹介 ”Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG” @GDG Tokyo
shukob
0
490
論文紹介 ”Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG”
shukob
0
100
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
730
生成AI入門
shukob
0
320
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
660
生成AIアプリケーションにおけるRAGとデータベースの役割
shukob
0
1.3k
Other Decks in Programming
See All in Programming
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
180
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
9
1.5k
AWS Step Functions は CDK で書こう!
konokenj
5
870
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
320
Webフレームワークとともに利用するWeb components / JSConf.jp おかわり
spring_raining
1
130
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
410
ABEMA iOS 大規模プロジェクトにおける段階的な技術刷新 / ABEMA iOS Technology Upgrade
akkyie
1
250
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.1k
color-scheme: light dark; を完全に理解する
uhyo
7
510
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.8k
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
160
The Clean ArchitectureがWebフロントエンドでしっくりこないのは何故か / Why The Clean Architecture does not fit with Web Frontend
twada
PRO
56
17k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
A designer walks into a library…
pauljervisheath
205
24k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
260
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
How to Think Like a Performance Engineer
csswizardry
22
1.4k
Transcript
Bitcoin開発はじめの第一歩 2017年2月25日(土) 東海ブロックチェーン勉強会 小渕 周(Shu Kobuchi) TW: @shu_kob FB:shu.kobuchi
自己紹介 • 小渕 周(こぶち しゅう) • 株式会社キューブシステム 西日本システム本部(大阪) • システムエンジニア
• 前職のWebベンチャーにて少しBitcoinウォレット開発 • 4月からキューブシステム 東京本社 技術戦略室 • ブロックチェーンを中心に先端技術の研究と戦略立案 • ブロックチェーンハブ2月27日開発者コミュニティ会合 参加予定
会社紹介 • 株式会社キューブシステム • 売上の4割は金融システム • 本社:東京大崎、事業所:大阪堺筋本町 • グループ会社:北海道札幌、ベトナム、上海 •
ブロックチェーンハブ(BcH) コーポレート会員 • ブロックチェーン推進協会(BCCC) 普及委員会
Blockchain何から学ぶ? • Bitcoin, Ethereum, Hyper Ledger, NEM, mijin, etc... •
Blockchain元祖はBitcoin • まだ課題はあるが実用化されているのはBitcoin • 情報量が多いのはBitcoin(次はEthereum) • Bitcoinを通してBlockchainを学ぼう!
Bitcoin開発 • Bitcoinに限らず、Blockchain Core開発は激難 • Coreをインストールして、APIを触るだけならWeb開発 • Mastering Bitcoin(米オライリー社) •
http://chimera.labs.oreilly.com/books/1234000001802/in dex.html • HTML版は無料 • 公式Bitcoin Core(bitcoind)の取扱説明書 • bitcoindはC++ • Blockchainは高速化のためにほとんどC++
日本語の情報 • ビットコインとブロックチェーン(NTT出版) • Mastering Bitcoinの邦訳 • ブロックチェーン 仕組みと理論(リックテレコ ム)
NTTデータのエンジニアが著
環境構築 〜Macの場合〜 • Oracle Virtual Box • Vagrant • Ubuntu
をインストールして仮想マシン構築 • Ubuntuにbitcoindをインストール
Virtual Box • Oracle Virtual Box • https://www.virtualbox.org/
Vagrant • HashiCorp • https://www.vagrantup.com/
Ubuntu • bentoでUbuntu16.04をセットアップ • https://yoshinorin.net/2016/06/14/vagrant-ubun tu1604/ • $ vagrant init
bento/ubuntu-16.04 ♪ これくらいのお弁当箱に ♪ Ubuntu, bitcoindちょっと詰めて
環境構築 〜Windowsの場合〜 • VirtualBox/Ubuntuスタートアップガイド • Kindle Unlimited • Vagrantを入れるならMSYS
bitcoindをインストール • インストールは「ブロックチェーン仕組みと理 論」を見ながら • bento/ubuntu-16.04なら綺麗に入った • CentOSだと苦労(Ubuntu推奨) • Mastering
Bitcoinでのインストールは鬼門
testnet起動 • 開発者のためと実験の場としてtestnetあり • $ bitcoind -testnet -txindex • -txindexは全取引履歴取得のオプション
• ないとブロック+自ノードのみの取引履歴 • -reindexでインデックスモード切替(やり直し) • $ bitcoind -testnet -reindex -txindex • ローカル用のregtestもある(「ブロックチェー ン仕組みと理論」参照)
bitcoin-cliの扱い方 • 詳細はMastering Bitcoinで • 起動はbitcoind、クライアント操作はbitcoin-cli • $ bitcoin-cli getinfo
• $ bitcoin-cli -testnet getinfo • JSON-RPCでWebアプリ開発
Ethereumの書籍も続々 • スマートコントラクト本格入門(技術評論社) 発売中(書店ではビジネス書分類) • 2017年7月に米オライリーから ”Mastering Ethereum” Mastering Bitcoinと同じ
く、アンドレアス著