Skip to main content

Overview

This guide explains how to create custom achievements tailored to your application’s needs. Custom achievements enable you to reward users for specific behaviors, milestones, or accomplishments unique to your platform.
Custom achievements should align with your platform’s goals and provide meaningful recognition for user accomplishments.

Achievement Design

Planning Your Achievement

Before creating an achievement, consider:
  1. Purpose: What behavior are you rewarding?
  2. Requirements: What must users do to earn it?
  3. Rarity: How difficult should it be?
  4. Rewards: What points/boost should it grant?
  5. Verification: How will you verify completion?

Achievement Categories

Choose the most appropriate category:
  • DeFi: Financial protocol interactions
  • NFT: NFT-related activities
  • Social: Community engagement
  • Trading: Trading performance
  • Governance: DAO participation
  • Gaming: Gaming achievements
  • Identity: Identity verification
  • Trust: Trust-building activities

Rarity Guidelines

Requirement Types

1. Score Threshold

Require users to reach a minimum score.

2. Category Score

Require minimum score in a specific category.

3. Activity Count

Require a certain number of activities.

4. Time-Based

Require users to be active for a certain duration.

5. Composite

Combine multiple requirements.

6. Proof-Based

Require zero-knowledge proof verification.

Complete Creation Example

DeFi Protocol Achievement

Metadata Best Practices

Image Guidelines

  1. Format: PNG with transparency
  2. Size: 512x512 pixels minimum
  3. Style: Consistent with your brand
  4. Quality: High resolution for badges
  5. Storage: IPFS or decentralized storage

Creating Badge Images

Description Guidelines

  1. Length: 50-150 characters
  2. Clarity: Clear requirements
  3. Tone: Encouraging and positive
  4. Action: Describe what to do
  5. Benefit: Mention rewards

Verification Setup

Manual Verification

For achievements requiring manual review:

Automatic Verification

For automated achievements:

Testing Custom Achievements

Testing on Testnet

Batch Achievement Creation

Creating Multiple Achievements

Best Practices

Achievement Design

  1. Progressive Difficulty: Create series with increasing difficulty
  2. Clear Requirements: Make requirements obvious
  3. Balanced Rewards: Match rewards to difficulty
  4. Category Alignment: Ensure category matches activity
  5. Unique Names: Use descriptive, unique names

Implementation

  1. Test Thoroughly: Test on testnet first
  2. Monitor Events: Track creation and claim events
  3. Update Documentation: Document custom achievements
  4. User Communication: Announce new achievements
  5. Gather Feedback: Iterate based on user feedback

Verification

  1. Secure Verification: Protect verification endpoints
  2. Prevent Gaming: Implement anti-cheat measures
  3. Audit Logs: Maintain verification logs
  4. Regular Reviews: Review achievement completion
  5. Fair Distribution: Ensure fair access