Skip to content

[FEATURE]: On-Chain Metadata Schema for Identity Tokens #18

@dhruvi-16-me

Description

@dhruvi-16-me

Feature and its Use Cases

Feature and its Use Cases

What is the feature?

This feature proposes adding a structured on-chain metadata schema for Identity Tokens (ERC-721).

Each identity token should store optional fields such as:

  • Name
  • Age or age group
  • Nationality
  • Residence
  • Social profile links (e.g., GitHub, LinkedIn, Twitter)

Currently, there is no defined metadata structure in the repository. This issue proposes defining and implementing one.

How would users benefit from it?

Users would be able to:

  • Attach meaningful identity information to their NFT
  • Update their identity attributes when needed
  • Keep fields optional for flexibility and privacy
  • Provide structured data that can later be used in endorsement and trust systems

This makes the identity token useful and not just a basic NFT.

What scenarios would this feature address?

  • A user minting an identity token and adding their name and nationality
  • A user linking their GitHub or LinkedIn profile
  • Future endorsement logic using structured identity attributes

Additional Context

Additional Context

  • The project description requires identity tokens to contain on-chain metadata.
  • This feature complements the core ERC-721 Identity contract.
  • The design should remain simple and gas-efficient.
  • Only token owners should be allowed to update their metadata.

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions