Rewards, tasks and partners: grow your app on Dznye
Pay your users in DZY or your own points for signing up, buying or helping, and become a partner automatically: 10,000 fee-free transactions a month.
Dznye gives apps three ways to reward people, and all three follow one rule: the reward comes from coins someone really put in. Nothing is printed for activity, so fake accounts gain nothing.
Tasks: pay people for doing something
Sign up, buy, leave a review, invite a friend, finish a level: post it as a task. All the rewards are locked from your own balance when you post, in DZY or your own points token.
const task = await dz.postTask(siteKey, '2', 500, { note: 'Sign up and buy your first ebook', days: 30 });
When your own app sees that someone did it (they signed in with Dznye, and your server saw the purchase), your server approves them:
import { approveTask } from 'https://developers.dznye.com/js/chain/sdk.js';
const sig = await approveTask(checkerKey, 'dznye-main', task, theirAddress); // on your server only
They claim it from their wallet, and the welcome fund pays the fee while it holds DZY (or your app pays it, below): dz.claimTask(theirKey, task, sig). Each account is rewarded once per task. An approval is signed for one account and cannot be redirected to another. Close the task any time to take back what nobody claimed.
Why it cannot be farmed: the rewards are yours. If fake accounts got through your own checks, they took your coins, not the chain's; how strict to be is your choice.
Cashback on purchases
Give a share of every payment back, from a reserve you fund: dz.setCashback(shopKey, 'DZY', 5) and dz.fundShop(shopKey, 'DZY', '100'). See sign in and gift links.
Partners: 10,000 fee-free transactions a month, automatically
Keep at least 100 DZY in your cashback reserve and your app becomes a partner, with nobody to ask and nothing to vote on. The chain then waives the fee on up to 10,000 transactions every 30 days:
- every transaction your app's account sends, and
- every transaction of your users that your app pays the fee for (your server co-signs as the payer, as the welcome fund does), so using your app costs your users nothing.
Take the reserve under 100 DZY and the free transactions stop at once; they come back the next 30 days. GET /shop/<your address> shows freeLeft.
Why it is fair: it only waives a small fee; it never pays anyone. To get it, an app keeps real DZY locked where its customers benefit from it.
What it does for DZY
- Apps hold DZY to reward with it, and lock it in task rewards and cashback reserves.
- People who receive DZY for something they did get curious, and keep using it.
- Every reward is public and comes from real coins, so the numbers mean something.