About Project

The Astra is a decentralized MLM (multi-level marketing) platform powered by smart contracts, offering users transparent, automated, and secure income generation through staking-based ROI and referral bonuses. Built on BNB Chain, Astra eliminates the risks and inefficiencies of traditional MLMs by enforcing all reward distributions and team tracking directly on-chain without manual intervention.

Users earn rewards through staking packages, team performance, referral structures, and rank-based achievements—all processed via tamper-proof blockchain logic.

Apex21

Client Vision

The Astra’s core mission was to decentralize network marketing and restore trust to the MLM model by ensuring:

  • cv-img-1

    100% automation of rewards through smart contracts

  • cv-img-1

    A stable and capped ROI system to prevent unsustainable growth

  • cv-img-1

    Fair and transparent earnings for every user, regardless of rank or entry point

  • cv-img-1

    A borderless opportunity with no centralized control or gatekeeping

“We didn’t just want to create another staking DApp. We wanted to reinvent MLM for Web3, where everything is traceable, fair, and self-running—built fully on logic, not promises.”
—The Astra Team

Challenges We Faced

plan Plan Upgrade Logic

As users earned or qualified for higher-tier plans, it was essential to track ROI caps and allow automated plan upgrades without breaking the referral tree or creating logic loopholes.

multi Multi-Earnings from Different Layers

Users could earn staking ROI, direct referral bonuses, team performance bonuses, and rank rewards. These multiple earnings needed to be processed simultaneously but independently to avoid duplicate payouts or reward loss.

roi ROI Overlap and Multi-Wallet Abuse

To prevent ROI stacking or bypassing limits using multiple wallets, the contract had to implement user-level ROI caps and detect patterns that violate reward policies.

refferral Referral Tree Accuracy

Managing a dynamic referral structure with deep teams and multi-level payouts was complex, especially ensuring every bonus reached the right person at the right level with accurate tracking of volumes.

gas Gas-Efficient Real-Time Rewards

With thousands of users earning daily ROI and team rewards, the contract logic had to be gas-optimized to avoid failed or expensive transactions, especially for low-value users.

transition Transition to V2 Logic (Contract Upgrade Challenge)

As the user base scaled, newer features like rank logic expansion, multi-pool support, and future DAO readiness required core logic upgrades, but without impacting user balances, staking progress, or referral structures.

How We Managed It

Modular Smart Contract Architecture

We split the system into logical components: staking logic, referral management, rank evaluation, and rewards distribution—each in its own contract to ensure upgradeability and reusability.

01
Proxy Contract Upgrade (V2 Transition)

To support future improvements without requiring a redeployment, the system was implemented using a proxy pattern (UUPS upgradeable contracts via OpenZeppelin). This allowed the client to update internal logic (e.g., ROI halving, plan expansion) while preserving all existing data like:

  • icons User stakes
  • icons Referral trees
  • icons Claimed rewards
  • icons Plan eligibility

This ensured a seamless upgrade from V1 to V2 with zero downtime and no user migration steps.

02
Automated Plan Progression

Each wallet was mapped with a plan status, ROI counter, and eligibility tracker. Once conditions were met (e.g., 5x returns or minimum team volume), the contract enabled upgrade or auto-disabled ROI to prevent abuse.

03
Parallel Earnings Engine

The payout structure was redesigned to process multiple reward types in parallel, using asynchronous mapping for:

  • iconsDirect bonuses (instant)
  • iconsTeam bonuses (multi-level distribution)
  • iconsRank rewards (volume-based unlocks)
  • iconsStaking ROI (daily drip with cap logic)
04
Gas Optimization Techniques

Rewards were distributed using pull-based logic for ROI and rank bonuses, while push-based logic was used for direct referrals balancing instant gratification and network efficiency.

05

Tech Stacks

Front-end

Figma

HTML

Tailwind Css

ReactJS

Back-end

Express Js

Node Js

Blockchain

Solidity

Server

AWS

Database

Mongo Db

Achievements and Results

gold-cup

$150,000+ invested in staking packages within the first launch phase

1,000+ Active Members, building global teams across multiple tiers

reward
target

10K+ On-Chain Reward Transactions, processed with less than 1% failure rate

Flawless V2 Upgrade using proxy architecture, with zero data loss

steps
medal

100+ Rank Promotions, triggering performance-based rewards from team volume

100% Decentralized Operations—no manual payouts or off-chain intervention

reward
award

Real-Time Dashboards, powered by smart contract events for full transparency

Let's Collaborate To Bring

Your Vision To Life!
contact
gmail
telphone
chat
whatsapp
Enter your Name
Enter your Email
Enter your whatsapp ID
What You’re Looking For…
Thank You!

We’ll get back to you shortly!.

Your Data Is Protected. By continuing, you accept our Terms of Service and Privacy Policy, ensuring transparency, trust, and data security.