2018-02-23 19:36:14 -08:00
Connecting to testnet
2018-02-23 19:34:15 -08:00
==========================================================
2018-02-24 07:19:23 -08:00
First, follow the build instructions in [README ](README.md )
To run btcpd and connect to testnet
2018-02-23 20:36:44 -08:00
2018-02-24 07:19:23 -08:00
#### Linux
mkdir ~/.btcprivate
touch ~/.btcprivate/btcprivate.conf
./src/btcpd -testnet -gen
2018-02-23 19:34:15 -08:00
2018-02-23 20:36:44 -08:00
#### Windows
2018-02-24 07:19:23 -08:00
Click on Start/Windows Logo and type `cmd` once there type `%AppData%\BitcoinPrivate` . It will open the explorer in that directory.Create a new text file and name it as `btcprivate.conf` (be sure you remove the txt extension) in the directory. An empty file is sufficient
Execute the btcd binary
2018-02-23 20:36:44 -08:00
2018-02-24 07:19:23 -08:00
Once you run the daemon, it will first sync the chain. After it is synced it will begin mining blocks.
2018-02-23 20:36:44 -08:00
Now that you have your node up you can use `btcp-cli` to make RPC calls to your node (i.e `btcp-cli getinfo` ).