apex-sdk-cli

Crates.ioapex-sdk-cli
lib.rsapex-sdk-cli
version0.1.5
created_at2025-11-15 09:16:39.093646+00
updated_at2026-01-13 20:14:43.16567+00
descriptionCLI tool for Apex SDK
homepagehttps://github.com/carbobit/apex-sdk
repositoryhttps://github.com/carbobit/apex-sdk
max_upload_size
id1934173
size329,586
(kh3rld)

documentation

https://docs.rs/apex-sdk-cli

README

Apex SDK CLI

Crates.io Downloads License Rust

Command-line interface for Apex SDK - unified Rust SDK for Substrate & EVM blockchain development.

Installation

cargo install apex-sdk-cli

Quick Start

# Create a new project
apex new my-project --template defi

# Navigate and build
cd my-project
cargo build

Commands

Project Management

# Create new project with templates (default, defi, nft)
apex new <project-name> [--template <template>]

# Build project
apex build [--release]

# Run tests
apex test [--filter <pattern>]

# Run benchmarks
apex bench [--filter <pattern>]

Account Management

# Generate new account
apex account generate --account-type <substrate|evm> --name <name>

# List accounts
apex account list

# Import from mnemonic
apex account import --name <name>

# Export mnemonic
apex account export --name <name>

# Get balance
apex account balance --name <name> --chain <chain>

Configuration

# Initialize config interactively
apex config init

# Show current configuration
apex config show

# Set a value
apex config set <key> <value>

# Get a value
apex config get <key>

# Validate configuration
apex config validate

# Reset to defaults
apex config reset

Chain Information

# List supported chains
apex chain list

# Get chain info
apex chain info <chain>

# Check chain health
apex chain health <chain>

Contract Deployment

# Deploy contract
apex deploy <contract> --chain <chain> --endpoint <url> [--dry-run]

Shell Completions

# Generate completions for your shell
apex completions <bash|zsh|fish|powershell|elvish>

# Example: Add to your .bashrc
apex completions bash >> ~/.bashrc

Other

# Show version
apex version

# Show help
apex --help

Supported Chains

Substrate: Polkadot, Kusama, Paseo, Westend, Moonbeam, Astar

EVM: Ethereum, Polygon, BSC, Avalanche, Arbitrum, Optimism, zkSync, Sepolia

Configuration

Config file location: ~/.config/apex-sdk/config.json

Default configuration includes:

  • Network endpoints for all supported chains
  • Default chain (Paseo testnet)
  • UI preferences (colors, progress bars)
  • Log level settings

License

Apache-2.0

Commit count: 95

cargo fmt