🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Tokenomics

Blockchain EconomicsđŸŸĸ Free Lesson

Tokenomics

Token supply models, emission schedules, burning mechanisms, staking yields, inflation/deflation, token velocity, and utility vs security tokens.

Overview

Tokenomics is the study of token economics, including supply dynamics, distribution, incentives, and value accrual. Understanding tokenomics is essential for evaluating crypto projects.

Token Supply Models

Supply Types

Token Supply ModelsFixed Supplyâ€ĸ Maximum capâ€ĸ No new tokensâ€ĸ Deflationary pressureâ€ĸ Example: BitcoinInflationaryâ€ĸ New tokens mintedâ€ĸ Predictable rateâ€ĸ Validator rewardsâ€ĸ Example: EthereumDeflationaryâ€ĸ Tokens burnedâ€ĸ Supply decreasesâ€ĸ Scarcity increasesâ€ĸ Example: BNBDynamicâ€ĸ Algorithmicâ€ĸ Market-responsiveâ€ĸ Price-stableâ€ĸ Example: AMPLSupply Curve Examples■ Bitcoin: 21M cap, halving every 4 years■ Ethereum: ~1.7% annual, EIP-1559 burning■ BNB: Quarterly burns, deflationary■ Stablecoins: Pegged, supply = demand■ Governance: Often fixed or vesting■ Utility: Dynamic based on usage

Supply Model Implementation

python
import math
from dataclasses import dataclass
from typing import List, Callable

@dataclass
class TokenSupply:
    """Token supply model."""
    name: str
    max_supply: float
    initial_supply: float
    current_supply: float
    inflation_rate: float
    burn_rate: float

class SupplyModel:
    """Token supply modeling."""

    def __init__(self, token: TokenSupply):
        self.token = token
        self.history = []

    def get_current_supply(self) -> float:
        """Get current circulating supply."""
        return self.token.current_supply

    def calculate_inflation(self, blocks: int, block_reward: float) -> float:
        """Calculate inflation over time."""
        return blocks * block_reward

    def calculate_deflation(self, transaction_volume: float,
                           fee_burn_rate: float) -> float:
        """Calculate deflation from burns."""
        return transaction_volume * fee_burn_rate

    def simulate_supply(self, years: int,
                       blocks_per_year: int,
                       block_reward: float) -> List[dict]:
        """Simulate supply over time."""
        supply = self.token.initial_supply
        results = []

        for year in range(years):
            # Add inflation
            inflation = blocks_per_year * block_reward
            supply += inflation

            # Apply burn
            burn = supply * self.token.burn_rate
            supply -= burn

            # Cap at max
            supply = min(supply, self.token.max_supply)

            results.append({
                'year': year,
                'supply': supply,
                'inflation': inflation,
                'burn': burn
            })

        return results

# Bitcoin model
bitcoin = TokenSupply(
    name="Bitcoin",
    max_supply=21000000,
    initial_supply=0,
    current_supply=19500000,
    inflation_rate=0.0,
    burn_rate=0.0
)

# Ethereum model
ethereum = TokenSupply(
    name="Ethereum",
    max_supply=float('inf'),
    initial_supply=72000000,
    current_supply=120000000,
    inflation_rate=0.017,
    burn_rate=0.012
)

# Simulate Bitcoin
btc_model = SupplyModel(bitcoin)
btc_supply = btc_model.simulate_supply(
    years=10,
    blocks_per_year=52560,  # 10 min blocks
    block_reward=3.125  # Current reward
)

print(f"Bitcoin supply after 10 years: {btc_supply[-1]['supply']:.2f}")

Emission Schedules

Bitcoin Halving

python
def bitcoin_emission_schedule() -> List[dict]:
    """Bitcoin emission schedule with halvings."""
    schedule = []
    block_reward = 50  # Initial reward
    blocks_per_halving = 210000
    total_mined = 0

    for halving in range(33):  # 33 halvings until 2140
        start_block = halving * blocks_per_halving
        end_block = (halving + 1) * blocks_per_halving
        blocks_in_period = blocks_per_halving

        rewards_in_period = blocks_in_period * block_reward
        total_mined += rewards_in_period

        schedule.append({
            'halving': halving,
            'block_reward': block_reward,
            'start_block': start_block,
            'end_block': end_block,
            'tokens_mined': rewards_in_period,
            'total_mined': min(total_mined, 21000000),
            'year': start_block / 52560 + 2009
        })

        block_reward /= 2

    return schedule

# Generate schedule
schedule = bitcoin_emission_schedule()
for s in schedule[:5]:
    print(f"Halving {s['halving']}: {s['block_reward']:.8f} BTC, "
          f"Year {s['year']:.0f}, Total: {s['total_mined']:,.0f}")

Ethereum Emission

python
class EthereumEmission:
    """Ethereum post-merge emission model."""

    BASE_REWARD = 0.02  # ETH per slot
    SLOTS_PER_EPOCH = 32
    EPOCHS_PER_YEAR = 365.25 * 24 * 3600 / 12 / 32  # ~1,024,375

    def __init__(self, total_staked: float):
        self.total_staked = total_staked

    def calculate_validator_reward(self, validator_stake: float) -> float:
        """Calculate individual validator reward."""
        # Quadratic function based on total stake
        base_reward = self.BASE_REWARD * (validator_stake / self.total_staked)

        # Adjust for attestation performance
        attestation_reward = base_reward * 0.8
        proposal_reward = base_reward * 0.1
        sync_reward = base_reward * 0.1

        return attestation_reward + proposal_reward + sync_reward

    def calculate_annual_emission(self) -> float:
        """Calculate total annual emission."""
        # Base issuance
        base_annual = self.BASE_REWARD * self.SLOTS_PER_EPOCH * self.EPOCHS_PER_YEAR

        # Quadratic adjustment
        issuance = 64 * math.sqrt(self.total_staked)

        return issuance

    def calculate_deflation(self, burn_rate: float) -> float:
        """Calculate net inflation/deflation."""
        emission = self.calculate_annual_emission()
        burn = self.total_staked * burn_rate

        return emission - burn

# Example
eth_emission = EthereumEmission(total_staked=32000000)  # 32M ETH staked
annual_emission = eth_emission.calculate_annual_emission()
print(f"Annual emission: {annual_emission:.2f} ETH")
print(f"Inflation rate: {annual_emission / 120000000 * 100:.2f}%")

Emission Schedule Comparison

ChainInitial RewardHalving/ReductionMax Supply
Bitcoin50 BTCEvery 210K blocks (~4 yrs)21M
Ethereum~2.0 ETH/slotDynamic (post-merge)No cap
Solana0.08 SOLFixedNo cap
Polkadot10% annuallyGovernance adjustedNo cap
AvalancheNo emissionStaking rewards720M

Burning Mechanisms

EIP-1559 Fee Burning

python
class EIP1559:
    """EIP-1559 fee burning mechanism."""

    def __init__(self, base_fee: float = 1.0):
        self.base_fee = base_fee
        self.target_gas = 15000000
        self.max_change = 0.125  # 12.5%

    def update_base_fee(self, block_gas_used: int) -> float:
        """Update base fee based on gas usage."""
        if block_gas_used == self.target_gas:
            return self.base_fee

        if block_gas_used > self.target_gas:
            # Increase base fee
            gas_used_ratio = (block_gas_used - self.target_gas) / self.target_gas
            change = min(gas_used_ratio * self.max_change, self.max_change)
            self.base_fee *= (1 + change)
        else:
            # Decrease base fee
            gas_used_ratio = (self.target_gas - block_gas_used) / self.target_gas
            change = min(gas_used_ratio * self.max_change, self.max_change)
            self.base_fee *= (1 - change)

        return self.base_fee

    def calculate_burn(self, transactions: list) -> float:
        """Calculate total fees burned."""
        total_burn = 0

        for tx in transactions:
            gas_used = tx['gas_used']
            burn_amount = gas_used * self.base_fee
            total_burn += burn_amount

        return total_burn

    def calculate_priority_fee(self, tx: dict, max_fee: float) -> dict:
        """Calculate priority fee (tip) and base fee payment."""
        priority_fee = tx.get('max_priority_fee_per_gas', 0)
        effective_fee = max(self.base_fee + priority_fee, max_fee)

        return {
            'base_fee_payment': self.base_fee,
            'priority_fee': priority_fee,
            'total_fee': effective_fee,
            'burned': self.base_fee,
            'validator_tip': priority_fee
        }

