Two campaign modes
A points campaign converts to token payouts at the end, from the campaign budget. An action-reward campaign pays from a funded action pool, at a fixed rate per action, until the pool or the caps are reached.
How a campaign runs
- Fund it. You allocate an exact amount of your token before earning begins. The tokens sit in a program-controlled campaign vault. You cannot withdraw them after earning starts, and Star cannot transfer them outside committed rewards.
- Define the actions. Each action has a type (
unique: once per participant, orcount: repeatable), a reward or point value, a per-participant cap, and a campaign cap. - Participants earn. Earning is never paused during a campaign.
- Participants claim. A campaign-wide claim window opens. Participants select and verify a Solana wallet at claim time, not before.
- Leftovers return. Unclaimed tokens return to your project treasury after the claim window closes.
What participants need
Nothing. A participant earns without a Star account and without a wallet. They claim later, through your product, with a wallet they verify at that moment. You can also nominate rewards directly to an email address or an X handle, from a separate budget lane; only a user authenticated with that identity can claim them.Connecting your product
Actions are verified server-side in your own app, so a reward is paid only when the real action succeeded:- Create the campaign in the dashboard and download the integration bundle.
- Hand the bundle to your coding agent. The
@star-factory/sdk-launch-rewardspackage ships an agent skill that wires your app: your agent finds the server-side success facts (a new account row, a completed order, an accepted referral) and connects them to the campaign actions. - Your server signs and delivers each qualifying event. Duplicate events are rejected by design, and caps are enforced by Star.
Design notes
- Budgets are absolute token amounts, not percentages of supply.
- A campaign that pays more in rewards than the revenue its actions bring in is a marketing cost. One that pays less funds its own growth. Price the action values against the value of the action.
- Fund campaigns from the reward reserve you allocate at launch, or top them up later.