Skip to main content

Staking Worker Pallet

Staking Workers are off-chain agents that verify transactions, maintain price accuracy, and bridge Unit Network to external blockchains.


Responsibilities

TaskDescription
Price UpdatesFetch cryptocurrency prices from external sources
ConsensusReach agreement every 4 blocks
Transaction VerificationValidate deposits and withdrawals on external chains
Data IntegrityEnsure only legitimate data enters the blockchain

Becoming a Worker

  1. Stake UNITCOIN — Lock tokens as collateral
  2. Register — Submit registration transaction
  3. Earn shares — Proportional to your stake
  4. Perform tasks — Validate, provide data, build consensus
  5. Receive rewards — Earn tokens for completed tasks

Worker States

StateDescription
ActiveOperational and performing tasks
DisabledUnregistered or slashed; must wait 1,200 blocks to re-register

Slashing

Workers providing incorrect data or failing duties are slashed — losing staked tokens. This ensures honesty and reliability.

Think of staking workers as digital watchdogs — they monitor external blockchains, report findings, put up security deposits, and earn rewards for honest work.