Reward your community, effortlessly.
RewardAI SDK leverages Coinbase x402 to make distributing Pump.fun token rewards simple, transparent, and seamless.
$ npm install rewardai-sdkPowered by
Everything you need to reward your community.
Built for developers who'd rather grow community than manage payout plumbing. Powered by x402, coordinated agents automate claims and distributions straight from your creator walletβfast, transparent, and programmable.
Trading Competition Rewards
Automatically reward your top traders with token prizes
// Reward top 10 traders - one simple function
import { rewardTopTraders } from '@rewardai-sdk';
await rewardTopTraders({
wallet: 'YOUR_CREATOR_WALLET',
tokenMint: 'YOUR_TOKEN_MINT',
prizes: [1000, 750, 500, 250, 100, 75, 50, 25, 15, 10],
traders: topTradersData
});
// That's it! β
Community Holder Airdrops
Distribute rewards to all token holders proportionally
// Airdrop proportionally to all holders
import { airdropToHolders } from '@rewardai-sdk';
await airdropToHolders({
wallet: 'YOUR_CREATOR_WALLET',
tokenMint: 'YOUR_TOKEN_MINT',
totalAmount: 1_000_000,
proportional: true
});
// Done! πFlash Giveaways
Quick community engagement with instant rewards
// Instant giveaway - one line
import { flashGiveaway } from '@rewardai-sdk';
await flashGiveaway({
wallet: 'YOUR_CREATOR_WALLET',
tokenMint: 'YOUR_TOKEN_MINT',
amount: 100,
winners: winnerAddresses
});
// Fast & easy! β‘Milestone Celebrations
Celebrate community milestones with special rewards
// Celebrate milestones easily
import { rewardMilestone } from '@rewardai-sdk';
await rewardMilestone({
wallet: 'YOUR_CREATOR_WALLET',
tokenMint: 'YOUR_TOKEN_MINT',
amount: 500,
recipients: earlyHolders,
message: '10K Holders Celebration! π'
});
// Milestone unlocked! πStaking Rewards
Automated rewards for long-term holders and stakers
// Automated staking rewards
import { distributeStakingRewards } from '@rewardai-sdk';
await distributeStakingRewards({
wallet: 'YOUR_STAKING_VAULT',
tokenMint: 'YOUR_TOKEN_MINT',
apyRate: 0.05, // 5% APY
period: 'weekly',
stakers: stakersData
});
// Auto-compounding ready! πEngagement Rewards
Reward active community members automatically
// Reward community engagement
import { rewardEngagement } from '@rewardai-sdk';
await rewardEngagement({
wallet: 'YOUR_CREATOR_WALLET',
tokenMint: 'YOUR_TOKEN_MINT',
multiplier: 10,
contributors: topContributors
});
// Community love! πReady to engage your community?
Start distributing rewards in minutes with RewardAI SDK
Get started in minutes
Simple, elegant API that gets out of your way
import { RewardAI } from 'rewardai-sdk';
const rewards = [
{ user: '0x123...', amount: 100 },
{ user: '0xabc...', amount: 50 },
];
RewardAI.sendRewards({ token: 'PUMP', rewards });Fast execution
Sub-second transaction times
99.99% uptime
Enterprise-grade reliability
No hidden fees
Transparent pricing always
Global reach
Available worldwide