Partner Integration
After you have been approved to be a partner, you can enjoy 5% of each name purchase using your partner address.
📝 Apply to earn with partner integration
The following are the steps involved in integrating the Clet onboarding feature on any of your platforms.
Check if a name is available by querying the
nameExists
function from the pay contract or using the REST API endpointhttps://api.clet.domains/api/v1/exists/{name}
notefalse
means the name is available.Use the
getAmountToPay
function from the pay contract to get required amount to pay for the name or using the REST API endpointhttps://api.clet.domains/api/v1/cost/?name={name}&years={numberOfYears}
Finally, use the
pay
function from the pay contract to confirm payment by the user.
Explore how to integrate the Clet partner program in your project from the sample repository below.