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
Requirement: Clearly explain what requirement users need to meet to claim the Cred. For example, "Receive tokens from Optimism's first airdrop".
Eligibility Networks: Select the blockchain network(s) relevant to your Cred (e.g., Base).
Cred Logo:
File types: JPG, PNG, SVG, or GIF
Maximum file size: 2MB
Recommended dimensions: 512x512 pixels
Project: Select a related project to enhance user search results.
Related Links: Add relevant links (e.g., https://app.uniswap.org/swap?chain=base).
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:
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 .
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
Clear Requirements: Ensure your Cred's requirements are clearly defined and easily verifiable.
Relevant Networks: Choose eligibility networks that are most relevant to your Cred's purpose.
Compelling Description: Write a description that clearly explains the significance of the Cred and why users would want to claim it.
Appropriate Verification: Choose the verification type that best suits your Cred's nature (static vs. dynamic).
Data Integrity: For CSV uploads, ensure your data is accurate and properly formatted.
API Reliability: For API verifications, ensure your endpoint is reliable and follows the required response format.
Last updated