# MazeXChain CLI

The MazeXChain CLI is a local operator interface for node, chain, wallet, config, and packaging tasks.

It does not define protocol validity. It calls the same runtime modules used by the HTTP server.

## Usage

```powershell
npm run cli -- help
npm run cli -- node start --port 3000
npm run cli -- node health --url http://localhost:3000
npm run cli -- chain status
npm run cli -- chain verify
npm run cli -- chain replay
npm run cli -- wallet create
npm run cli -- wallet balance mazex1...
npm run cli -- config show
npm run cli -- downloads package
```

## Wallet Safety

`wallet create` hides the private key by default.

Use `--out wallet.json` only for a local backup file that you can secure yourself.

Use `--show-private` only in a private local terminal.

## Public Downloads

`downloads package` regenerates:

```text
public/downloads/mazexchain-wallet-extension.zip
public/downloads/mazexchain-node-program.zip
public/downloads/mazexchain-chain-data.zip
public/downloads/mazexchain-whitepaper-zh.pdf
public/downloads/mazexchain-whitepaper-en.pdf
public/downloads/manifest.json
```
