Qtum Documentation
  • Qtum Features and Advances
    • Qtum Ordinals
      • Chapter 1: Introduction to ordinals
      • Chapter 2: Understanding Inscriptions in Depth
      • Chapter 3: The Intricacies of Ordinals on the Blockchain
      • Chapter 4: Engineering Ordinals within Qtum's Architecture
      • Chapter 5: Prerequisites for Engaging with Ordinals on Qtum
      • Chapter 6: The Procedure for Inscribing a Satoshi with Ordinals
      • Inscribing Messages on Qtum Testnet
    • Qtum-BIP38
  • Qtum Wallet
    • Qtum-Core Wallet Documentation
      • Qtum Documentation
      • Using Qtum Wallet
      • Linux Repositories
      • Qtum on Raspberry Pi
      • How to Update Qtum
      • Qtum Wallet Best Practices
      • Qtum Wallet Commands
      • Adding Nodes To Qtum Wallet
      • Encrypt & Unlock Qtum Wallet
      • Recovery wallet data with salvagewallet
      • Testnet User Guide
      • Bech32 Addresses support
      • How to Add Options (Config)
      • How to use Bootstrap
  • Staking and Nodes
    • Secure Staking With Qtum Star Network
    • Staking Documentation
      • Qtum Staking
      • Offline Staking
      • Offline Staking Address Delegation - Undelegation Transaction Details
      • Qtum on AWS ec2
      • Staking with a VPS
      • Staking with a Raspberry Pi
  • Other Wallets
    • Wallets Supporting Qtum
      • Electrum
      • Qtum Web Wallet
      • Qtum Lightning Network
  • RPC CALLS AND API
    • QTUM RPC CALLS
    • QTUM RPC API
  • Qtum Deployment
    • Guidance on Qtum Deployment
    • Building Qtum on Linux
    • Guidance for Exchange Deployment
  • Smart Contracts and QRC20 Tokens
    • QRC20 Token integration
    • QRC20 Integration Technical Guide
    • Raw QRC20 Transaction implementation guide
  • WEB3
    • Web3 Compatibility Layer
    • Janus Docker Container
    • Truffle
    • Differences between EVM chains
  • QNEKT
    • QNEKT
    • Why Fork Metamask ?
    • Sideloading Qnekt
    • Setting up QNEKT
    • Working with Testnet Coins on QNEKT
    • Connecting QNEKT to regtest
    • QNEKT Regtest with react-box
  • Research
    • Confidential Assets
    • Data Analytics
Powered by GitBook
On this page
  • Encrypt Wallet
  • Unlock wallet
  • Change passphrase
  1. Qtum Wallet
  2. Qtum-Core Wallet Documentation

Encrypt & Unlock Qtum Wallet

PreviousAdding Nodes To Qtum WalletNextRecovery wallet data with salvagewallet

Last updated 1 year ago

If you don't know how to deploy a Qtum node or don't know how to launch a Qtum 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 Qtum wallet:

Encrypt Wallet

For command line users

qtum-cli command to encrypt wallet:

./qtum-cli encryptwallet "yourpassphrase"

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

After encryption, all security related actions such as sending QTUM, 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:

choose encrypt

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

qtum-cli command to unlock wallet:

./qtum-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 QTUM or do other coin security related actions.

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

./qtum-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 QTUM or dumping a private key still requre 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 QTUM 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:

./qtum-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:

enter passphrase
wallet locked
unlock wallet
enter passphrase
Staking button
click change passphrase
change passphrase
Guidance of Qtum Deployment
https://eco.qtum.org/wallet