TES Coin Wallet v1.13 - how to install
======================================

Download the file for your computer, unpack it, and run it. Nothing else is
needed: no node, no Go, and no sudo. Works on Ubuntu, Debian, Mint, Fedora,
Arch, Raspberry Pi OS and most other Linux systems.

  tescoin-wallet-v1.13-linux-x64.tar.gz     normal PCs and servers (Intel / AMD, 64-bit)
  tescoin-wallet-v1.13-linux-arm64.tar.gz   ARM (Raspberry Pi 4/5, ARM servers)

Not sure which one?  Run:  uname -m
  x86_64            ->  linux-x64
  aarch64 / arm64   ->  linux-arm64


1. Get the file onto the machine
--------------------------------
Download it from https://tescoin.xdagreef.org/download/ (or the mirror at
https://www.tescoin.org/download/), or copy it from another computer:

  scp tescoin-wallet-v1.13-linux-x64.tar.gz  user@yourserver:

Optional but smart: check it is the real file. Compare the output of

  sha256sum tescoin-wallet-v1.13-linux-x64.tar.gz

against the SHA-256 shown for it on the download page.


2. Unpack it
------------
  tar xzf tescoin-wallet-v1.13-linux-x64.tar.gz
  cd tescoin-wallet-v1.13-linux-x64

Inside you will find the program (tescoin-wallet) and this file.


3. Install it (no sudo needed)
------------------------------
  ./tescoin-wallet install

It copies itself to ~/.local/bin/tescoinwallet (your own folder, so no
sudo), adds that folder to your PATH, and creates your settings file
~/.tes/wallet.conf. Then, as it tells you, run:

  source ~/.bashrc
  tescoinwallet

(New terminals find tescoinwallet by themselves.)

Want it for every user on the machine instead?  ./tescoin-wallet install --system
(that one uses sudo and installs to /usr/local/bin).

You can delete the download and the unpacked folder afterwards.


4. Use it
---------
  tescoinwallet

opens the menu (the version, v1.13, is shown under the logo):

  1 Balance       2 Receive       3 Send          4 History
  5 Address book  6 Wallets       7 Node settings 8 Live network
  9 Help          q Quit

First time? Press 6, then n, to create a wallet. Pick a strong passphrase.

Quick commands, without the menu:

  tescoinwallet balance
  tescoinwallet receive              your address (+ QR code if qrencode is installed)
  tescoinwallet send 0xADDRESS 12.5
  tescoinwallet send bob 12.5        "bob" from your address book
  tescoinwallet history
  tescoinwallet watch                live block ticker
  tescoinwallet nodes                test your main and backup node
  tescoinwallet version
  tescoinwallet help                 all commands

For a QR code on the Receive screen:  sudo apt install qrencode   (optional)


5. Settings: ~/.tes/wallet.conf
-------------------------------
A plain text file. Edit it with:  tescoinwallet edit   (or nano ~/.tes/wallet.conf)

  NODE=http://tescoin.xdagreef.org:18182            node used to send coins
  BACKUP_NODE=http://wnode1.russ-office.com:18182   used if NODE does not answer
  WALLET=                                           wallet file (empty = ~/.tes/wallet.json)

You can also change the nodes in the menu (7) or with:
  tescoinwallet node http://HOST:18182
  tescoinwallet backup-node http://HOST:18182      (or: off)


6. Fees
-------
Fees come out of the amount you send. Send 10 TES and the other side gets
10 minus the fees, for example:

  You send  : 10 TES
  They get  : 9.8998 TES
  Fees      : 0.1002 TES

You see this before you confirm. The fee depends on the node you use (its
owner sets it); pick another node in the settings for a different price.


7. Keep your coins safe
-----------------------
  - Your key never leaves your computer. Nodes only see signed transactions.
  - Back up the folder ~/.tes/ (menu 6 -> k makes a backup copy for you),
    then copy that backup to a USB stick or another computer.
  - If you lose the wallet file or forget the passphrase, the coins are gone.
    There is no reset and no recovery.
  - Never give anyone your private key or passphrase.


8. Update or remove
-------------------
Update: download the new file, unpack it, run  ./tescoin-wallet install  again.
        Your wallets and settings in ~/.tes/ are kept.

Remove: rm ~/.local/bin/tescoinwallet        (or, with --system:
        sudo rm /usr/local/bin/tescoinwallet)
        Your wallets stay in ~/.tes/ - delete that only after backing it up.
