Skip to content

[GROWTH] Viral growth engine: referrals + quests + seasons + recurring campaigns #656

@joelpeace48-cell

Description

@joelpeace48-cell

Growth initiative / consolidation. High-priority. Merges the engagement/virality features into one cohesive growth-loop initiative. Supersedes #602 (quests), #603 (referral economy), #604 (recurring campaigns), #606 (leaderboard seasons).

Why this matters (retention + virality)

Acquisition without retention leaks. The strongest crypto-native growth loop is: users earn → invite others to earn → climb a leaderboard → come back next season. Building these as one coherent growth engine (rather than scattered features) compounds retention and referral-driven acquisition.

Goal

Ship an integrated growth engine: on-chain referral rewards, multi-step quests, recurring/seasonal campaigns, and seasonal leaderboards — designed to reinforce each other into a viral retention loop.

Technical design

A cohesive loop where each piece feeds the next:

Edge cases

  • Self/circular referral, sybil farming → blocked + caps + uniqueness gating.
  • Quest replay/partial completion → idempotent, all-or-nothing bonus.
  • Season boundary ties → deterministic snapshot; archives immutable.
  • Recurring overlap/funding → guards + pre-funding alerts.

Task breakdown

  • On-chain referral bonus payout + anti-abuse + attribution hooks.
  • Quest/streak engine (on-chain progress + bonus) feeding reputation/badges.
  • Recurring/seasonal scheduler (locked, idempotent) cloning config.
  • Seasonal leaderboards (reset + immutable archive) over indexed rollups.
  • Growth instrumentation: referral conversion, quest completion, season retention metrics.

Acceptance criteria

  • A user can refer others for on-chain rewards, complete quests for bonuses, and compete in resettable seasons across recurring campaigns — with abuse/sybil protections — and the loop's growth metrics are measurable.

Verification

  • Contract tests (referral abuse, quest idempotency, season boundary); scheduler clock-advance tests; growth-metric reconciliation vs indexed events.

Dependencies

Priority: high · Difficulty: hard · Effort: L · growth (retention + virality)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: backendBackend API (Node/Express)area: smart-contractSoroban Rust contractsdifficulty: hardLarger or subtle changesenhancementNew feature or requestepicLarge initiative bundling multiple work itemsgrowthDrives user acquisition, retention, or viralitypriority: highHigh-priority, high-impact work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions