passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
990 stars 461 forks source link

Define Data Schema for Custom Stamps (e.g., GitHub Stamp, Allowlist Stamp) #2825

Open erichfi opened 2 months ago

erichfi commented 2 months ago

User Story:

As the Passport team, I want to establish a flexible and standardized data schema for custom Stamps like a GitHub Stamp or Allowlist Stamp, So that we can push these Stamps on-chain and make them easily readable and usable by integrators.

Acceptance Criteria

GIVEN the need to expand the variety of Stamps available within the Passport ecosystem, WHEN defining the data schema, THEN we should ensure it supports customization, on-chain storage, and integrator readability, while maintaining consistency and security across all Stamps.

Exploration Goals

  1. Data Schema Design: Define a flexible data schema that can accommodate various custom Stamps, such as GitHub and Allowlist Stamps, ensuring it can be standardized for on-chain storage.
  2. On-Chain Considerations: Investigate how the data schema can be optimized for on-chain deployment, including gas efficiency and compatibility with existing blockchain standards.
  3. Integrator Compatibility: Ensure that the schema is easily interpretable by integrators, facilitating seamless integration and use across different platforms.
  4. Customization Flexibility: Explore how the schema can support different types of custom Stamps, allowing for easy addition of new Stamp types in the future without major schema overhauls.
  5. Security and Privacy: Assess the security implications of pushing Stamps on-chain, particularly regarding data exposure and user privacy, and incorporate necessary safeguards into the schema.

Product & Design Links:

N/A

Tech Details:

Open Questions:

Notes/Assumptions:

nutrina commented 2 months ago

The options have been documented, and info was shared in internal Discord: https://discord.com/channels/1201910237238399006/1282285527118118972