Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.12 KB

testnet.md

File metadata and controls

31 lines (23 loc) · 1.12 KB

Connecting to testnet

First, follow the build instructions in README

Then, to run anond and connect to testnet

Linux

mkdir ~/.anon
touch ~/.anon/anon.conf
./src/anond -testnet -gen

Windows

Click on Start/Windows Logo and type cmd once there type start %AppData%\. It will open the explorer in that directory. Create a new folder called "Anon" and a text file. Open the text file and save as as anon.conf (be sure you remove the txt extension) in the directory. An empty file is sufficient

Create a Batch file in the ANON directory called "start-wallet.bat" with the following:

echo "Starting the ANON Wallet"
powershell -Command ".anond.exe" -testnet -gen
@pause

Run start-wallet.bat and the blockchain will begin to be synced. After it is synced it will begin mining blocks. If you don't wish to mine remov the -gen option from the batch file. Now that you have your node up you can use anon-cli.exe in cmd to make RPC calls to your node (i.e anon-cli.exe -testnet getinfo).

Other Testnet Info

p2p port: 33127 rpc port: 3127