Zenith - A command-line interface for a Zcash Full Node.
Go to file
Rene Vergara 158b059596
Merge branch 'dev'
2023-10-09 08:28:32 -05:00
app Version bump 2023-10-09 08:26:33 -05:00
src Update sending function for ZIP-317 2023-10-09 08:14:30 -05:00
test Initial commit 2022-06-20 16:46:13 -05:00
.gitignore Initial commit 2022-06-20 16:46:13 -05:00
.gitmodules Implement full shielded address validation 2023-04-18 14:03:29 -05:00
CHANGELOG.md Version bump 2023-10-09 08:26:33 -05:00
LICENSE Clean up additional documents 2022-07-08 07:45:41 -05:00
README.md Upgrade to LTS 20.8 2023-01-22 08:15:40 -06:00
package.yaml Version bump 2023-10-09 08:26:33 -05:00
stack.yaml Version bump 2023-10-09 08:26:33 -05:00
stack.yaml.lock Version bump 2023-10-09 08:26:33 -05:00
zenith.cabal Version bump 2023-10-09 08:26:33 -05:00
zenith.cfg Initial commit 2022-06-20 16:46:13 -05:00

README.md

Zenith

                         ______          _ _   _
                        |___  /         (_) | | |
                           / / ___ _ __  _| |_| |__
                          / / / _ \ '_ \| | __| '_ \
                         / /_|  __/ | | | | |_| | | |
                        /_____\___|_| |_|_|\__|_| |_|
                             Zcash Full Node CLI

Please don't upload to GitHub

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.

Note: Zenith depends on a patched version of the haskoin-core Haskell package included in this repo. A pull request to the maintainers of haskoin-core has been submitted, if/when it is merged, Zenith will be updated to use the standard package.

Installation

git clone https://git.vergara.tech/Vergara_Tech/zenith.git
cd zenith
git submodule init
git submodule update
  • Install using stack:
stack install

Configuration

  • Copy the sample zenith.cfg file to a location of your choice and update the values of the user and password for the zcashd node. These values can be found in the zcash.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.
  • txs <id>: Lists all transactions belonging to the address corresponding to the id 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.
  • 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.