Tenzro Testnet is live —request testnet TNZO

CLI Reference

The Tenzro CLI (tenzro) provides full control over node operations, wallet management, model serving, staking, governance, identity, payments, agents, and more. All commands communicate with a running tenzro-node via JSON-RPC.

Installation

# macOS / Linux
curl -sSL https://get.tenzro.network | sh

# Or build from source
cargo install --path crates/tenzro-cli

# Verify installation
tenzro version

Global Options

tenzro [OPTIONS] <COMMAND>

Options:
  -v, --verbose        Enable verbose logging
      --format <text|json>  Output format (default: text)
  -h, --help           Show help
  -V, --version        Show version

Command Groups

CommandDescription
joinOne-click network participation
nodeNode management
walletWallet operations
modelModel management
stakeStaking operations
governanceOn-chain governance
providerProvider management
scheduleProvider availability scheduling
inferenceInference requests
identityTDIP identity management
paymentPayment protocols (MPP / x402)
agentAI agent operations
cantonCanton/DAML integration
escrowEscrow and payment channels
taskTask marketplace
marketplaceAgent marketplace
skillSkill registry
toolTool registry (MCP servers)
tokenToken management
contractContract deployment
bridgeCross-chain bridge
debridgedeBridge DLN cross-chain
lifiLI.FI bridge aggregator
nftNFT operations (ERC-721/1155)
complianceERC-3643 compliance
crosschainERC-7802 cross-chain tokens
eventsEvent streaming
cryptoCryptographic operations
teeTEE operations
zkZero-knowledge proofs
custodyMPC wallet custody
appApplication management
ceremonyZK trusted setup ceremony

Standalone Commands

CommandDescription
chatInteractive REPL for AI model chat with session history
hardwareDetect and display hardware profile (CPU, GPU, TEE)
set-usernameSet your Tenzro username
faucetRequest testnet TNZO tokens (100 TNZO, 24h cooldown)
infoShow network information
versionShow version information

Common Examples

Wallet Operations

# Create a new wallet
tenzro wallet create --name my-wallet

# Import an existing identity (provisions wallet)
tenzro wallet import --did "did:tenzro:human:abc123"

# Check balance (calls eth_getBalance)
tenzro wallet balance

# Send TNZO to another address
tenzro wallet send --to 0xRecipient... --amount 10.0

# List all accounts
tenzro wallet list

Model Serving

# List available models
tenzro model list

# Download a model from HuggingFace
tenzro model download gemma3-270m

# Serve a model (registers as provider + starts serving)
tenzro model serve gemma3-270m

# Interactive chat
tenzro chat gemma3-270m

# Stop serving
tenzro model stop gemma3-270m

Identity and Payments

# Register a human identity
tenzro identity register --type human --name "Alice"

# Register a machine identity
tenzro identity register --type machine --name "trading-bot"

# Create a payment challenge (MPP or x402)
tenzro payment challenge --protocol mpp --amount 1000000000000000000

# Pay via MPP
tenzro payment pay --protocol mpp --challenge-id ch_123...

Staking and Governance

# Stake TNZO as a validator
tenzro stake deposit --amount 10000 --role validator

# Check voting power
tenzro stake info

# List governance proposals
tenzro governance list

# Vote on a proposal
tenzro governance vote --proposal-id prop_001 --vote yes

Agent Operations

# Register a new agent
tenzro agent register --name "research-agent"

# List agent templates in the marketplace
tenzro marketplace list

# Spawn an agent from a template
tenzro agent spawn-template --template-id tmpl_001

# Send a message to another agent
tenzro agent send --to agent_002 --message "Analyze this data"

Output Formats

All commands support --format json for machine-readable output:

# JSON output for scripting
tenzro wallet balance --format json

# Pipe to jq
tenzro model list --format json | jq '.models[].name'

RPC Endpoint

By default, the CLI connects to http://127.0.0.1:8545. Override with the --rpc flag:

# Connect to testnet
tenzro --rpc https://rpc.tenzro.network wallet balance

# Connect to local node on custom port
tenzro --rpc http://127.0.0.1:9545 info