SecretNetwork icon indicating copy to clipboard operation
SecretNetwork copied to clipboard

feat: Implement Fixed Block Rewards for Sustainable Tokenomics

Open zenopie opened this issue 1 year ago • 2 comments

Description:

Summary

Replaces percentage-based inflation with fixed 4 SCRT per block emissions for sustainable, predictable tokenomics.

Problem

Current percentage-based inflation causes emissions to grow indefinitely with supply:

  • Year 1: 337M supply × 9% = 30M SCRT minted
  • Year 10: 550M supply × 9% = 50M SCRT minted ❌
  • Emissions accelerate forever, diluting token value

Solution

Fixed block rewards: 4 SCRT per block = constant 21M SCRT/year

Impact

Metric Today Year 5 Year 10
Annual Emission 21M SCRT 21M SCRT 21M SCRT
Inflation Rate 6.2% 4.8% 3.9%
Staking APR ~14.7% ~11% ~9%

Changes

  • ✅ Custom x/mint module with fixed block rewards
  • ✅ Fixed reward: 4 SCRT (4,000,000 uscrt) per block
  • ✅ Upgrade handler v1.24 for seamless migration
  • ✅ ~30% immediate reduction in inflation

Benefits

  • ✅ Predictable emissions - never grows
  • ✅ Sustainable long-term tokenomics
  • ✅ Still competitive staking rewards
  • ✅ Inflation naturally decreases as supply grows

TODO Before Merge

  • [ ] Add unit tests for mint keeper
  • [ ] Add unit tests for BeginBlocker
  • [ ] Implement gRPC query endpoints
  • [ ] Add CLI query commands
  • [ ] Test upgrade on testnet
  • [ ] Integration tests
  • [ ] Documentation updates

Testing Checklist

  • [ ] Local build passes
  • [ ] Unit tests pass
  • [ ] Testnet deployment successful
  • [ ] Upgrade simulation validated
  • [ ] Community governance review

Note: This is a DRAFT PR. Core logic is implemented but needs tests, query endpoints, and testnet validation before merge.

zenopie avatar Nov 26 '25 06:11 zenopie

or you could do fixed per second so you don't incentivize block acceleration

zenopie avatar Nov 26 '25 06:11 zenopie

@zenopie I think you actually hard coded blocktime assumptions, but best practice differs. What you'd likely want to do is replace the hard coded calculation of blocks per year to BlocksPerYear. This is a target, not protocol enforcable due to real world network conditions and the ability of node runners to change node config timings. It has drifted in the past, and when it does, maintenance via gov is done by doing a param change proposal to match.

OGNodeFather avatar Dec 07 '25 22:12 OGNodeFather