Skip to content

CLI Overview

View as Markdown

The thru command is the main command-line interface for interacting with the Thru network.

Use this page to decide which command family fits your task before you load a more detailed reference page.

Use this page to decide which command family fits your task before you load a more detailed reference page.

Read Global Flags and configuration first if you need to understand:

  • --json, --quiet, --url, and --network
  • where config lives on disk
  • how named networks override the default RPC target
  • when a command accepts key names versus raw ta... addresses
If your task is…Open this page
Query a node or inspect account stateRPC
Deploy or manage a programProgram
Work with raw upload buffersUploader
Publish or inspect ABIs, or work with ABI YAML toolingABI
Manage local signing keysKeys
Create or compress accountsAccount
Build or submit a transaction directlyTransaction
Manage token mints and token accountsToken
Work with name registration or DNS-style recordsRegistrar or Name Service
Install the dev toolchain or scaffold a projectdev
Re-execute or symbolicate a failing transactionDebug
  1. Configure an RPC endpoint with network commands.
  2. Check Global Flags and configuration if you need to know how config, key lookup, or --json output works.
  3. Jump to the relevant command family page instead of scanning the whole CLI surface.
  4. Only load the detailed command section you need for the task at hand.