Skip to content

๐Ÿงฉ Clients Overview

This page lists the available client implementations for interacting with the Zaphenath smart contract. These clients offer different ways to integrate with the protocol, including command-line tools and UI components.

๐Ÿฆ€ Rust CLI Client

The Rust CLI client allows developers, power users, and backend scripts to interact directly with the Zaphenath smart contract from the terminal.

๐Ÿ“ฆ Repository

github.com/Astervia/zaphenath-cli-client

๐Ÿš€ Features

  • Create, update, delete, and read keys on-chain
  • Assign and manage custodians
  • Ping keys to keep them alive
  • Configurable local profiles
  • Support for multiple networks (e.g. mainnet, Sepolia, Anvil)
  • Background daemon for automated key pings

๐Ÿ›  Installation

Ensure you have Rust and cargo installed.

To install globally, you must clone the repository and install using cargo:

git clone https://github.com/Astervia/zaphenath-cli-client.git
cd zaphenath-cli-client
cargo install --path .

โ–ถ๏ธ Usage

Run zaph to see available commands:

zaph --help

Example:

zaph contract create-key \
  --key-id my-will \
  --data deadbeef \
  --timeout 3600 \
  --contract-address 0x... \
  --gas-buffer 1.2 \
  --private-key-path ~/.zaph/id.key \
  -y

๐Ÿงช Daemon Mode

The CLI also supports a background daemon:

zaph daemon

This will periodically ping registered keys to keep them private.

๐Ÿ“ฑ Upcoming Clients

  • Mobile Client (in development): Touch-friendly interface for creating, reading, and managing keys, with a mobile daemon available
  • Web Dashboard (planned): Browser interface for viewing key activity and status