thru-cli command is the main command-line interface for interacting with the Thru network. You can use it to configure RPC connections, deploy and upgrade programs, manage tokens and name service state, and inspect ABI data.
Prerequisites
Command Areas
Network Commands
Configure named RPC endpoints and choose the default network for future commands.
Token Commands
Create mints, manage token accounts, and transfer, mint, or burn tokens.
Name Service Commands
Create registrars, register subdomains, manage records, and derive name service addresses.
Registrar Commands
Manage pricing, lease lifecycle, and registry administration for name service registrars.
ABI Commands
Inspect ABI definitions and generate language-specific bindings from ABI files.
Typical Workflow
- Configure an RPC endpoint with network commands.
- Build and deploy a program by following the program development guides.
- Use the relevant command reference for the subsystem you are working with, such as tokens or name service.