Skip to content

Instantly share code, notes, and snippets.

@patterns
Created February 5, 2017 10:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save patterns/e901dfcd2f3b3e2f37da121bb0c79c17 to your computer and use it in GitHub Desktop.
Save patterns/e901dfcd2f3b3e2f37da121bb0c79c17 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