Energy

Stake STARDUST

Lock STARDUST and earn Energy every second.

Lock STARDUST in the StardustStaking contract and earn ENERGY every second while it's locked. Your STARDUST always comes back in full when the lock ends.

Lock periods#

TierLockMultiplier
Flex1 day1×
Builder7 days1.25×
Core30 days1.6×

How rewards are shared#

Every day a fixed pool of 100,000 ENERGY is shared between all earning positions, second by second, by weight:

formula
weight = amount × multiplier
your Energy per day = daily pool × your weight ÷ total weight

Because the pool is fixed, more stakers means a smaller share each, and stakers leaving means a bigger share. The owner can change the daily pool; a change only applies from that moment on, and Energy already earned never changes.

Steps#

  1. Approve STARDUST and call stake(amount, tierId) in Stake. Minimum stake: 1 STARDUST.
  2. Watch Energy accrue live. Call claim() any time to mint it to your wallet.
  3. When the lock ends, unstake(positionId) returns that position's STARDUST.

Rules#

  • You can't unstake before your lock ends.
  • Up to 100 open positions per wallet.
  • Changes to tiers only apply to new stakes; open positions keep their lock and multiplier.
  • Staked STARDUST can never be taken by the owner: the rescue function refuses it.