Create Cred

Creating a Cred in Phi Protocol

Creating a Cred is a fundamental process in the Phi Protocol ecosystem. This guide will walk you through the steps to create a Cred, including setting up basic information and choosing the appropriate verification method.

Step 1: Basic Information

  1. Requirement: Clearly explain what requirement users need to meet to claim the Cred. For example, "Receive tokens from Optimism's first airdrop".

  2. Eligibility Networks: Select the blockchain network(s) relevant to your Cred (e.g., Base).

  3. Cred Logo:

    • File types: JPG, PNG, SVG, or GIF

    • Maximum file size: 2MB

    • Recommended dimensions: 512x512 pixels

  4. Project: Select a related project to enhance user search results.

  5. Related Links: Add relevant links (e.g., https://app.uniswap.org/swap?chain=base).

  6. Description: Provide a detailed description of your Cred. For example: "This cred is awarded to individuals who were recipients of Optimism's first airdrop, recognizing their early involvement and positive contribution to the Optimism network. The first airdrop was a pivotal moment in Optimism's journey, aimed at rewarding users who actively contributed to the ecosystem's growth.

Step 2: Verification

Choose a verification type based on your Cred's requirements:

  1. File Upload (CSV):

    • Best for on-chain activity that won't have updates and can be extracted into a CSV.

    • The first row must include 'address' as a header.

    • Maximum file size: 5MB

    • Example use case: Beacon chain genesis depositor

    • Using onchain analytics tools like Dune, you can create csv easily .

  1. API:

  • Best for on-chain activity linked to APIs, allowing for dynamic eligibility checks.

  • You need to provide an API endpoint.

  • The response should be a JSON object with 'mint_eligibility' and 'signature' properties.

  • Example use case: Creating a transaction on Base

For both types, provide a Source Link (URL for the data source or source code).

Best Practices

  1. Clear Requirements: Ensure your Cred's requirements are clearly defined and easily verifiable.

  2. Relevant Networks: Choose eligibility networks that are most relevant to your Cred's purpose.

  3. Compelling Description: Write a description that clearly explains the significance of the Cred and why users would want to claim it.

  4. Appropriate Verification: Choose the verification type that best suits your Cred's nature (static vs. dynamic).

  5. Data Integrity: For CSV uploads, ensure your data is accurate and properly formatted.

  6. API Reliability: For API verifications, ensure your endpoint is reliable and follows the required response format.

Last updated