HYDRA Documentation
  • Introduction to Hydra Chain
  • HydraGon
    • Migrate to HydraGon
    • Staking Calculator
  • Legacy Hydra
  • FAQ
  • Hydra web wallet
    • Create New Wallet
      • Key File Option
      • Mnemonic Words Option
    • Access Your Wallet
      • From Mnemonic Words
      • From Private Key
      • From Key File
    • Send and Receive Assets
      • Receive Assets
      • Send Assets
    • Add HRC20 Token
    • Setup Offline Wallet
  • Hydra web browser extension
    • How to integrate with dApps
  • Hydra for Beginners
  • Ledger Nano Guide
  • Hydra Bridge
  • HydraDEX
    • Adding and Removing Liquidity
    • Liquidity Mining on HydraDEX
  • Useful Links (Legacy)
  • Essentials
    • UTXOs Accounting
    • Test & Main Networks
    • Desktop wallet basic usage
    • Wallet Encrypt, Backup and Restore
    • Hydra Core Wallet Commands
    • Adding Nodes
    • Encrypt and Unlock Hydra Wallet
    • Wallet Recovery With Salvagewallet
    • bech32 support
    • Repositories
    • Hydra Exchange Usage Guide
    • How to Add Options
    • How to Use bootstrap.dat
    • Command Lines (RPC API)
    • Guidance of Hydra Deployment and RPC Settings
    • How to Build Hydra on Raspbian
  • HRC20 Tokens
    • HRC20 Token
    • HRC20 Raw Transactions
    • HRC20 With Hydrachainjs
    • HRC20 DApp
  • HRC721 Tokens
    • HRC721 Token - How to deploy
  • How Transactions Work
  • Hydra Economy (Legacy)
    • The Flexible Supply Mechanism
    • Legacy Staking Calculator
  • Installation Guides
  • Guide for Linux
  • Guide for Raspberry Pi
  • Guide for MacOS
  • Staking HYDRA Coins
    • Setting up Staking
    • Staking with Windows VPS on AWS
    • Staking with Linux on DigitalOcean VPS
    • How to Stake Hydra on Linux
    • Stake With Linux VPS
    • How to Stake on FreeBSD
    • Hydra node health check
    • Superstaking
    • Delegating to Superstaker
    • Delegating via Mobile App or Web Browser
    • Lydra Basics
    • Understanding LYDRA — Key Concepts and Dynamics
  • Hydra Chain Core Team
  • KYC/AML Policy
  • Privacy Policy
  • API Documentation
    • Explorer API (in work)
      • General Blockchain Info
      • Fetching Transaction History for HYDRA and HRC20 tokens
      • Block Info
      • Transaction Info
    • Hydra DEX API
  • Community Tools
    • Github repository
    • Docker image for Hydra Node
    • Hydradex.org Custom Lists
  • Security Audits Hydra Bridge
Powered by GitBook
On this page
  • Test & Main Networks
  • Getting Testnet Tokens
  • Main Network
  • Links

Was this helpful?

  1. Essentials

Test & Main Networks

PreviousUTXOs AccountingNextDesktop wallet basic usage

Last updated 3 years ago

Was this helpful?

Test & Main Networks

The Testnet and Mainnet are using different ports. For Testnet port 13333 is used. For Mainnet port 3338 is used. Testnet is started using the -testnet flag when starting up the wallet. For Windows and Linux systems the same application is used for starting up in Testnet when the -testnet flag is added. In Windows the program properties shortcut 'Target' would look like this if running in testnet mode: "C:\Program Files\LockTrip\locktrip-qt.exe" -testnetIn Linux to run in testnet add the -testnet flag for the daemon or for the GUI: ./hydrad -daemon -testnet or ./hydra-qt -testnet

Testnet and Mainnet wallets are stored in different folders. The Testnet wallet and chain information for windows is stored in: %AppData%/Roaming/HYDRA/testnet8/ The Mainnet data is stored in the root of the directory: %AppData%/Roaming/HYDRA/ For Linux systems the wallet and chain information is in: ~/.hydra/ and Testnet is in: ~/.hydra/testnet8/

