🤖System Architecture

4.1 Overview

The platform allows users to deposit SOL, follow traders, reward them, and automatically replicate their trades. It integrates with Helius for wallet-tracking data and Jupiter for real-time trade execution, while Anchor smart contracts on Solana hold all core business logic.


4.2 Core Components

Component
Description
Key Responsibilities

User

End-user interacting with the dApp

• Deposit SOL into Anchor contracts • Toggle Copy Trade via Jupiter • (Via the UI) initiate follow and reward actions for Traders

Anchor Contracts

Main smart-contract suite on Solana

• Accept SOL deposits • Record “follow” relationships • Process Trader rewards • Consume Helius wallet-tracker data • Issue user-signature PDAs that let Jupiter execute trades for the user

Helius

External API for Solana wallet analytics

• Stream real-time wallet-tracker data to Anchor contracts • Receive trade information broadcast by Traders

Trader

Skilled market participant

• Execute trades on their own wallet • Be followed via Anchor contracts • Receive rewards via Anchor contracts • Push trade events to Helius

Jupiter

Leading Solana DEX aggregator/router

• Execute copy-trades on behalf of Users • Use user-signature PDAs from Anchor contracts to authorise every replicated trade


4.3 Interaction Flows

4.3.1 Deposit SOL User → Anchor Contracts — User deposits SOL into the program.

4.3.2 Follow / Reward Trader User (UI) → Anchor Contracts — User initiates a follow action for a Trader. Anchor contracts store the relationship. User may also trigger a reward; contracts transfer the reward to the Trader.

4.3.3 Wallet Tracking & Trade Broadcast Trader → Helius — Each trade is reported (or detected) and streamed as an event. Anchor Contracts ← Helius — Contracts subscribe to the wallet-tracker feed to observe relevant Trader activity.

4.3.4 Copy-Trading Execution Anchor Contracts create a user-signature PDA delegating limited execution rights to Jupiter. User (UI) → Jupiter — User toggles copy-trading. Jupiter uses the PDA signature to replicate the Trader’s transactions on the user’s vault, within the parameters enforced by the Anchor contracts.

Last updated