# Example
eip1559 = EIP1559(base_fee=20.0)  # 20 Gwei

# Simulate blocks
for block_gas in [10000000, 20000000, 15000000]:
    new_base = eip1559.update_base_fee(block_gas)
    print(f"Gas used: {block_gas/1e6:.1f}M, Base fee: {new_base:.2f} Gwei")

Token Burn Strategies

python
class TokenBurner:
    """Token burning strategies."""

    def __init__(self, total_supply: float):
        self.total_supply = total_supply
        self.burned = 0

    def fee_burn(self, fees_collected: float, burn_percentage: float) -> float:
        """Burn percentage of transaction fees."""
        burn_amount = fees_collected * burn_percentage
        self.burned += burn_amount
        self.total_supply -= burn_amount
        return burn_amount

    def buyback_burn(self, revenue: float, token_price: float) -> float:
        """Buy tokens from market and burn."""
        tokens_bought = revenue / token_price
        self.burned += tokens_bought
        self.total_supply -= tokens_bought
        return tokens_bought

    def quarterly_burn(self, quarterly_revenue: float,
                      token_price: float) -> dict:
        """Quarterly burn based on revenue (BNB model)."""
        # BNB burns based on quarterly profit
        burn_amount = self.buyback_burn(quarterly_revenue * 0.2, token_price)

        return {
            'quarterly_burn': burn_amount,
            'total_burned': self.burned,
            'remaining_supply': self.total_supply,
            'burn_percentage': self.burned / (self.burned + self.total_supply) * 100
        }

    def calculate_deflation_rate(self, annual_burn: float) -> float:
        """Calculate annual deflation rate."""
        return annual_burn / self.total_supply

# Example
bnb_burner = TokenBurner(total_supply=200000000)

# Quarterly burns
for quarter in range(1, 5):
    revenue = 50000000  # $50M quarterly
    price = 300  # $300 per BNB
    result = bnb_burner.quarterly_burn(revenue, price)
    print(f"Q{quarter}: Burned {result['quarterly_burn']:,.0f} BNB")

Staking Yields

Staking Economics

python
class StakingYield:
    """Staking yield calculation."""

    def __init__(self, total_staked: float, total_supply: float):
        self.total_staked = total_staked
        self.total_supply = total_supply

    def calculate_apy(self, annual_rewards: float,
                      validator_count: int) -> float:
        """Calculate Annual Percentage Yield."""
        rewards_per_validator = annual_rewards / validator_count
        avg_stake = self.total_staked / validator_count

        apy = (rewards_per_validator / avg_stake) * 100
        return apy

    def calculate_real_yield(self, nominal_apy: float,
                            inflation_rate: float) -> float:
        """Calculate real yield (adjusted for inflation)."""
        real_yield = nominal_apy - inflation_rate
        return real_yield

    def calculate_compound_yield(self, principal: float,
                                apy: float, years: float) -> float:
        """Calculate compound yield."""
        return principal * (1 + apy / 100) ** years

    def staking_comparison(self) -> dict:
        """Compare yields across protocols."""
        protocols = {
            'Ethereum': {
                'total_staked': 32000000,
                'annual_rewards': 600000,
                'inflation_rate': 0.5,
                'slashing_risk': 0.01
            },
            'Solana': {
                'total_staked': 400000000,
                'annual_rewards': 50000000,
                'inflation_rate': 5.0,
                'slashing_risk': 0.001
            },
            'Cosmos': {
                'total_staked': 200000000,
                'annual_rewards': 20000000,
                'inflation_rate': 7.0,
                'slashing_risk': 0.005
            }
        }

        comparison = {}
        for protocol, data in protocols.items():
            apy = (data['annual_rewards'] / data['total_staked']) * 100
            real_apy = apy - data['inflation_rate']
            net_apy = real_apy - data['slashing_risk']

            comparison[protocol] = {
                'nominal_apy': apy,
                'inflation': data['inflation_rate'],
                'real_apy': real_apy,
                'slashing_risk': data['slashing_risk'],
                'net_apy': net_apy
            }

        return comparison

# Example
staking = StakingYield(total_staked=32000000, total_supply=120000000)
comparison = staking.staking_comparison()

for protocol, data in comparison.items():
    print(f"{protocol:10}: Nominal {data['nominal_apy']:.2f}%, "
          f"Real {data['real_apy']:.2f}%, "
          f"Net {data['net_apy']:.2f}%")

Staking Yield Components

Architecture Diagram
Staking Yield = Base Rewards + Tips + MEV - Inflation - Slashing

Where:
- Base Rewards: Protocol issuance for validation
- Tips: Priority fees from users
- MEV: Maximal extractable value
- Inflation: Dilution from new tokens
- Slashing: Penalties for misbehavior

Inflation/Deflation Analysis

Inflation Calculation

Deflationary Pressure

python
class InflationAnalyzer:
    """Analyze inflation/deflation dynamics."""

    def __init__(self, initial_supply: float):
        self.initial_supply = initial_supply
        self.current_supply = initial_supply

    def calculate_inflation(self, annual_issuance: float) -> float:
        """Calculate annual inflation rate."""
        return (annual_issuance / self.current_supply) * 100

    def calculate_deflation(self, annual_burn: float) -> float:
        """Calculate deflation rate."""
        return (annual_burn / self.current_supply) * 100

    def simulate_supply_change(self, years: int,
                              issuance_rate: float,
                              burn_rate: float) -> List[dict]:
        """Simulate supply changes over time."""
        results = []
        supply = self.initial_supply

        for year in range(years):
            issuance = supply * issuance_rate
            burn = supply * burn_rate
            net_change = issuance - burn

            supply += net_change
            inflation_rate = (net_change / (supply - net_change)) * 100

            results.append({
                'year': year,
                'supply': supply,
                'issuance': issuance,
                'burn': burn,
                'net_change': net_change,
                'inflation_rate': inflation_rate
            })

        return results

# Ethereum analysis
eth_analyzer = InflationAnalyzer(initial_supply=120000000)
eth_simulation = eth_analyzer.simulate_supply_change(
    years=10,
    issuance_rate=0.017,  # 1.7% annual
    burn_rate=0.012  # 1.2% burned
)

for sim in eth_simulation[:5]:
    print(f"Year {sim['year']}: Supply {sim['supply']:,.0f}, "
          f"Inflation {sim['inflation_rate']:.2f}%")

Inflation Comparison

ProtocolIssuanceBurnsNet Inflation
Bitcoin1.7% (halving)0%1.7% → 0%
Ethereum1.7%1.2%0.5% (often deflationary)
Solana5.0%0%5.0%
Polkadot10%0%10%
BNB0%QuarterlyDeflationary

Token Velocity

Velocity Formula

Velocity Impact on Price

