====== Crypto - Chia - CLI - Install ====== ===== Update Ubuntu ===== sudo apt update sudo apt upgrade -y ---- ===== Install Git ===== sudo apt install git -y ---- ===== Checkout the Chia source from Git ===== git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules ---- ===== Install Chia ===== cd chia-blockchain sh install.sh ---- ===== Activate the virtual environment in directory chia-blockchain ===== . ./activate ---- ===== Install GUI (Optional) ===== **NOTE:** The GUI requires Ubuntu Desktop or a similar windowing system is installed. The GUI cannot be installed or run as root! sh install-gui.sh cd chia-blockchain-gui **NOTE:** The GUI can then be run: npm run electron & ---- ===== Configure Chia ===== chia init ---- ===== Setup the Keys ===== ==== If you already have a seed (key) ==== Add it with this command: chia keys add **NOTE:** This will prompt for the seed to be entered. * To display the current mnemonic keys: chia keys show --show-mnemonic-seed The ID will be displayed, which can be checked to ensure it matches. ---- === If no existing key exists, generate a new one === Generate a new seed (key) with this command: chia keys generate ---- ===== Check the Key ===== chia keys show returns: Showing all public keys derived from your private keys: Fingerprint: 1234567890 Master public key (m): abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwx Farmer public key (m/12345/6789/0/0): abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwx Pool public key (m/12345/6789/1/0): abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwx First wallet address: abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz ---- ===== References ===== https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL