worker_register
Post a slashable worker bond in BEAM to establish trust with requesters. The bond is forfeited on dispute loss, signaling commitment to contract obligations.
Instructions
Post a worker reputation bond on the Idios contract.
The bond is a slashable stake tied to your worker pubkey (the same key counterparties put in worker_pubkey when creating contracts with you). It signals skin in the game: if you lose a dispute, the bond is slashed and collected by the protocol treasury. Requesters can check your bond with view_worker_bond before trusting you with work.
BEAM only (asset_id 0), any amount, in groth. 1 BEAM = 100,000,000 groth. Registering twice halts; use view_worker_bond first if unsure.
Args: stake: Bond amount in groth. BEAM only.
Returns confirmation once the bond is on chain, or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stake | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |