CLI Tools

ATSHI CLI — Your Blockchain, From Your Terminal

Deploy contracts, manage keychains, query the network, and automate workflows. One tool, every operation, zero browser required.

One Command to Install

The CLI will be available via npm, Homebrew, and direct binary download.

npm

Node.js package manager

npm install -g @atshi/cli Coming Soon

Homebrew

macOS & Linux

brew install atshi/tap/cli Coming Soon

Binary

Direct download script

curl -fsSL https://get.atshi.network | sh Coming Soon

What You Can Do

Six categories of commands covering every aspect of the ATSHI Network.

1. Project Scaffolding

atshi init generates a complete project structure with contract templates, tests, config, and CI/CD pipelines. From zero to coding in 10 seconds.

2. Deploy Contracts

Compile, deploy, upgrade, and interact with WASM smart contracts in one command. Hot-upgrade running contracts without downtime.

3. Deploy Websites

Publish full websites on-chain with atshi web deploy ./dist. HTML, CSS, JS, images — served directly from the blockchain. No server, no CDN.

4. Import & Export

Export on-chain database tables to JSON, CSV, or Parquet with atshi store export. Import data back with schema validation. Backup, migrate, analyze.

5. Keychain Management

Create keychains, add services, derive keys, manage access. Full keychain lifecycle from the terminal.

6. Transaction Builder

Build, sign, and send transactions interactively or via scripts. Pipe JSON, batch operations, automate flows.

7. Network Queries

Inspect chains, fetch transaction data, query contract state with GraphQL. Real-time subscriptions from the terminal.

8. Multi-Network

Switch between testnet and mainnet with --network. Same commands, different target. Environment profiles for teams.

And More Coming…

FHE circuit compilation, GS1 resolver management, NFC chip provisioning, virtual network configuration — the CLI grows with the protocol. Every new service gets a command.

Preview

From zero to deployed — in 4 commands.

$ atshi init my-dapp
✓ Project created at ./my-dapp

$ atshi deploy --network testnet
✓ Contract deployed at 0x00ab12...

$ atshi web deploy ./dist --name my-site
✓ Website deployed at my-site.atshi.network

$ atshi store export batches --format csv
✓ Exported 1,247 records to batches.csv

CI/CD Integration

Ship smart contracts like you ship software — automated, tested, repeatable.

Pipeline-Ready Templates

GitHub Actions, GitLab CI, Jenkins — ready-made workflow templates that plug into your existing pipeline. Zero config to get started.

Automated Deployment

atshi deploy in your pipeline means automated contract deployment on every merge. Tag-based promotion from testnet to mainnet.

Local Testnet

atshi test runs your full test suite against a local testnet. Fast feedback loops, deterministic results, no external dependencies.

Secrets Management

Environment variables for credentials — ATSHI_SEED, ATSHI_NETWORK. Works with every CI secrets store out of the box.

Non-Interactive Mode

Every command supports --yes and JSON output for headless environments. No prompts, no manual steps — fully scriptable.

Your Terminal Is Your Gateway to ATSHI

Install the CLI and start deploying, querying, and automating — all without leaving your terminal.