pitmutt
621ffea3d9
Co-authored-by: Rene V. Vergara <rvergara59@protonmail.com> Reviewed-on: #80 Co-authored-by: pitmutt <rene@vergara.network> Co-committed-by: pitmutt <rene@vergara.network>
3.4 KiB
3.4 KiB
Zenith
______ _ _ _
|___ / (_) | | |
/ / ___ _ __ _| |_| |__
/ / / _ \ '_ \| | __| '_ \
/ /_| __/ | | | | |_| | | |
/_____\___|_| |_|_|\__|_| |_|
Zcash Full Node CLI
Zenith is a command-line interface for the Zcash Full Node (zcashd
). It has the following features:
- Listing transparent and shielded addresses and balances known to the node, including viewing-only.
- Listing transactions for specific addresses, decoding memos for easy reading.
- Copying addresses to the clipboard.
- Creating new Unified Addresses.
- Sending transactions with shielded memo support.
Installation
- Install dependencies:
- Stack
- Zcash Full Node v.5.0.0
xclip
libsecp256k1-dev
libxss-dev
libxrandr-dev
- Clone the repository.
git clone https://git.vergara.tech/Vergara_Tech/zenith.git
cd zenith
git submodule init
git submodule update --remote
- Install using
cabal
:
cabal install
Configuration
- Copy the sample
zenith.cfg
file to a location of your choice and update the values of the user and password for thezcashd
node. These values can be found in thezcash.conf
file for the Zcash node.
Usage
From the location where the configured zenith.cfg
file is placed, use zenith
to start.
Zenith will attempt to connect to the node and check compatibility. Connections to zcashd
versions less than 5.0.0 will fail.
Available commands
?
: Lists available commands.list
: Lists all transparent and shielded addresses and their balance.- Notes about balances:
- Addresses from an imported viewing key will list a balance but it may be inaccurate, as viewing keys cannot see ZEC spent out of that address.
- Balances for Unified Addresses belonging to the same account are shared. Zenith will list the full account balances for each of the UAs in the account.
- Notes about balances:
txs <id>
: Lists all transactions belonging to the address corresponding to theid
given, in chronological order.copy
: Copies the selected address to the clipboard.new
: Prompts the user for the option to include a transparent receiver, a Sapling receiver or both. An Orchard receiver is always included.send
: Prompts the user to prepare an outgoing transaction, selecting the source address, validating the destination address, the amount and the memo.- If the source is a transparent address, the privacy policy is set to
AllowRevealedSenders
, favoring the shielding of funds when sent to a UA. - If the source is a shielded address, the privacy policy is set to
AllowRevealedAmounts
, favoring the move of funds from legacy shielded pools to Orchard.
- If the source is a transparent address, the privacy policy is set to
uri
: Prompts the user to select the source account and to enter a ZIP-321 compliant URI to generate and send a transaction.exit
: Ends the session.
Support
If you would like to support the development of Zenith, please visit our Free2Z page.