Vision
The Cowboy CLI (cowboy) is the primary tool for developers building on the Cowboy blockchain. It handles project scaffolding, wallet management, actor development, token operations, data feeds, and deployment — all from a single binary.
Design principles:
- Zero-config start —
cowboy init localcreates a ready-to-code project with a funded wallet in one command. - Convention over configuration — Keys live in
.cowboy/, actors live inactors/, and the CLI finds them automatically. - Explicit over magic — Every command shows what it does. No hidden state, no surprise network calls.
- Network-aware — Commands target
localordev. The network choice affects defaults (RPC URL, faucet, chain ID).
Command Overview
| Command | Purpose |
|---|---|
cowboy version | Print CLI version |
cowboy init <network> | Scaffold a project, generate wallet, fund via faucet |
cowboy wallet | Create and manage secp256k1 wallets (create, address, balance, upgrade, mnemonic) |
cowboy account | Query account info (balance, nonce, info) |
cowboy actor new <name> | Scaffold a new actor from a template |
cowboy actor deploy | Deploy an actor to the chain |
cowboy actor execute | Call an actor handler |
cowboy actor get | Query actor state |
cowboy actor address | Compute actor address without deploying |
cowboy actor logs | Fetch actor event log |
cowboy transfer | Transfer CBY between accounts |
cowboy transaction | Submit and query transactions (submit, get, status) |
cowboy block | Query blocks (by-height, by-hash, latest) |
cowboy query | Bulk queries (blocks, transactions) |
cowboy runner | Runner operations (get, list, register) |
cowboy job | Off-chain compute jobs (get, status, runners, results, verified, submit) |
cowboy token | CIP-20 token operations (create, transfer, approve, mint, burn, freeze, unfreeze, info, balance, list) |
cowboy watchtower | Data feed operations (init, new feed, publish, subscribers, list, feeds) |
Project Structure
Aftercowboy init local, the directory looks like this:
Key conventions
.cowboy/keys/<network>— Per-environment private keys in PEM format..cowboy/config.json— Stores environments, RPC URLs, and the active network. Commands use this instead of requiring--rpc-urlevery time.actors/— Each subdirectory is one actor. The directory name is the actor name.
Networks
| Network | RPC URL | Faucet |
|---|---|---|
local | http://localhost:4000 | Built-in (POST /faucet) |
dev | http://rpc-01.mesa.cowboylabs.net:4000 | Built-in (POST /faucet) |
summit | TBD | TBD |
Zero-Config Workflow
After runningcowboy init local, all commands work without any flags:
--private-key and --rpc-url flags still work and take priority.
See individual spec files for detailed behavior:

