GHOST Eye Startup Guide [~30 Min]

  • Post author:
  • Post category:Guide
You are currently viewing GHOST Eye Startup Guide [~30 Min]

Introduction

GHOST Eye is the terminal based UI for GHOST Chain. It offers the ability to interact with GHOST Chain in a user friendly way. Think of it as MetaMask for Ethereum. GHOST Eye is a work in progress and additional updates will be coming over a period of time.

Install GHOST Eye

Open terminal window.

Go to main ghost directory:

cd ghost

Clone ghost-eye:

git clone https://git.ghostchain.io/ghostchain/ghost-eye.git

Go to ghost-eye directory:

cd ghost-eye

Install necessary packages:

sudo apt install pkg-config

Update Rust:

rustup update

Compile ghost-eye:

source update.sh

Launch GHOST Eye

Launch ghost-eye from any folder:

ge

Older ghost-eye versions can be launched with:

./target/release/ghost-eye

To exit ghost-eye press CTRL + C or Q keys.

Navigate GHOST Eye

GHOST Eye Navigate GHOST Eye

General Navigation

Navigate menu use + + Enter keys to navigate GHOST Eye.

Use Esc key to exit any panel and go back to main menu.

+ or H + L

Explorer Tab

GHOST Eye Explorer

In the explorer you are able to see the block production and finalization in real time, block production timer, and block events.

Wallet Tab

GHOST Eye Wallet

Wallet Panel

Press Shift + W to create new wallet.

Address Book Panel

Shift + A to create new contact in address book.

Shift + D to delete contact from address book.

G key to top of address book.

Shift + G keys bottom of address book.

Shift + K / Shift + J keys changes the places of addresses.

Shift + I key to check contact details.

Sending $CSPR

To send $CSPR navigate to the Wallet Tab. Enter the tab by pressing Enter. Press Shift + T. Fill out Receiver and Amount to send fields in the form and $CSPR will be sent to the Receiver address.

You can also navigate the Address Book panel, use + keys to pick the address, press Enter and the receiver address will be prefilled.

Back to Main Menu

Use Esc key to exit any panel into the main menu.

Validator Tab

GHOST Eye Validator Tab

Slash details panel contains details about bonding of your funds. Reward details panel contains Current APY and Inflation rates. Staking history panel contains accumulated Staking Rewards per Era. My peers panel shows block/transaction history broken down per Full Node Operator and Validator.

Bonding

GHOST Eye Validator Tab Bonding Input

To bond $CSPR enter the Validator Tab by pressing Enter then press Shift + B and type amount of $CSPR you want to bond.

Unbonding

GHOST Eye Validator Tab Unbonding
To remove part of a bond (or remove full) use Shift + U, set Unbond Amount, and press Enter to confirm. The result will be shown in Withdrawals panel. For the bond to actually be withdrawn bonding_period should pass which coincides with an end of Era (24 hours day for now)

Reverse Unbond Amount

GHOST Eye Validator Reverse Unbond Amount
While the unbonded amount is still pending Validators are able to reverse the unbonding. Press Shift + E, set Amount to Rebond, and press Enter to confirm. Withdrawals tab update. Withdrawal for current Era will decrease.

Staking Rewards Payout

GHOST Eye Validator Tab Staking Rewards

To withdraw earned staking rewards enter the Validator Tab by pressing Enter. Navigate to the Staking History panel using + keys. Select the era and rewards using + keys. Press Enter to open the payout prompt. Press Enter again to confirm the payout.

Funding Stash

GHOST Eye Validator Tab Stash Key

Fund your stash with at least 8 $CSPR. Funding Validator stash is similar to funding any GHOST wallet. Stash wallet address can be found on Validator tab. It is highly advisable to add Stash Key as one of the contacts in the address panel. Refer to adding new contacts here.

Set Commission

GHOST Eye Validator Tab Set Commission
To set commission Validator will earn from nominators press Shift + V, set Commission for Nominators, and press Enter to confirm.

Chill

GHOST Eye Validator Tab Chill
Chill is a method for current Validator to stop validating from current stash while avoiding slashing. Chill status will be applied only in next era. To chill press Shift + C, popup Chill stash will appear, and press Enter to confirm.

Rotate Keys

GHOST Eye Validator Tab Rotate Session Keys
To create new gran, babe, audi, slow keys press Shift + R, Rotate Session Keys popup will open, and press Enter to confirm.

Only do this if you never created keys before. Existing Validators should only do this after consulting with GHOST Whales.

Nominator Tab

GHOST Eye Nominator Tab

The Nominator tab contains Validator points panel. The panel shows the staking points each validator has earned during the current Era.

Run GHOST Eye

Open terminal window.

Go to main ghost-eye directory:

cd ghost/ghost-eye

Launch ghost-eye:

./target/release/ghost-eye

To exit ghost-eye press CTRL + C or Q.

Update GHOST Eye

Go to ghost-eye directory:

cd ghost/ghost-eye

Update ghost-eye:

source update.sh

Done!

If the command above gives an error then pull the most recent ghost-eye version from GHOST Git, otherwise skip:

git pull origin main

Recompile ghost-eye:

cargo build --release