python
class TokenVelocity:
    """Token velocity analysis."""

    def __init__(self):
        self.transaction_history = []

    def record_transaction(self, amount: float, timestamp: float):
        """Record transaction."""
        self.transaction_history.append({
            'amount': amount,
            'timestamp': timestamp
        })

    def calculate_velocity(self, period_days: int,
                          average_supply: float) -> float:
        """Calculate token velocity."""
        cutoff = time.time() - (period_days * 86400)

        # Sum transactions in period
        period_volume = sum(
            tx['amount'] for tx in self.transaction_history
            if tx['timestamp'] > cutoff
        )

        velocity = period_volume / average_supply
        return velocity

    def velocity_categories(self) -> dict:
        """Categorize velocity levels."""
        return {
            'high': {
                'range': '> 10',
                'description': 'Payment/Utility token',
                'implication': 'Price pressure downward'
            },
            'medium': {
                'range': '1 - 10',
                'description': 'Mixed use case',
                'implication': 'Balanced dynamics'
            },
            'low': {
                'range': '< 1',
                'description': 'Store of value/Governance',
                'implication': 'Price pressure upward'
            }
        }

# Example
velocity = TokenVelocity()

# Simulate transactions
for _ in range(100):
    velocity.record_transaction(
        amount=random.uniform(100, 1000),
        timestamp=time.time() - random.uniform(0, 30) * 86400
    )

v = velocity.calculate_velocity(period_days=30, average_supply=1000000)
print(f"30-day velocity: {v:.2f}")
print(f"Category: {'High' if v > 10 else 'Medium' if v > 1 else 'Low'}")

Utility vs Security Tokens

Classification Criteria

python
class TokenClassifier:
    """Classify tokens as utility or security."""

    def __init__(self):
        self.howey_test_criteria = [
            'investment_of_money',
            'common_enterprise',
            'expectation_of_profit',
            'efforts_of_others'
        ]

    def classify_token(self, token_info: dict) -> dict:
        """Classify token based on characteristics."""
        score = 0
        reasons = []

        # Check Howey Test criteria
        if token_info.get('investment_of_money', False):
            score += 1
            reasons.append('Requires investment of money')

        if token_info.get('common_enterprise', False):
            score += 1
            reasons.append('Common enterprise with issuer')

        if token_info.get('expectation_of_profit', False):
            score += 1
            reasons.append('Users expect profit')

        if token_info.get('efforts_of_others', False):
            score += 1
            reasons.append('Profit depends on others')

        # Additional factors
        if token_info.get('has_utility', False):
            score -= 1
            reasons.append('Has clear utility')

        if token_info.get('decentralized', False):
            score -= 1
            reasons.append('Decentralized network')

        if token_info.get('pre_sale', False):
            score += 1
            reasons.append('Pre-sale to investors')

        # Classification
        if score >= 3:
            classification = 'Security Token'
        elif score <= 0:
            classification = 'Utility Token'
        else:
            classification = 'Hybrid Token'

        return {
            'classification': classification,
            'score': score,
            'reasons': reasons,
            'howey_test': score >= 3
        }

# Example tokens
tokens = [
    {
        'name': 'Bitcoin',
        'investment_of_money': False,
        'common_enterprise': False,
        'expectation_of_profit': False,
        'efforts_of_others': False,
        'has_utility': True,
        'decentralized': True,
        'pre_sale': False
    },
    {
        'name': 'Pre-sale Token',
        'investment_of_money': True,
        'common_enterprise': True,
        'expectation_of_profit': True,
        'efforts_of_others': True,
        'has_utility': False,
        'decentralized': False,
        'pre_sale': True
    }
]

classifier = TokenClassifier()
for token in tokens:
    result = classifier.classify_token(token)
    print(f"{token['name']}: {result['classification']} (score: {result['score']})")

Token Type Comparison

