Infrastructure

How Soltrace Copies Solana Wallets

June 28, 2026AllenHark Team

How Soltrace Copies Solana Wallets

Copy trading sounds simple — "do what that wallet does" — but doing it well on Solana is a genuine engineering problem. You have to see a trade early, figure out who actually made it, decide whether and how to mirror it for each follower, and then land your own version on-chain before the price moves. Here's how Soltrace does each step.

Step 1: Watch Programs, Not Wallets

The naive approach is to subscribe to each wallet you want to follow and react when it moves. That doesn't scale: every new follower and every new target multiplies your subscriptions.

Soltrace watches trading programs instead of wallets. It taps Solana's trade flow at the source and decodes every swap going through the DEX programs it covers. Because the data streams are tied to programs — not individual wallets — one fixed set of streams can serve unlimited users following unlimited wallets. Add a new target wallet and there's nothing new to subscribe to; it's already in the flow.

Soltrace ingests that flow on two detection paths:

  • A shred path — reading trades pre-confirmation, at the earliest point of block propagation. This is the fast path.
  • Yellowstone gRPC — confirmed-stream detection, the standard path.

A target-poller also catches trades that get routed through aggregators. Whatever the path, the engine sees the swap.

Step 2: Attribute the Swap to Its Signer

A decoded swap isn't useful until you know who made it. Soltrace performs signer attribution — it ties each decoded swap back to the wallet that actually signed it.

This gate is deliberately conservative. The copy only fires when attribution confidence clears a high bar (≥ 0.9). The engine would rather miss a trade than mis-mirror one — copying the wrong wallet's trade into your vault is a far worse outcome than sitting one out.

Step 3: Fan Out to Your Vault

Once a trade is attributed to a wallet you follow, the engine runs it through your rules — the same target trade can produce a different copy for every follower:

Position sizing — 4 modes, each capped at your vault balance:

  • A fixed amount per copy.
  • Proportional to the target's trade size.
  • Proportional to your portfolio.
  • A fixed percentage.

Safety rails and per-trade filters decide whether to copy at all:

  • Minimum pool liquidity and minimum pool age.
  • Require the mint's mint+freeze authority to be revoked.
  • Maximum price impact, checked against a pre-trade simulation.
  • An internal risk-score floor, plus your own token blacklist (up to 64 mints).

Copies that get skipped are logged with a reason, so you can see exactly why a trade didn't go through.

Step 4: Keeper-Signed Execution Across the Major DEXes

When a copy passes your rules, the engine builds and submits the transaction. Execution is keeper-signed and authorized by your vault PDA — the keeper signs, but the vault is what authorizes the swap, and the output is pinned to your own token account.

For venues with lots of accounts, Soltrace uses v0 transactions with Address Lookup Tables to fit everything in. Every copy is simulated before submission.

Soltrace executes across all the major Solana DEXes — Raydium (including AMM v4, CLMM, CPMM, and LaunchLab), Orca Whirlpool, Meteora (DLMM, DAMM v2, DBC), Pump.fun (both the AMM and the bonding curve), and PumpSwap — and more beyond those. Coverage is rolling out venue by venue.

Both Token-2022 and classic SPL tokens are supported.

Confirmed vs. Optimistic Timing

You can choose how aggressive the timing is. Confirmed mode is fully wired and is the dependable default — the engine acts on confirmed detection. Optimistic mode acts earlier, off the fast detection path, for lower latency. (We're still finishing the auto-unwind safety net for optimistic copies, so we won't over-promise that piece yet.)

Step 5: Automated Exits

Getting in is half the job; Soltrace also manages getting out. There are 8 exit primitives you can attach to a copy rule:

  • Take-profit and stop-loss.
  • Trailing stop.
  • Exit when the target exits — follow your trader out, not just in.
  • Price threshold and market-cap threshold.
  • Scale-out — partial position closes.
  • Time-based exit.

You stay in control throughout: enable or disable any rule, manually close any position, or remove a wallet at any time.

Putting It Together

For each trade your target makes, Soltrace sees it early (shred or gRPC), confirms who signed it, checks it against your sizing and safety rules, and — if it passes — lands a keeper-signed, simulated, vault-authorized copy on the right DEX, with your exits already armed. All while your funds never leave your own vault.

Want the custody details? Read What Non-Custodial Copy Trading Actually Means. Ready to set it up? See the Soltrace product page or browse plans.