User Tools

Site Tools


crypto:chia:cli:install

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

crypto/chia/cli/install.txt · Last modified: 2021/06/28 13:11 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki