Skip to content

Instantly share code, notes, and snippets.

@farukterzioglu
Forked from patterns/btcgui-notes.txt
Created March 19, 2019 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farukterzioglu/4511a73d417ab789e0ac12807de84727 to your computer and use it in GitHub Desktop.
Save farukterzioglu/4511a73d417ab789e0ac12807de84727 to your computer and use it in GitHub Desktop.
Documentation from BtcGui on starting up, and the related cert files.
Linux/BSD/POSIX/Source
Run the following command to start btcd:
$ btcd --testnet -u rpcuser -P rpcpass
Copy btcd's autogenerated rpc.cert to ~/.btcwallet/ so btcwallet can securely communicate with btcd over a TLS-encrypted websocket. This step is only necessary for the first time starting btcwallet or if
btcd's autogenerated cert and key are removed and regenerated.
$ mkdir ~/.btcwallet/
$ cp ~/.btcd/rpc.cert ~/.btcwallet/btcd.cert
Run the following command to start btcwallet:
$ btcwallet -u rpcuser -P rpcpass
Copy btcwallet's autogenerated rpc.cert to ~/.btcgui/ so btcgui can securely communicate with btcwallet over a TLS-encrypted websocket. This step is only necessary for the first time starting btcgui or if btcwallet's autogenerated cert and key are removed and regenerated.
$ mkdir ~/.btcgui/
$ cp ~/.btcwallet/rpc.cert ~/.btcgui/btcwallet.cert
Run the following command to start btcgui:
$ btcgui -u rpcuser -P rpcpass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment