LoginSignup
2
0

More than 3 years have passed since last update.

Bitcoin CoreでTestnetに接続する

Posted at

概要

Bitcoin Core でお手軽にTestnetに繋げる方法

手順

  1. Bitcoin Coreをダウンロード
  2. Bitcoin Coreを起動
  3. すぐに止める
  4. bitcoin.confを編集する
  5. Bitcoin Coreを起動

1. Bitcoin Coreをダウンロード

こちらからダウンロード
スクリーンショット 2019-07-30 12.58.34.png

2. Bitcoin Coreを起動

スクリーンショット 2019-07-30 13.03.55.png

3. すぐに止める

すぐに停止する

4. bitcoin.confを編集する

下記の場所にbitcoin.confが作成されているので下記のように編集する

  • MacOS X : ~/Library/Application Support/Bitcoin/
  • Linux : ~/.bitcoin/
  • Windows : C:\Users\Username\Appdata\Roaming\Bitcoin
bitcoin.conf
#testnet(3代目)を使う
testnet=3

#トランザクションIDを参照可能にする
txindex=1

#JSON RPCサーバーとして起動する
server=1

#RESTインターフェイスを有効にする
rest=1

#JSON RPCのためのユーザ名とパスワード
rpcuser=name
rpcpassword=pass

#JSON RPCのポート番号
rpcport=18332

5. Bitcoin Coreを起動

緑色になってtestnetと書かれていればOK!
スクリーンショット 2019-07-30 13.04.42.png

Happy Hacking :sunglasses: !

参考

Bitcoin Core Download : https://bitcoin.org/ja/download

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0