HandToHuman CLI reference All commands
DocsCLImarket worker-register

Public command

market worker-register

Register a supplier and hand them the token their app will use.

Exact invocation
handtohuman market worker-register --name <DISPLAY_NAME> --label <LABEL>
01

Inputs and options

--name

Display name of the person or company joining.

--label

Required: what the token is for, as market token-list shows it.

02

Output and state effect

Result

Creates a worker account with a generated id and issues one bearer token. The token’s plaintext appears in this response and nowhere else: the ledger stores only its SHA-256. The same thing happens over HTTP at POST /v1/signup, which is how a supplier joins without an operator touching anything.

Serialization

Prints { "account": …, "token": … } as pretty-printed JSON.

Refusals

  • An empty display name is refused by name.