Platform CLI Overview
Manage Avalanche P-Chain operations from the command line
Platform CLI is a lightweight command-line tool for Avalanche P-Chain operations. It handles key management, AVAX transfers, cross-chain transfers, primary network staking, subnet creation, and L1 validator management.
Key Features
| Feature | Description |
|---|---|
| Key Management | Generate, import, export, and encrypt private keys with AES-256-GCM |
| P-Chain Transfers | Send AVAX on P-Chain and transfer between P-Chain and C-Chain |
| Staking | Add validators and delegators to the primary network |
| Subnets | Create subnets, transfer ownership, and convert to L1 blockchains |
| L1 Validators | Register, configure, and manage L1 blockchain validators |
| Chain Creation | Deploy new blockchains on existing subnets |
| Ledger Support | Optional hardware wallet integration for signing transactions |
Supported Networks
| Network | Usage | Min Validator Stake | Min Delegator Stake |
|---|---|---|---|
| Local | --rpc-url http://127.0.0.1:9650 | 1 AVAX | 1 AVAX |
| Fuji | --network fuji (default) | 1 AVAX | 1 AVAX |
| Mainnet | --network mainnet | 2,000 AVAX | 25 AVAX |
| Custom | --rpc-url <endpoint> | Varies | Varies |
Getting Started
- Install Platform CLI via the install script or build from source
- Create or import a key to sign transactions
- Follow the guides for your use case: transfers, staking, or subnet operations
Quick Links
Installation
Build from source and configure global options
Key Management
Generate, import, and encrypt private keys
Transfers
Send AVAX and perform cross-chain transfers
Staking
Add validators and delegate to the primary network
Subnets
Create subnets and manage L1 validators
Command Reference
Complete reference for all commands and flags
Support
Is this guide helpful?