Skip to content

CLI Examples

This guide provides practical examples of common operations using Atom Core’s CLI.

Basic Setup

First, set up your environment variables:

Terminal window
export ATOM_RPC_URL="https://api.mainnet-beta.solana.com"
export ATOM_PLAYER_PROFILE="your_profile_address"
export ATOM_OWNER="your_wallet_address"
export ATOM_HOT_WALLET="your_keypair"

Fleet Operations

Dock a Fleet

Terminal window
atom exec dock "FleetName123"

Start Mining

Terminal window
atom exec start-mining "FleetName123" "ResourceMint123"

Load Cargo

Terminal window
atom exec load-cargo "FleetName123" --resources "ResourceMint123,fixed,100,fuel_tank"

Warp to Sector

Terminal window
atom exec warp "FleetName123" "30,40"

Crafting Operations

Start Crafting

Terminal window
atom exec start-crafting --crewAmount 10 --quantity 5 --recipe "RecipeMint123" --sector "30,40"