Best Practices

From HTHCoin Wiki
Jump to: navigation, search

The goal of this page is to provide some suggestions of best practices to help protect your HTHCoin. As with all crypto assets it's important for you to take responsibility for your private keys and ensure you are protecting them adequately.

You should do your own research in addition to anything described below and be aware of the pros and cons of all the options you consider.


Wallet

A common practice is to use one wallet for hot storage, and another for cold storage.

General wallet guide

Do not mine directly to an exchange or to a mobile wallet, use a full client for this, ie. hth-qt, or a paper wallet. You can create your paperwallet on: https://paperwallet.space/?currency=HelpTheHomelessCoin

Note: do not use special chars for the passphrase for encryption of your wallet.

You can download our wallet from HTHCoin Github for your OS.

  • Extract all the compressed files.
  • Start wallet by double click hth-qt (or hth-qt-public) (.exe/.app), allow the hth-qt to access internet if your windows firewall notification pops up.
  • Choose were to store your data folder, it will contain your wallet.dat, blockchain and other config files. The default options are fine.
  • Assuming this is a hot wallet and you are connected to the internet, your wallet will now start to sync with the blockchain.
  • Encrypting your wallet is always recommended, especially on a hot wallet, you can select "Encrypt Wallet" from "Settings" menu, remember to write down your passphrase and store it safely, use the same steps as detailed in Backups section on this page. Note: do not use special chars for the passphrase for encryption of your wallet.
  • From the "File" menu you can choose "Receiving Addresses.." click "New" give it a label, and click "OK" now select the new address and click "Copy" and paste it into your mining bat/sh file, or "Export" a text file with your new public address.
  • Nest step is to backup your wallet, you can do that from "File" menu "Backup Wallet..." select a location and give your backup a meaningful name like "06-07-2018-hthcoin-wallet.dat" follow the steps in Backups to keep your backups safe. You can also make a backup when your hth-qt wallet is completely shut down by copying wallet.dat file from your data folder.
  • Now is a good time to read the rest of this page.

Default data folder locations:

Windows: %AppData%/Roaming/HTHCore
Mac: ~/Library/Application\ Support/HTHCore
Linux: ~/.hthCore

Note that on mac and linux " ~/ " is the home folder, and is different from " / " root folder

Hot storage

Hot storage is the wallet you usually mine to, and keep on a networked computer, a wallet you commonly access and use. It is preferable to have the computer the hot wallet is on as clean as possible, no unneeded software installed. Keep it updated. Have at least two copies(backups) of wallet.dat in two different locations, use dedicated USB sticks, that are marked clearly.

Cold storage

Cold storage is a wallet you create and have on a non-networked computer. This should be a dedicated disk, with a fresh and clean OS installed. To use this wallet you create the transaction, sign it and save it on a dedicated USB stick, then import this signed transaction into your hot wallet and broadcast it. Have at least two copies(backups) of wallet.dat in two different locations, use dedicated USB sticks, that are marked clearly.

Unlock & Importing Wallet

On a encrypted wallet you can unlock your wallet with the following command:

walletpassphrase "passphrase" "timeinseconds"

example:

walletpassphrase very6securE+pasSword 300

Once the wallet is unlock you can dump our key, address is our corresponding public key:

dumpprivkey "address"

Example:

dumpprivkey HBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT


Backups

Have at least two copies(backups) of wallet.dat in two different locations, use dedicated USB sticks, that are marked clearly. Do not use these USB stick for anything else, and keep them safe. Get good known named brand USB sticks, this is not the place to save cost. Use different USB sticks for Hot wallet and Cold wallet backups. Especially cold wallet backup should not be plugged into a networked computer.

Some prefer to encrypt the disks or folder, this can be advantageous if you do not have a trusted place to store your USB sticks. Just keep the passphrase to the same standards as the USB sticks, minimum two copies in two different locations.

Consider how relatives and or our children can get access in the future should the worst thing happen.

Private keys

A private key is what control the funds, and make them spendable on its correlating public key. You do not reuse a key pair (public and private key) after the private key has been swiped/imported on a networked computer, ie do not reuse a paper wallet after the private key has been used.

Miners and other apps

  • Only run software from known reputable developers, preferably peer revived and audited code.
  • Download only from the links provided by the developer, preferably from the developers own site.
  • The inherent danger of a malicious miner app is that by design it has already all the tools needed to be very harmful, these include upload and download capabilities, there will not necessarily be anything you can detect immediately, as a malicious miner app can be triggered by something as simple as a specific network block number being reached or other delayed mechanisms.
  • Any computer on your network (subnet) could be a potential treat towards your hot wallet.
  • There is no way to know if your wallet.dat/private keys are compromised, it's important to always keep them safe guarded.
  • The above holds true for any software you download and use.

Links, Guides and other helpful tips

https://en.bitcoin.it/wiki/Securing_your_wallet

https://bitcoin.org/en/secure-your-wallet

http://bitcoinsecurity101.com/getting-started/

https://virtopia.ca/crypto-wallet-safety/