wget -O - https://raw.githubusercontent.com/meshungina/hydra/main/install-run-gui-wallet-pi.sh | bash
Before starting ensure that your system is up to date by executing:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev libgmp3-devsudo apt-get install software-properties-commonsudo apt-get updatesudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler qrencode
Select the latest wallet version from the link below:
​Latest Releases​
Here you will find wallets for different types of operating systems. You will need to download the arm-linux version for your Raspberry.
Create a directory called Hydra and download the zip file to it:
mkdir ~/Hydracd ~/Hydra/wget -N https://github.com/Hydra-Chain/node/releases/download/hydra_v0.18.5.4/hydra-0.18.5.4-arm-linux-gnueabihf.zip
Make sure to replace the above link with the newest version available.
​
Extract the archive
unzip -o hydra-0.18.5.4-arm-linux-gnueabihf.zip
Your file may be named differently, depending on the wallet version.
Note: For the current Hydra testnet you will also need to copy the latest hydra.conf file from the zip and place into the /.hydra/
folder. This is a different directory from ~/Hydra
. Notice there is a dot before the name and it is lower case.
Create ~/.hydra
folder then and copy the hydra.conf from the current directory into it.
mkdir ~/.hydracp ~/Hydra/hydra.conf ~/.hydra
​
The binaries will then be in ~/Hydra/bin/
where you can cd into with
cd ~/Hydra/bin/
Either run the command-line daemon (omit '-testnet' if you wish to connect to mainnet):
./hydrad -daemon -testnet
Call the daemon using(omit '-testnet' if you are connected to mainnet):
./hydra-cli -testnet getinfo
Or you can run the GUI(omit '-testnet' if you are connecting to mainnet):
./hydra-qt -testnet
If you are updating your node and experience issues try starting with these flags to rebuild:
-rescan -reindex
If you are experiencing errors with libboost
you can try fixing it with these commands:
sudo apt-get updatesudo apt upgrade -ysudo apt-get install git autoconf libtool libboost-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-random-dev libssl-dev libevent-dev libboost-test-dev
The node runs on port 1334 for the Hydra testnet. You may need to open the port on the router and operating system.
Here's a quick start script for Arm 64 bit devices. You can run that automates the instructions below to download and copy all files and run the Hydra wallet daemon in Mainnet:
wget -O - https://raw.githubusercontent.com/meshungina/hydra/main/install-run-gui-wallet.20.10PI64.sh | bash
Before starting ensure that your system is up to date:
sudo apt update -ysudo apt upgrade -ysudo apt -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev libgmp3-dev libzmq3-devsudo apt-get -y install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler qrencode
Select the latest wallet version from the link below:
​Latest Releases​
Here you will find wallets for different types of operating systems. You will need to download the aarch64 version for your Raspberry or other arm device running 64 bit OS.
Create a directory called Hydra and download the zip file to it:
mkdir ~/Hydrawget -N https://github.com/Hydra-Chain/node/releases/download/hydra_v0.18.5.4/hydra-0.18.5.4-aarch64-linux-gnu.zip -P ~/Hydra
Make sure to replace the above link with the newest version available.
​
Extract the archive
unzip -o hydra-0.18.5.4-aarch64-linux-gnu.zip
Your file may be named differently, depending on the wallet version.
Note: For the current Hydra testnet you will also need to copy the latest hydra.conf file from the ~/Hydra directory and place it into the /.hydra/ folder. This is a different directory from ~/Hydra
- Notice there is a dot before the name and it is in lower case.
Create .hydra
folder and copy the hydra.conf file into it.
mkdir ~/.hydracp ~/Hydra/hydra.conf ~/.hydra
You can now navigate to where the Hydra binaries are to initialize them:
If you have unzipped the file in the ~/hydra folder the binaries will then be in ~/Hydra/bin/
where you can cd into with
cd ~/Hydra/bin/
Either run the command-line daemon (omit '-testnet if you want to connect to mainnet):
./hydrad -daemon -testnet
Call the daemon using(omit '-testnet if you are connected to mainnet)::
./hydra-cli -testnet getinfo
Or you can run the GUI(omit '-testnet if you want to connect to mainnet):
./hydra-qt -testnet
It is recommended when updating binaries to start with these additional flags the first time:
-rescan -reindex
If you are experiencing errors with libboost
you can try fixing it with these commands:
sudo apt-get updatesudo apt upgrade -ysudo apt-get install git autoconf libtool libboost-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-random-dev libssl-dev libevent-dev libboost-test-dev
The node runs on port TCP 1334 for the Hydra Testnet and TCP 3338 for Mainnet. You may need to open these ports on the router and operating system. For additional information please see the Firewall Settings section.
The Webwallet can be found at: https://webwallet.hydrachain.org/​
The Testnet Explorer can be viewed at: https://testexplorer.hydrachain.org/​
The Testnet Faucet is at: https://faucet.hydrachain.org/​
The Mainnet Explorer can be viewed at: https://explorer.hydachain.org/​
​