๐งฉ 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
๐ 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