Synopsis
Runner Subcommands
cowboy runner get
Query information about a registered runner.
Behavior:
- Query the RPC endpoint for runner details at the given address.
- Print runner metadata (address, stake, status, rate card).
Example:
cowboy runner list
List all active runners on the chain.
Behavior:
- Query the RPC endpoint for all registered runners.
- Print a summary of each runner.
cowboy runner register
Register a new runner node on the chain.
Behavior:
- Load the private key using key auto-discovery.
- Build a runner registration transaction with the specified stake amount.
- Stake amount is specified in CBY (converted internally:
stake * 10^9). - Includes a default rate card for job pricing.
- Sign and submit the transaction.
Example:
Job Subcommands
cowboy job get
Retrieve a job specification by ID.
Behavior:
- Query the RPC endpoint for the job spec with the given ID.
- Print the job details (type, parameters, requester).
Example:
cowboy job status
Query the current status of a job.
Flags:
Example:
cowboy job runners
List the runners assigned to a job.
Flags:
Example:
cowboy job results
Retrieve all results submitted by runners for a job.
Flags:
Example:
cowboy job verified
Retrieve the verified (consensus) result for a job.
Flags:
Example:
cowboy job submit
Submit a new off-chain compute job.
Behavior:
- Load the private key using key auto-discovery.
- Read the job specification from a CBOR file.
- Build and sign a job submission transaction.
- Submit to the chain.
Example:
Edge Cases
- Runner registration requires sufficient CBY balance for the stake.
- Job submission requires the job spec to be valid CBOR format.
- Read-only commands (
get,list,status,runners,results,verified) do not require a private key.

