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#
| Tier | Lock | Multiplier |
|---|---|---|
| Flex | 1 day | 1× |
| Builder | 7 days | 1.25× |
| Core | 30 days | 1.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 weightBecause 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#
- Approve STARDUST and call
stake(amount, tierId)in Stake. Minimum stake: 1 STARDUST. - Watch Energy accrue live. Call
claim()any time to mint it to your wallet. - 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.