Staking Worker Pallet
Staking Workers are off-chain agents that verify transactions, maintain price accuracy, and bridge Unit Network to external blockchains.
Responsibilities
| Task | Description |
|---|---|
| Price Updates | Fetch cryptocurrency prices from external sources |
| Consensus | Reach agreement every 4 blocks |
| Transaction Verification | Validate deposits and withdrawals on external chains |
| Data Integrity | Ensure only legitimate data enters the blockchain |
Becoming a Worker
- Stake UNITCOIN — Lock tokens as collateral
- Register — Submit registration transaction
- Earn shares — Proportional to your stake
- Perform tasks — Validate, provide data, build consensus
- Receive rewards — Earn tokens for completed tasks
Worker States
| State | Description |
|---|---|
| Active | Operational and performing tasks |
| Disabled | Unregistered 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.