Skip to content

Implement ERC20 Reward Token with Mint/Burn Roles #1

@dDevAhmed

Description

@dDevAhmed

📚 Overview

TruthBounty requires a native ERC20 token to reward verifiers, power staking, and enable slashing.
This issue implements the core reward token with controlled minting and burning.


🎯 Objectives

  • Create ERC20 reward token
  • Enforce role-based minting and burning
  • Enable future integration with staking and slashing

🧩 Technical Scope

  • Use OpenZeppelin ERC20
  • Implement roles:
    • MINTER_ROLE
    • BURNER_ROLE
  • Restrict mint/burn to authorized contracts
  • Emit events for transparency

✅ Acceptance Criteria

  • ERC20 token deployed
  • Minting restricted to role
  • Burning supported
  • Tests cover role enforcement

⏳ Complexity & Effort

Complexity: Medium
Estimated Effort: ~0.5 day


🏷️ Labels

  • contracts
  • erc20
  • rewards
  • drips-wave

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions