The Hybrid Network is a global developer community dedicated to the growth of decentralized, distributed and open source projects. There are no formal requirements to join. All you need to do is contribute. For more details check out our Hello, World_ Mission Statement.

Please stay tuned for official announcements regarding Mainnet!

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 (Linux)

Hx Testnet Build from Source Linux Part 1

Hx Testnet Build from Source Linux Part 2

***Update 3/27/18*** We were made aware that some Linux users were having difficulty setting up their wallets and nodes during the RC1 Testnet period. Please follow these instructions, which were made to help assist/ streamline the process of getting connected to the network when Mainnet goes live.

Below are instructions to setup paths, environment variables and dependencies in Linux through Command-line in Terminal. After following these steps you can continue with setting up hxd and hxwallet.

sudo apt-get update sudo apt-get -y upgrade sudo curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz sudo tar -xvf go1.10.linux-amd64.tar.gz sudo mv go /usr/local mkdir $HOME/go mkdir $HOME/go/src mkdir $HOME/go/bin mkdir $HOME/go/src/github.com mkdir $HOME/go/src/github.com/hybridnetwork sudo nano ~/.profile

(add these lines to end of file)

export PATH=$PATH:/usr/local/go/bin export GOROOT=/usr/local/go export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin

(Ctrl-x)(y)(enter/return) to save

source ~/.profile go get -u github.com/Masterminds/glide cd $HOME/go/src/github.com/hybridnetwork git clone https://github.com/hybridnetwork/hxd git clone https://github.com/hybridnetwork/hxwallet cd hxd glide install go install $(glide nv) cd .. cd hxwallet glide install go install $(glide nv)

We will be posting and updating instructions as necessary. You can continue this tutorial from the Running a Test Node section.

***Alternate instructions below work on some versions of Linux/ Ubuntu***

Written Instructions to Build from Source (Linux)

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 (Linux)

After the Go download is complete, open Terminal using Ctrl + Alt + T or search for Terminal.

With your Terminal up, enter the following commands in order. During this string you will be installing dependencies and setting up environment variables. Please wait till you are prompted for the next input.

(Use Shift + the \ key to create a | character)

cd Downloads sudo tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin sudo apt-get install git sudo apt-get install curl mkdir $HOME/go mkdir $HOME/go/src mkdir $HOME/go/bin mkdir $HOME/go/src/github.com mkdir $HOME/go/src/github.com/hybridnetwork export GOPATH=$HOME/go export PATH=$PATH:$HOME/go/bin curl https://glide.sh/get | sh cd $HOME/go/src/github.com/hybridnetwork git clone https://github.com/hybridnetwork/hxd git clone https://github.com/hybridnetwork/hxwallet cd hxd glide install go install $(glide nv) cd .. cd hxwallet glide install go install $(glide nv)

Running a Test Node

Open up another Terminal window like in the last step. Enter the following commands:

export GOPATH=$HOME/go export PATH=$PATH:$HOME/go/bin hxd -u user -P pass --testnet

The node (hxd) has now been created, leave this window running.

Creating a Wallet

Open up another Terminal window. Type the following commands:

export GOPATH=$HOME/go export PATH=$PATH:$HOME/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.

Type OK to continue.

**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.

Running your Wallet

In the same Terminal window, enter the following command:

hxwallet -u user -P pass --testnet

**Leave this Terminal window (hxwallet) open and running**

Testing your Wallet

Open up a new Terminal. Enter the following commands:

export GOPATH=$HOME/go export PATH=$PATH:$HOME/go/bin hxctl -u user -P pass --testnet --wallet getnewaddress default

OR

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.testnet.hybrid.network/requestfaucet or http://faucet2.testnet.hybrid.network/requestfaucet. 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.testnet.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**

You can click on the blue down arrow to get more information on the transaction.

Congratulations! You should now have 5 Hx. Now you can verify the transaction in the Terminal.

Return to the Terminal window that you are currently using and 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! Please stay tuned for an additional article regarding mining on the RC1 Public Testnet.

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

hxwallet

hxify

testnetfaucet

hxstakepool

Block Explorer

Join the Hybrid Network!