Partner Points Integration
Follow the steps below to integrate Napier tokens with your point system.
1
Step 1: Preparation
Before the integration
Access the Curator Dashboard.
If your account is not verified, complete verification under Verify Your Account.
If you haven’t created a market yet, follow the steps in Create Market.
Start the integration
Measure each user’s underlying token exposure to run points, airdrops, or rewards.
Go to the point integration example (Github) and install the dependency
git clone <https://github.com/napierfi/point-integration-example>
cd point-integration-example
pnpm install2
3
Step 3: Execution
Run the Script
pnpm startThis creates:
user_balances_yt.csv— exposure from YTuser_balances_lp.csv— exposure from LP (non-PT portion of LP)
Each CSV row:
address,balances
0x1234...abcd, 3524219 // LP (non-PT portion of LP)
0xabcd...5678, 1980132 // YT = user address and their total underlying exposure at the snapshot block.
4
5
Step 5: Notify Users
Go back to the Partner Points Program, display the points program in the UI, and notify users.
Last updated
Was this helpful?