Reward Engagement

Reward engagement such as comments, mirrors, or quotes with loyalty points

To initialize a Lens Post with this open action on MadFi

When creating the post, select from "Use Smart Post" dropdown the reward engagement option (comments or mirrors)

Although our component simplifies thing, the inputs allowed by the open are

  • the badge collectionId

  • the reward amount enum

  • the action enum (comment / quote / mirror)

We'll share how to initialize the open action programmatically at another time.

To process the act on MadFi

All posts that are initialized with open actions on MadFi have the "Act" button rendered on the bottom right of the post component. So when you share the link to the post with your followers, they can take the action after logging in with their Lens profile.

Each open action is processed differently, so in general we'll render a modal with more information. In this case, the action allows the profile to earn points for leaving a mirroring (re-sharing) the post. Because the open action submits the actual mirror transaction, the profile must enable the rewards module as a Profile Manager.

Last updated