AspectUtility TokenSecurity Token
PurposeAccess to serviceInvestment
RegulationLess regulatedSEC regulated
Profit expectationNo (use value)Yes (price appreciation)
ExamplesFilecoin, Basic Attention TokentZERO, Securitize tokens
ComplianceLighterHeavy (KYC/AML)
TradingAny exchangeRegulated exchanges

Trade-offs

Token Design Trade-offs

Trade-offOption AOption B
SupplyFixed capDynamic
DistributionFair launchPre-mine
InflationHigh rewardsLow inflation
BurnsAggressiveConservative
VestingShort lockupLong lockup

Staking vs Liquidity

AspectStakedLiquid
YieldHigherLower
LiquidityLockedAvailable
SecurityContributesNone
RiskSlashingSmart contract
ParticipationActivePassive

Real-World Examples

Bitcoin Tokenomics

  • Max supply: 21M BTC
  • Current supply: ~19.5M BTC
  • Halving: Every 210K blocks (~4 years)
  • Current reward: 3.125 BTC/block
  • Projected final halving: 2140

Ethereum Tokenomics

  • No max supply
  • Post-merge issuance: ~0.5% annually
  • EIP-1559 burn: ~1.2% annually
  • Net deflation: Often negative
  • Staking ratio: ~27%

BNB Tokenomics

  • Initial supply: 200M BNB
  • Quarterly burns: Based on profit
  • Target: 100M BNB (50% burn)
  • Burn history: $5B+ burned

Interview Questions

Q1: Explain the relationship between token velocity and price using the equation of exchange.

Answer: The equation of exchange states:

Where:

  • = Money supply (token supply)
  • = Velocity (transactions per period)
  • = Price level
  • = Quantity of goods/services

Solving for price:

Key insight: High velocity can suppress price, even with limited supply.

Example: If a token has high velocity (used frequently for payments), it doesn't need to be held long, reducing demand and price pressure.

Solutions to reduce velocity:

  1. Staking mechanisms
  2. Governance rights
  3. Fee discounts for holding
  4. Token burns reducing supply

Q2: How do different emission schedules affect token value over time?

Answer:

ScheduleEffectExample
Fixed capIncreasing scarcityBitcoin
Decreasing issuanceSlowing inflationBitcoin halving
Constant ratePredictable dilutionSolana
DynamicMarket-responsiveEthereum post-merge
DeflationaryValue accrualBNB burns

Key factors:

  1. Scarcity: Fixed cap creates store of value narrative
  2. Predictability: Known schedules enable planning
  3. Demand alignment: Issuance should match network growth
  4. Value accrual: Burns create deflationary pressure

Q3: What is the difference between real yield and nominal yield in staking?

Answer:

Nominal yield: Staking rewards in token terms

Real yield: Adjusted for inflation dilution

Example:

  • Nominal yield: 5%
  • Inflation rate: 3%
  • Real yield: 2%

Why it matters:

  • High nominal yield with high inflation doesn't increase purchasing power
  • Deflationary tokens can have positive real yield even with low nominal rewards
  • Stakers should evaluate real yield for true returns

Quiz Questions

Q1: What is Bitcoin's current block reward after the 2024 halving?

A) 6.25 BTC B) 3.125 BTC C) 1.5625 BTC D) 0.78125 BTC

Answer: B) 3.125 BTC

Q2: What is the primary purpose of EIP-1559 fee burning?

A) Reduce transaction fees B) Create deflationary pressure C) Reward validators D) Increase block size

Answer: B) Create deflationary pressure

Q3: Which factor would classify a token as a security under the Howey Test?

A) Has utility in a network B) Decentralized governance C) Profit depends on efforts of others D) Open-source codebase

Answer: C) Profit depends on efforts of others


Practice

  1. Model token supply curves for different emission schedules
  2. Calculate real vs nominal staking yields
  3. Analyze the impact of burning mechanisms on supply
  4. Compare tokenomics models across different protocols
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-09-22

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Continue Learning

Suggested next tutorials based on this topic

Need Expert Blockchain Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement