Install and integrate
Pick a standalone CLI, SDK, CI Action or agent integration.
Install and integrate Zerynex
Choose a path: Try the bundled demo, analyze your own local PCZT, or integrate Zerynex into your project.
For a guided CLI, SDK, policy, CI and MCP workflow, see Project integration. For release archives and the SDK tarball/wheel, see Downloads. For application integration, see language API guides and verify compatibility with your chosen version.
Zerynex is a local-first Rust privacy policy engine for Zcash PCZT workflows. A node, wallet, hosted account or API token is not needed for synthetic PCZT linting or role-handoff regression tests.
Choose an integration
| Interface | For | Current state |
|---|---|---|
| Rust CLI and library | Wallets, CI, Rust programs | v0.2.0 GitHub binaries and source |
| PCZT role scenario runner | Offline wallet developer acceptance tests | Supported from source |
| TypeScript/WASM SDK | React/Next.js and browser wallet UIs | Public @zerynex/sdk@0.2.0; bundled Rust/WASM |
| Python SDK | Automation and Python test suites | Public zerynex-python==0.2.0; requires local Rust CLI |
| GitHub Action | Repository pull-request checks | Supported with synthetic fixtures |
| MCP and Agent Skill | Read-only agent workflows | Optional and local |
| Go SDK | Go wallet and infrastructure applications | Public v0.2.0 module; local Rust CLI required |
| Zebra/Z3 | Local node-readiness checks | Partial |
| ZK/prover structural handoffs | ZK and privacy engineers | Partial: see ZK guide |
| Live Zallet RPC, Zaino, proof adapters | Wallet/prover/indexer teams | Not yet supported |
Install Rust CLI
Requires a compatible Rust toolchain.
cargo install --git https://github.com/Oluwa-Laughter/zerynex --locked --bin zerynex
Or clone and build both Rust executables:
git clone https://github.com/Oluwa-Laughter/zerynex
cd zerynex
cargo build --locked --release --bins
Discover the installed CLI version, supported input formats, size limits and operations without providing a transaction:
./target/release/zerynex --capabilities
See the CLI capabilities contract for integration details.
Check a synthetic fixture:
./target/release/zerynex apps/web/public/examples/clean-v6.bin --policy-file policies/shielded-only.json --json
Exit codes: 0 selected checks passed, 2 findings, 1 input error.
See project bootstrap and verification for the offline zerynex-project scaffolder, synthetic fixture checks and optional pinned GitHub Action.
Python SDK
Requires Python 3.11+ and local Rust CLI.
python3 -m venv .venv
.venv/bin/python -m pip install zerynex-python==0.2.0
Python example:
from zerynex_py import ZerynexClient, Policy
client = ZerynexClient(cli="./target/release/zerynex")
report = client.analyze_file("apps/web/public/examples/transparent-v6.bin",
Policy(deny_transparent=True))
print(report.agent_summary())
This Python adapter requires a separately installed local Rust CLI.
TypeScript/WASM SDK
Install the public package with npm install @zerynex/sdk@0.2.0.
The shipped SDK includes the matching Rust/WebAssembly engine. Ensure your bundler
serves its WASM asset; see TypeScript browser API.
Developers may also build the SDK from packages/sdk using npm, Yarn or pnpm.
Offline PCZT role-handoff harness
cargo run --locked --bin zerynex-handoff -- --manifest tests/fixtures/role-handoff/scenario.json --json
See Role-handoff harness for fixture expectations.
GitHub Actions
No app-level SDK installation is required.
- uses: actions/checkout@v4
- uses: Oluwa-Laughter/zerynex@main
with:
pczt-path: tests/fixtures/synthetic.pczt
policy-path: policies/shielded-only.json
Pin a reviewed commit SHA instead of main for production, and use synthetic, nonspendable fixture data only. See GitHub Actions.
Privacy boundaries
Zerynex does not sign transactions, generate or verify proofs, or guarantee anonymity. Do not send wallet secrets, real PCZTs or addresses to public CI, external LLMs or issue trackers. The browser inspector processes files locally through Rust/WASM. See Privacy model.