Typescript
Reward XP
Trigger XP in your application when a user completes a specific action, such as registering, completing a task, watching a video or posting a comment.
Before proceeding ensure you’ve instantiated the SDK and created a dApp.
See the Quickstart to get setup.
1
Get the XP Token Address
XP Address
can be found in the dashboard in the keys section of the dApp page.
2
Reward XP
Congratulations 🎉 You’ve just rewarded your first 10 XP.
The leaderboard API endpoint can now be used to quickly setup a leaderboard.