A command-line interface for building and interacting with ZetaChain universal applications. Seamlessly interact with EVM, Solana, Bitcoin, Sui, and TON, all from one CLI.
- Scaffold new ZetaChain universal apps from templates
- Spin up a local multi-chain development environment (EVM, Solana, etc.) in one command
- Query cross-chain fees, contracts, balances, cross-chain transaction, tokens, and more
- Make cross-chain calls between Solana, Sui, Bitcoin, TON, and universal apps on ZetaChain
- Transfer supported tokens across connected chains
- Node.js ≥ 18
- Git (for template cloning)
- (Optional) Docker ≥ 24 for
localnet
Run without installing:
npx zetachain@next newOr install globally:
npm install -g zetachain@latestUse zetachain@next for bleeding-edge builds.
Create a new project:
zetachain newStart localnet:
zetachain localnet startQuery cross-chain balances:
zetachain query balancesThe ZetaChain CLI can be used as an MCP (Model Context Protocol) server, allowing AI assistants like Claude Code and Cursor to execute ZetaChain commands.
Install locally for full access to your filesystem, accounts, and localnet:
npm install -g zetachain
zetachain mcp install --client claude # for Claude Code
# or
zetachain mcp install --client cursor # for CursorThen restart your AI editor to activate the MCP server.
Check installation status:
zetachain mcp listRemove:
zetachain mcp remove --client claudeFor quick setup without local installation, visit Smithery and click "One-Click Install".
For full command documentation:
zetachain docsOr use --help with any command:
zetachain accounts --helpWe welcome contributions! Please open issues or submit pull requests.