Use cases
- Language Learning Apps: Reward users with XP and badges for completing levels or reaching streak milestones, granting them access to exclusive levels.
- Corporate Training: Automatically reward employees with certificates or badges after completing required training modules, aiding in progress tracking and compliance.
- Music Learning Platforms: Reward students with badges for completing lessons or practice hours, granting them access to feedback sessions with professional musicians or exclusive performance opportunities.
- Gaming Platforms: Reward players with XP or unlockable content for completing in-game missions or challenges, recognizing achievements and encouraging continued gameplay.
- Educational Institutions & Digital CVs: Reward students for completing both in-person and online education, providing badges that verify their micro-learning achievements.
Video Setup
Prerequisites
-
Setup OPENFORMAT
Before you can continue, please complete the following steps to obtain the necessary credentials:
- Go to the OPENFORMAT Dashboard
- Register for an account
- Generate an API Key
- Create a dApp
- Create a Badge (only if required)
Get Started
A step-by-step breakdown of how this template works.1
Remix this template
Clone
this template in BuildShip.
2
OPENFORMAT Node Inputs
Add your OPENFORMAT
API Key and Private Key into the Check
missions, Reward XP and Reward Badge node inputs.3
Test Integration
To test the integration, click on Test and add the
dAppId and userId of your user to the body of the request. e.g.Node Inputs
Check Missions
Missions Example
My example app is designed to help users run their first 10km by completing 1km runs. Each time a user completes a 1km run, we use the Reward XP node to complete thecomplete_run action.
Once they complete the complete_run action a specific amount of times, they will complete a mission. We use the following mission configuration:
-
First Mission:
complete_first_run- Requirements: The user must complete their first run (
complete_runaction) once. - Rewards: Upon completion, the user earns 100 XP and receives a badge identified by
BADGE_ID_FIRST_RUN.
- Requirements: The user must complete their first run (
-
Second Mission:
run_5k- Requirements: The user must complete five runs (
complete_runaction) in total. - Rewards: Upon completion, the user earns 200 XP and receives a badge identified by
BADGE_ID_RUN_5K.
- Requirements: The user must complete five runs (
-
Third Mission:
run_10k- Requirements: The user must complete ten runs (
complete_runaction) in total. - Rewards: Upon completion, the user earns 1000 XP and receives a badge identified by
BADGE_ID_RUN_10K.
- Requirements: The user must complete ten runs (
Reward XP
Reward Badge
Gotchas and Troubleshooting
- If you encounter issues, ensure all required fields are correctly filled and check your API and Private Key configurations in the Dashboard settings.
- For custom name and image configurations for anonymous users, edit the
Improve Leaderboardnode with your preferred text and URLs.