BitcoinPrivate-legacy/doc/testnet.md

20 lines
877 B
Markdown
Raw Normal View History

2018-02-23 19:36:14 -08:00
Connecting to testnet
2018-02-23 19:34:15 -08:00
==========================================================
2018-02-24 07:24:31 -08:00
First, follow the build instructions in [README](/README.md)
2018-02-24 07:19:23 -08:00
To run btcpd and connect to testnet
2018-02-24 07:19:23 -08:00
#### Linux
2018-02-24 07:24:31 -08:00
```
2018-02-24 07:19:23 -08:00
mkdir ~/.btcprivate
touch ~/.btcprivate/btcprivate.conf
./src/btcpd -testnet -gen
2018-02-24 07:24:31 -08:00
```
2018-02-23 19:34:15 -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-24 07:20:12 -08:00
Once you run the daemon, it will first sync the chain. After it is synced it will begin mining blocks. If you don't wish to mine remov the -gen option from the command line.
Now that you have your node up you can use `btcp-cli` to make RPC calls to your node (i.e `btcp-cli getinfo`).