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
  • Encrypt Wallet
  • For command line users
  • For GUI wallet users
  • Unlock wallet
  • For command line users
  • For GUI wallet users
  • Change passphrase
  • For command line users
  • For GUI wallet users

Was this helpful?

  1. Essentials

Encrypt and Unlock Hydra Wallet

PreviousAdding NodesNextWallet Recovery With Salvagewallet

Last updated 4 years ago

Was this helpful?

If you don't know how to deploy a Hydra node or don't know how to launch a Hydra wallet, please refer to the following instructions:

  • For command line users:

  • For GUI wallet users(common users):

Important: After you encrypt the wallet or change your passphrase, please remember to backup your wallet again!!!

Please do all following things after you successfully installed and run a Hydra wallet:

Encrypt Wallet

For command line users

Hydra-cli command to encrypt wallet:

./Hydra-cli encryptwallet [yourpassphrase]

note that yourpassphraseis the user defined pass phrase, please remember it or you will lose your Hydra.

After encryption, all security related actions such as sending Hydra, staking, or dumping private keys will require using the passphrase to unlock the wallet.

For GUI wallet users

ChooseSetting-Encrypt Wallet in the menu, as following:

Create a new passphrase and repeat it. The wallet will restart after encryption.

After restart, there will be a lock icon shown on the bottom of the wallet, which means it is already encrypted and locked:

Unlock wallet

For command line users

Hydra-cli command to unlock wallet:

./Hydra-cli walletpassphrase [yourpassphrase] 300

the first argument yourpassphrase is the passphrase you set for encryption, while the second is the unlock time in seconds, here 300 seconds or 5 minutes, after which time the wallet will automatically lock itself.

After unlocking, you can send Hydra or do other coin security related actions.

If you only want to unlock the wallet for staking only, please use:

./Hydra-cli walletpassphrase [yourpassword] 999999 true

The first two arguments are the same, and the 3rd argument true means you only want to unlock the wallet for staking only. After doing this, you can start staking, but other coin security related actions like sending Hydra or dumping a private key still require the passphrase to fully unlock your wallet.

For GUI wallet users

To fully unlock your wallet, go to “Settings - Unlock wallet”:

and enter the passphrase to unlock wallet. If you choose For staking only, it means you only unlock the wallet for staking,but other coin security related actions like sending Hydra or dumping a private key are still locked. So please unselect For staking only if you want to fully unlock your wallet. To unlock for staking only, you will also need to switch on the Staking button to activate staking as described below.

After unlocking, the lock icon on the bottom of the screen will show an open lock.

For wallet version 0.18.2 and greater, to unlock the wallet for staking only, use the main menu Stake option to show the Staking Page. Click the Staking button to the right and enter the passphrase (leave the checkbox set to "For staking only"):

NOTE For staking wallets, it you unlock for staking only using "Settings - Unlock wallet" as shown above, you will still need to select the main menu Stake option to visit this Stake Page, and click the Staking button to the right to activate staking.

After unlocking for staking only, the lock icon will show the hasp slightly opened.

Change passphrase

For command line users

command for change passphrase:

./Hydra-cli walletpassphrasechange [oldpassphrase] [newpassphrase]

oldpassphrase is the current passphrase previously set,and newpassphrase is the new passphrase you want set.

For GUI wallet users

Go to “Setting - Change Passphrase” to change the passphrase:

enter old passphrase and new one to complete modification:

Hydra core wallet commands
Hydra for beginners