# Key Concepts

<table data-view="cards"><thead><tr><th>Term</th><th>Definition</th><th></th><th data-type="files"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>XP Instance</strong></td><td>An instance is a single xp environment that belongs to a community. All scoreboards/scores are associated with their communit's XP Instance.</td><td></td><td></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FdNm2Jvvj5FHzxrGaeF1s%2FGroup%2037729%20(2).png?alt=media&#x26;token=d0667cc4-14d5-4b10-9eed-aed4a0502d93">Group 37729 (2).png</a></td></tr><tr><td><strong>Scoreboard</strong></td><td>Each wallet in an XP instance has its own scoreboard. This is where we store all scores for that particular wallet.</td><td></td><td></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2Fs17h7FGikPuq9t6DUjx9%2FGroup%2037727%20(2).png?alt=media&#x26;token=14e9c8e3-a75a-489b-9b4d-50b28506ce6d">Group 37727 (2).png</a></td></tr><tr><td><strong>Score Type</strong></td><td>Each instance can keep multiple scores stored for a single user, these Score Types are stored inside a particular user's Scoreboard.</td><td>Example: A Scoreboard may have multiple Score Types to track a user's "attribution", "Social Reputation", "Collector Reputation", "Bot Level Signal"</td><td></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FxIf4WapNQ0t90ut71zUr%2FGroup%2037742%20(2).png?alt=media&#x26;token=317ba0d2-4e19-46d8-9fa9-b06d416f0966">Group 37742 (2).png</a></td></tr><tr><td><strong>Score/Points</strong></td><td>The units of measurement for a Score Type. A user is said to have &#x3C;Points> of XP for a specific Score Type.</td><td>Example: John may have 200 XP of "Collector Reputation" in the Fly Frogs XP instance</td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FoeilRnYMbMolHB6QgJuG%2FQmXAJgtNayakBvXfhVKWDxKH2b4Uycs1XNq4oix7W8txcu.jpeg?alt=media&#x26;token=3af9d341-adf7-45ee-b6b4-c04d033fb409">QmXAJgtNayakBvXfhVKWDxKH2b4Uycs1XNq4oix7W8txcu.jpeg</a></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FId96Q3CP5iE7BPOSlQgD%2FGroup%2037743.png?alt=media&#x26;token=88f889ea-2c3c-446b-91b0-fb87f4c1d2fb">Group 37743.png</a></td></tr><tr><td><strong>Action</strong></td><td>An action is what moves scores in either direction. An action contains two key components within it -> {amount: &#x3C;XP>, direction:&#x3C;UP/Down>}</td><td></td><td></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FvmRkvCouZQBcWzU5LKnY%2FGroup%2037735.png?alt=media&#x26;token=9bce113c-1869-49a2-878c-28fb24a6d9c4">Group 37735.png</a></td></tr><tr><td><strong>Score Update</strong></td><td>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.</td><td></td><td></td><td><a href="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2FxXvZSVybpKy2CufUCHmB%2FGroup%2037736%20(2).png?alt=media&#x26;token=6ec331e2-aaa0-4924-be76-e304abf0e2b5">Group 37736 (2).png</a></td></tr></tbody></table>

### 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.

<figure><img src="https://3119995735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWPXLCvkhAvAfu3pqC6Kx%2Fuploads%2F0LrW316XazuLuPVai2lP%2FGroup%2037764.png?alt=media&#x26;token=ff16ffd3-6610-4400-8970-96e58b16fd50" alt=""><figcaption></figcaption></figure>
