RC1 Testnet - Build from Source Windows (Intermediate Level)

In order to increase security and stability of the Main Chain, rigorous RC1 load testing must be conducted. To achieve this, we need to simulate a load on the network. This load is important, as it will expose any instabilities or flaws in the system, so they can be reviewed and updated.


The following is a detailed explanation on how to participate using a Windows system — provided by the Hybrid Network team. There are 3 parts. The first is how to create a node on the testnet itself, the second is how to participate in staking and mining, and lastly is a set of important links to report any bugs which are found.


Please note that these instructions require the use of command lines, which requires some skill.


What does Testnet mean?


A Testnet is a functioning model of a Mainnet. Developers use this to introduce a protocol whilst testing for bugs, and as a trial period before new implementations. Unlike a Mainnet, Testnets utilize a “faucet”, which provides free tokens. The availability made possible by the faucet allows for users to stress the system to simulate a high-volume environment.


Why is it important?


By mimicking this type of scenario, developers can determine benchmarks that point to the max capacity of the proposed Mainnet prior to launch. If not optimal, developers can make adjustments prior to the ecosystem going live to prevent disruption and provide additional security.


How to participate in the Testnet:


Please follow the instructions below to build from source.


Video Guide (Windows)


Hx Testnet Build from Source Windows Part 1



Hx Testnet Build from Source Windows Part 2



Hx Testnet Build from Source Windows Part 3



Please follow the instructions below to build from source.


Written Instructions to Build from Source (Windows)


Download the most recent version of Go at https://golang.org/dl.



Select the appropriate operating system to build from source with.


Intermediate Level — Step 1 (Windows)


Run the .msi file you just downloaded to install Go. Install Go to your C:\ drive.


Go to https://github.com/Masterminds/glide/releases and download the latest windows zip file. On most modern computers, you will want to download the windows-amd64 version. Extract the files and copy glide.exe to C:\Go\bin (this is the default go install directory. If you did not install Go to C:\Go please adjust to the appropriate directory).



Visit https://git-scm.com/download/win and download the latest version of Git for Windows.


Install Git with all default options.


Open up a Command Prompt Window. There are multiple ways to do this, but one way is to hold the Windows key and R (Win+R). This should bring a Run window up. Type in cmd in the empty box. Press enter or click OK.



A Command Prompt window will come up. Type the following commands:


cd %userprofile%

md go

cd go

md bin

setx PATH "%PATH%,%userprofile%\go\bin

md pkg

md src

cd src

md  github.com

cd github.com

md hybridnetwork

cd hybridnetwork

md hxd

git clone https://github.com/hybridnetwork/hxd

git clone https://github.com/hybridnetwork/hxdwallet

cd hxd

glide install


cd hxwallet

glide install



Now open Windows PowerShell. Bring up the Run window again by pressing the Windows key and R (Win + R) at the same time. Type PowerShell and press enter or click OK.


In the Windows PowerShell, input the following commands:


cd $home

cd go\src\github.com\hybridnetwork\hxd

go install $(glide nv)


cd hxwallet

go install $(glide nv)



Running your Wallet


Create a new Command Prompt like in the last step. Enter these commands:


cd %userprofile%

cd go\bin

hxd -u user -P pass --testnet

The node has been created, leave this window running.



Creating a Wallet


In another Command Prompt window. Use the following commands:


cd %userprofile%

cd go\bin

hxwallet -u user -P pass --testnet --create


Type a priv passphrase for your new wallet and press Enter.

Type the same priv passphrase again and press Enter to confirm.


** For the purposes of testing, press Enter on the next two lines to choose default options**



***IMPORTANT*** WRITE your wallet information down. It contains your wallet generation seed and Hex, which will be needed if you want to recover your wallet.


Type “OK” and press enter to continue. Your wallet has been created.


Running your Wallet


With the active Command Prompt window for your wallet, continue with these commands:


hxwallet -u user -P pass --testnet

Keep this window open and running.


Testing your Wallet


Open up a new command prompt window. Enter the following commands:


cd %userprofile%

cd go\bin

hxctl -u user -P pass --testnet --wallet getnewaddress default




hxctl -u user -P pass --testnet --wallet getnewaddress postquantum

This will generate a Default or Post Quantum address. Copy this address to your clipboard.



Using the Faucet and Block Explorer


Open up your web browser. Navigate to http://faucet1.hybrid.network. Paste your wallet address into the space provided and press send. You will receive a transaction id (txid).



Open up a new tab in your web browser. Navigate to http://explorer1.hybrid.network.



Paste your wallet address into the search bar at the top and press enter. Refresh if you do not see that your wallet has received Testnet tokens. It may take up to 5 minutes for your transaction to show and up to another 5 minutes to complete. Feel free to relax and stretch during this time and refresh your browser until it looks like this.



**Depending on the difficulty and hashrate on the Tesnet, this may take longer depending on the size mempool**


Now you can verify the transaction in the Command Prompt.

Open up the last Command Prompt window you had open that is not already running hxd or hxwallet. Type:


hxctl -u user -P pass --testnet --wallet getreceivedbyaddress walletaddresshere



You can also get a detailed view of your wallet and balance by entering:


hxctl -u user -P pass --testnet --wallet getbalance




You now have a running node and a Command-line wallet for Hx! If you’re interested in going to the next level, please see our instructional guide on staking and mining through Command-line.


RC1 Testnet — Staking and Mining through Command-line Windows (Advanced Level)

The Hybrid Network is a global developer community dedicated to the growth of decentralized, distributed and open…medium.com


Bug Reporting


Report bugs using integrated tracking in GitHub. Please follow the corresponding links. When reporting bugs please include as much information as possible, but not limited to the date, summary of the issue encountered, and suggested workaround.



hxd — Hx daemon in Go (golang).github.com


hxwallet — Hx wallet daemon written in Go (golang).github.com


hxify — Cross-platform GUI for Hx.github.com


testnetfaucet — Hx testnet faucet.github.com


hxstakepool — Stakepool for Hx.github.com

Block Explorer

insight — Hx blockchain API for web wallets.github.com