The toolbox commands provide utility functions for common Solana blockchain operations, including SOL management and token operations.
mplx toolbox <object> <command> [options]# Check SOL balance
mplx toolbox sol balance [address]
# If no address provided, checks configured wallet's balance
# Transfer SOL
mplx toolbox sol transfer <amount> <recipient>
Example: mplx toolbox sol transfer 1 AKQwGqAhAYHXpNELLVhkf8fNXxEGzWxAF2UGjHqXbspw# Create a new token
mplx toolbox token create [options]
--wizard # Use interactive wizard mode
--name <name> # Token name
--symbol <symbol> # Token symbol
--decimals <num> # Number of decimals
--image <path> # Token image file
--mint <amount> # Initial mint amount
# Update token metadata
mplx toolbox token update <mint> [options]
--name <name> # New token name
--symbol <symbol> # New token symbol
--image <path> # New token image
--description <text> # New description
# Transfer tokens
mplx toolbox token transfer <mint> <amount> <recipient>
Example: mplx toolbox token transfer TokenMint123... 100 Recipient456...$ mplx toolbox token create --wizard
? Enter token name: My Token
? Enter token symbol: MTK
? Enter number of decimals: 9
? Select image file: ./logo.png
? Enter initial mint amount: 1000000000
Creating token...
✓ Token created successfully!
Mint: 7KVswz8sCfXy2giGdnkqePccPJSDQZCnhHUrfKvGYt9L# Create token with specific parameters
mplx toolbox token create \
--name "My Token" \
--symbol "MTK" \
--decimals 9 \
--image ./token-logo.png \
--mint 1000000000
# Update token metadata
mplx toolbox token update <mint> \
--name "Updated Token Name" \
--image ./new-logo.png
# Check SOL balance
mplx toolbox sol balance- Always verify addresses and amounts before transfers
- Test operations on devnet first
- Keep track of mint addresses
- Back up token metadata
- Double-check recipient addresses before transfers
The CLI provides clear error messages for common issues:
- Insufficient balance for transfers
- Invalid mint addresses
- Invalid wallet addresses
- Network connectivity issues
- Transaction failures