Create a badge in your application to celebrate user achievements, such as completing a series of tasks, reaching a milestone, participating in an event, or contributing quality content.

Before proceeding ensure you’ve instantiated the SDK and created a dApp.
See the Quickstart to get setup.

1

Create Badge

async function createBadge() {
  const params: Reward_CreateBadgeParams = {
    name: "Quiz Master",
    symbol: "Quiz Master",
  };

  const badge = await sdk.Reward.createBadge(params);

  console.log("BADGE_ADDRESS:", badge.address());
}

Now you have created your badge, you can reward it to your users.