Overview
You can integrate your frontend with Divvi V0 to earn rewards by referring users to protocols that also use Divvi V0. To do this, you need to register as a referrer and ensure that users are registered as your referrals before they interact with the protocol.
When a referred user makes an eligible transaction with a protocol, Divvi V0 will track it and send rewards to your frontend based on the revenue that user generates.
How It Works
Your frontend must enable users to register as your referral by sending a registration transaction to the Divvi V0 registry contract before they start using the protocol. This transaction links the user to your frontend as their referrer.
Once the user is registered, Divvi V0 keeps track of their transactions with the protocol. If the user generates revenue for the protocol, Divvi V0 calculates your reward and sends it to the reward address you provided.
Steps to Integrate
- Sign up as a referrer by submitting a request using this form.
- Make sure users register as referrals before using the protocol by sending a registration transaction from the frontend. There are detailed instructions for how to do this here.
By following these simple steps, you can integrate with Divvi V0 and start earning Divvi rewards!