Skip to main content

Overview

Mint a new Identity SBT (Soulbound Token) to create a decentralized identity with a human-readable ZKS ID.

Prerequisites

  • Wallet Connection: Connected Web3 wallet
  • ZKS ID Available: Desired ZKS ID must be available
  • Gas Fees: Sufficient ETH for transaction fees
  • No Existing Identity: User must not already have an identity

Minting Process

1. Check Availability

2. Mint Identity

3. Verify Minting

Minting Parameters

Required Parameters

  • zksId: Human-readable identifier (e.g., alice.zks)
  • displayName: User’s display name
  • avatarUrl: URL to user’s avatar image

Optional Parameters

  • bio: User biography/description
  • website: Personal website URL
  • socialLinks: Array of social media links

Minting Fees

Fee Structure

Fee Calculation

Error Handling

Common Errors

Error Handling Example

Best Practices

  1. Check Availability First: Always verify ZKS ID is available
  2. Handle Errors Gracefully: Implement proper error handling
  3. Estimate Gas: Calculate total cost before minting
  4. Store Transaction Hash: Keep record of minting transaction
  5. Verify Success: Confirm identity was created successfully