概要
Bitcoin Core でお手軽にTestnetに繋げる方法
手順
- Bitcoin Coreをダウンロード
- Bitcoin Coreを起動
- すぐに止める
- bitcoin.confを編集する
- Bitcoin Coreを起動
1. Bitcoin Coreをダウンロード
こちらからダウンロード
2. Bitcoin Coreを起動

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を起動
Happy Hacking
!
参考
Bitcoin Core Download : https://bitcoin.org/ja/download