Signing key
--private-key <file>.COWBOY_PRIVATE_KEY_FILE, the path of a key file. Set it in your shell; a value only in.envis refused.COWBOY_PRIVATE_KEY, a hex key.- For an actor command on a deployed project target, the key that deployment recorded.
- The key the selected environment names, or else
default.
cowboy wallet create makes one.
Keystore
Keys live in the keystore,~/.cowboy/keys/<name>, one file per key. Commands that create or import a key write there, as default unless you pass --name.
A key file in a project, such as .cowboy/key, isn’t read. A project that still has one is refused rather than signed for with another key. Move it into the keystore:
Network
--env <name>.COWBOY_ENV.- The network
cowboy env usesaved for this project. - Your global default, set by
cowboy env useoutside a project. local.
~/.cowboy/config.json, not in the project. cowboy env current shows what applies where you are, and where it came from.
Endpoint
--rpc-url <url>.COWBOY_RPC_URL.- The selected network’s endpoint.
http://localhost:4000.
cowboy deploy and actor commands on a project target use the network’s own endpoint, and refuse an --rpc-url that doesn’t match it.