Testnet exporer:

Mainnet explorer:

It takes some time to download the blockchain data from the network. If you hae started in non daemon mode you'll see log messages like this stream by:

06:41:56  hydrad | 2017-12-14 06:41:56 UpdateTip: new best=000054cbb176ed62b2f6fc335204bee4b7ce5f658b8f7cfff6961c25c9a54cf9 height=2094 version=0x20000003 log2_work=27.032757 tx=2095 date='2017-09-08 05:50:54' progress=0.000638 cache=0.4MiB(2094txo)
06:41:56  hydrad | 2017-12-14 06:41:56 ProcessNetBlock: ACCEPTED
06:41:56  hydrad | 2017-12-14 06:41:56 UpdateTip: new best=0000924e3af343bd41f0476b92aeef4e46d748db436d5a5074f337989b7ffba7 height=2095 version=0x20000003 log2_work=27.033445 tx=2096 date='2017-09-08 05:50:54' progress=0.000638 cache=0.4MiB(2095txo)
06:41:56  hydrad | 2017-12-14 06:41:56 ProcessNetBlock: ACCEPTED
06:41:56  hydrad | 2017-12-14 06:41:56 UpdateTip: new best=0000bf6616615286a786f0ec59c3881f48e1b1a49367779f33753a027b099c31 height=2096 version=0x20000003 log2_work=27.034133 tx=2097 date='2017-09-08 05:50:54' progress=0.000638 cache=0.4MiB(2096txo)
06:41:56  hydrad | 2017-12-14 06:41:56 ProcessNetBlock: ACCEPTED

// synchronizing with network...
  • progress approaches 1.0 (100%) as your local node catch up to the network.

  • height the latest block that had been synced.

As of Mid-November 2020, the block height is about 10,000ish.

Getting Testnet Tokens

For the testnet you are not allowed to generate or mine new blocks to get tokens. Rather, you can request some free tokens from the testnet faucet:

First generate a new payment address:

hydra-cli -testnet getnewaddress

Ts4r4cxhdQFAPtPeUYxfCQGe5P2afFjywV

Then copy it into the input box:

Once accepted, you should see your address and amount in the list of latest payouts:

Clicking on the pay out address, you'd see a link to view the transaction in the testnet block explorer:

Once it's confirmed, you can check your balance locally:

hydra-cli -testnet getbalance

94.00000000

You can also see the UTXOs created for that amount:

hydra-cli -testnet listunspent

[
  {
    "txid": "2a8997d398633bc01c97fc623a59aaca4f678caf2d3949f4679e1f0f5952479f",
    "vout": 0,
    "address": "hcf3Yv72SbLvVDmU99BMf5T1YwvdvA3fx6",
    "account": "",
    "scriptPubKey": "76a914d17c851679a8ca558d9d783643cc926f7a382e7888ac",
    "amount": 94.00000000,
    "confirmations": 23,
    "spendable": true,
    "solvable": true
  }
]

Main Network

To connect to the Mainnet, set hydra to start without the "-testnet" flag on port 3338

./hydrad -daemon

Links

Visit the to see some stats about the test network. In particular, it lists the latest blocks mined, so you can get a rough idea of how far along you are in the synchronization process:

The Webwallet can be found at:

The Testnet Explorer can be viewed at:

The Testnet Faucet is at:

The Mainnet Explorer can be viewed at:

https://testexplorer.hydrachain.org/
https://explorer.hydrachain.org/
Testnet Block Explorer
https://faucet.hydrachain.org/
https://faucet.hydrachain.org/
https://testexplorer.hydrachain.org/address/Ts4r4cxhdQFAPtPeUYxfCQGe5P2afFjywV/
https://webwallet.hydrachain.org/
https://testexplorer.hydrachain.org/
https://faucet.hydrachain.org/
https://explorer.hydachain.org/