LogoLogo
  • Products
    • 🎯XP Protocol
      • Key Concepts
      • Features
        • Claims
      • Integrations
        • XP Subgraph
        • 📡Rest API
          • Endpoints
          • Rate limit
          • Authentication
        • ⚡Snapshot
        • 🖼️NFT Watcher
      • Design Patterns
        • 💰X-to-Earn Design Pattern
        • 🧑‍🤝‍🧑Referral Design Pattern
        • Social Tracking
Powered by GitBook
On this page

Was this helpful?

  1. Products
  2. XP Protocol

Key Concepts

Key concepts to understand before diving into XP Protocol

PreviousXP ProtocolNextFeatures

Last updated 2 years ago

Was this helpful?

Example of an XP Instance

An XP Instance at its core is an on-chain data structure that defines Actions(your point rules), and how they apply to Score Types. This data is on-chain and open allowing anyone to query and check a score of a particular wallet. This opens up the possibility for anyone to build loyalty/reputation/gating tools/protocols on top of this community-defined score system.

🎯
Cover
Term

XP Instance

Definition

An instance is a single xp environment that belongs to a community. All scoreboards/scores are associated with their communit's XP Instance.

Cover
Term

Scoreboard

Definition

Each wallet in an XP instance has its own scoreboard. This is where we store all scores for that particular wallet.

Cover
Term

Score Type

Definition

Each instance can keep multiple scores stored for a single user, these Score Types are stored inside a particular user's Scoreboard.

Example: A Scoreboard may have multiple Score Types to track a user's "attribution", "Social Reputation", "Collector Reputation", "Bot Level Signal"

Cover
Term

Score/Points

Definition

The units of measurement for a Score Type. A user is said to have <Points> of XP for a specific Score Type.

Example: John may have 200 XP of "Collector Reputation" in the Fly Frogs XP instance

QmXAJgtNayakBvXfhVKWDxKH2b4Uycs1XNq4oix7W8txcu.jpeg
Cover
Term

Action

Definition

An action is what moves scores in either direction. An action contains two key components within it -> {amount: <XP>, direction:<UP/Down>}

Cover
Term

Score Update

Definition

This is the process in which a score is updated in an XP instance. The score update consists of an Action that is applied to a user's Score Type on their Scoreboard.

QmXAJgtNayakBvXfhVKWDxKH2b4Uycs1XNq4oix7W8txcu.jpeg