π―Referral Program with Token Rewards
Prerequisites
Step 1: Install and initialize the SDK
npm install @fuul/sdkimport { Fuul } from '@fuul/sdk';
Fuul.init({ apiKey: 'your-send-tracking-event-key' });Step 2: Track referral visits
import { useEffect } from 'react';
import { Fuul } from '@fuul/sdk';
function App() {
useEffect(() => {
Fuul.sendPageview();
}, []);
return <YourApp />;
}Step 3: Identify users on wallet connect
Step 4: Let affiliates create tracking links
Step 5: Display the leaderboard
Step 6: Show individual rewards
Step 7: Add claiming
Next steps
Feature
Guide
Last updated