Open
Description
🔨 1. NFT Minting Logic: Cleanup & Finalization
-
Move minting logic into a clearly defined
MintingService
ornft.rs
module- Currently lives in
minting.rs
insiderecognition-system
andreputation-system
- Consolidate or create a shared minting interface if NFTs are reused across modules
- Currently lives in
-
Ensure all minting functions validate caller permissions
- Only allow minting by authorized actors (DAOs, governance layer, etc.)
-
Link minted NFTs to metadata (e.g., IPFS hash or project data)
- Use the
metadata.rs
module more explicitly inminting.rs
- Use the
-
Implement unique ID or hash per NFT
- Ensure no collision or duplication risk
-
Write a helper to query minted NFTs by owner/address