CyxWiz LogoCyxWiz
DocsStaking

Staking

Stake CYXWIZ tokens to increase node priority, earn rewards, and build reputation.

Overview

Staking CYXWIZ tokens provides several benefits:

  • Job Priority: Higher stake = first access to high-paying jobs
  • Reputation Boost: Stake contributes to overall reputation score
  • Staking Rewards: Earn a share of platform fees
  • Governance Rights: Vote on protocol proposals

Staking Tiers

BronzeTier 1

1,000 CYXWIZ

  • Basic priority
  • Standard rewards
SilverTier 2

10,000 CYXWIZ

  • Medium priority
  • +1% reward bonus
GoldTier 3

100,000 CYXWIZ

  • High priority
  • +3% reward bonus
PlatinumTier 4

1,000,000 CYXWIZ

  • Top priority
  • +5% reward bonus

Reputation System

Reputation score is calculated from multiple factors:

pub struct NodeReputation {
    pub node_id: Pubkey,
    pub total_jobs: u64,
    pub successful_jobs: u64,
    pub failed_jobs: u64,
    pub total_compute_hours: u64,
    pub average_rating: f32,       // 0.0 - 5.0
    pub stake_amount: u64,
    pub score: f64,                // Final score (0.0 - 1.0)
}

// Score calculation weights:
// - Success rate:      40%
// - User ratings:      30%
// - Experience:        15%
// - Stake amount:      15%

fn calculate_reputation(stats: &NodeReputation) -> f64 {
    let success_rate = stats.successful_jobs as f64 /
                       stats.total_jobs.max(1) as f64;
    let rating_factor = stats.average_rating as f64 / 5.0;
    let experience_factor = (stats.total_jobs as f64).log10() / 5.0;
    let stake_factor = (stats.stake_amount as f64).log10() / 12.0;

    0.4 * success_rate +
    0.3 * rating_factor +
    0.15 * experience_factor.min(1.0) +
    0.15 * stake_factor.min(1.0)
}

How to Stake

Via Engine GUI
  1. Open the Wallet panel in CyxWiz Engine
  2. Ensure your wallet has sufficient CYXWIZ tokens
  3. Click "Stake" button
  4. Enter the amount to stake
  5. Confirm the transaction in your wallet
Via CLI
# Stake tokens
cyxwiz stake 10000 --wallet ~/.config/solana/id.json

# Check stake status
cyxwiz stake status

# Unstake tokens
cyxwiz unstake 5000

Staking Rewards

Stakers earn a portion of platform fees from all completed jobs:

SourcePercentageDescription
Job Fees5%Share of platform's 10% fee
Tier Bonus1-5%Additional based on staking tier
GovernanceVariableRewards for voting participation

Slashing Conditions

Stakes can be slashed for malicious or negligent behavior:

ViolationSlash AmountConditions
Malicious Behavior100%Proven data theft, attacks, fraud
Invalid Results50%Submitting corrupted/fake models
Repeated Failures10%>20% job failure rate
Abandonment5%Leaving jobs incomplete

Unstaking

Cooldown Period

Unstaking requires a 7-day cooldown period before tokens can be withdrawn. This prevents quick stake-unstake cycles.

Early Withdrawal

Emergency withdrawal available with 5% penalty fee. Useful if you need immediate access to funds.

# Normal unstaking (7-day cooldown)
cyxwiz unstake 5000

# Check cooldown status
cyxwiz stake status
# Output: 5000 CYXWIZ unstaking, available in 6d 12h

# Emergency withdrawal (5% penalty)
cyxwiz unstake 5000 --emergency
# Warning: 250 CYXWIZ penalty will be applied

Best Practices

Start Small
Begin with Bronze tier to test the system before committing larger amounts.
Maintain Uptime
Higher uptime means more jobs completed, leading to better reputation and rewards.
Hardware Matching
Only accept jobs your hardware can handle reliably to avoid failure penalties.
Monitor Performance
Regularly check your reputation score and job completion rate in the dashboard.