| Crates.io | hylix |
| lib.rs | hylix |
| version | 0.8.1 |
| created_at | 2025-09-05 12:43:45.750283+00 |
| updated_at | 2025-12-03 10:31:35.619846+00 |
| description | Build, test & deploy verifiable apps on Hyli |
| homepage | https://hyli.org/ |
| repository | https://github.com/hyli-org/hyli/ |
| max_upload_size | |
| id | 1825449 |
| size | 218,220 |
Build, test & deploy verifiable apps on Hyli.
Hyli is a high-performance blockchain with built-in privacy. It enables builders and institutions to design private, compliant, and high-performance systems.
Hylix is a developer toolbox and CLI (hy) to build verifiable apps on Hyli, a high-performance blockchain with built-in privacy.
Developers who are building apps on the Hyli blockchain and have prior knowledge of Rust and CLI usage.
Weβre just getting started. If you're testing Hylix early:
Install the CLI:
cargo install hylix
Then run:
hy new my-vapp
cd my-vapp
hy build
hy devnet
hy test
| Command | Shortcut | Action |
|---|---|---|
hy new [PROJECT] |
n | Create a project using the scaffold, choosing SP1 or Risc0 for your backend. |
hy build |
b | Build frontend. |
hy test |
t | Run unit or end-to-end tests. |
hy run |
r | Start backend service. |
hy devnet |
d | Start and manage local node. |
hy contract |
c | Manage contracts. |
hy clean |
Delete build artifacts. (This is done automatically on build.) |
|
hy config |
Manage project configuration. |
hy new [PROJECT]Generate a new project:
hy new my-vapp
A Hylix vApp project is made of three main components:
hy run
Each part is optional: you can build CLI-only vApps, headless backends, or full dApps.
Read more: Scaffold repo | Quickstart in docs.
hy buildBuild the project:
hy build
Then, clean the project build artifacts:
hy clean
hy devnet| Command | Alias | Description |
|---|---|---|
up |
u |
Start the local devnet |
down |
d |
Stop the local devnet |
status |
ps |
Check the status of the local devnet |
restart |
r |
Restart the local devnet |
bake |
b |
Create and fund test accounts |
fork |
f |
Fork a running network |
env |
e |
Print environment variables for sourcing in bash |
logs |
l |
Follow logs of a devnet service |
help |
Print this message or the help of the given subcommand(s) |
hy devnet up launches a local devnet with:
See Configuration section for customization.
hy devnet up
# And to stop all services
hy devnet down
Check status of devnet
hy devnet ps
# Or
hy devnet status
Export devnet env vars:
source <(hy devnet env)
Want to fork a running network ?
hy devnet fork [ENDPOINT]
hy testRun your vAppβs end-to-end tests in a fully orchestrated local Hyli environment.
hy test
Read more on executing unit & E2E tests.
cargo test or custom test runnershy test does (under the hood)hy devnet if not already runninghy build)hy runtests/ using cargo test--keep-alive is set)hy test
Want to keep the devnet alive after tests?
hy test --keep-alive
hy runStart your backend service locally or on testnet.
The app backend registers your contract, runs a local auto-prover, and launches core modules like the contract indexer. You can customize the backend in the server/ folder.
hy run
By default, hy run operates in local dev mode.
--testnet: Register and interact with contracts on the public Hyli testnet.--watch: Automatically rebuild and re-register on file changes (coming soon)hy run does (under the hood)Hylix stores its configuration in ~/.config/hylix/config.toml (Linux). You can customize various aspects of the CLI behavior:
You can specify custom Docker images for different services in your devnet configuration:
[devnet]
# Custom Docker images for each service
node_image = "ghcr.io/hyli-org/hyli:latest"
wallet_server_image = "ghcr.io/hyli-org/wallet/wallet-server:main"
wallet_ui_image = "ghcr.io/hyli-org/wallet/wallet-ui:main"
# Or use completely custom images:
# node_image = "my-registry.com/my-hyli-node:v1.0.0"
# wallet_server_image = "my-registry.com/my-wallet-server:latest"
# wallet_ui_image = "my-registry.com/my-wallet-ui:dev"
This allows you to:
Hylix builds on top of:
hy upload): upload your compiled ELF to a prover network without setting up local proving infrastructurehy run --testnet) to start a backend and deploy the contract on a prover networkπ Website | Docs | Hyli Guide | Quickstart | Tooling
Follow on X | LinkedIn | Telegram | YouTube | Blog & Newsletter