Docs · CLI

hvisk, from the terminal.

The Hvisk CLI is a thin wrapper around the SDK that exposes pay, send, and serve commands. Ideal for cron jobs, CI, and one-off scripts.

Install.

npm i -g @hvisk/cli@latest
hvisk --version

Authenticate.

hvisk login                    # opens a browser
hvisk login --key ./key.json   # for headless servers

Send.

hvisk send \
  --to 9xQe…  \
  --amount 25 \
  --token USDC \
  --privacy full

# Output:
# proof  : ok (382 ms)
# sig    : 5abc…
# explorer: https://solscan.io/tx/5abc…

Pay an invoice.

hvisk pay pay_5b3a8e7c2d4f1

Compose an SMS-ready payment.

hvisk sms compose \
  --to @lena \
  --amount 25 \
  --token USDC \
  --privacy full

# Copy this body into your default Messages app:
# PAY @lena 25 USDC priv:full n:7a2c9b1f