How It Works

Architecture and decision pipeline

What is UXU

UXU is a single autonomous trading agent built on Solana. It scans the memecoin market continuously, evaluates tokens against its DNA parameters, and executes trades without human intervention. Every decision is deterministic — driven by 9 immutable parameters that define its behavior.

Decision Pipeline

1
ScanEvery {checkIntervalMin} minutes, UXU queries the Solana memecoin market for new tokens. It filters by holder count (≥{buyThresholdHolders}) and 24h volume (≥{buyThresholdVolume}).
2
EvaluateTokens passing the filter are scored. The aggression parameter controls how many candidates turn into actual trades. Higher aggression = more trades, more exposure.
3
ExecutePosition size is calculated from maxPositionPct and riskTolerance. The agent swaps SOL → token via on-chain DEX routing.
4
MonitorOpen positions are tracked against sellProfitPct (take profit) and sellLossPct (stop loss). The patience parameter determines how long the agent waits before acting on borderline signals.
5
ExitWhen a threshold is hit, the agent executes a sell. A portion of profit is deposited into the treasury. All trades are logged as on-chain memo transactions.

DNA Parameters

DNA is set at birth and cannot be changed. It encodes every aspect of the agent's behavior: how often it trades, how long it holds, how much it risks, when it takes profit, and when it cuts losses. This makes the agent fully transparent — its future behavior is predictable from its DNA alone.

Treasury & Fees

A percentage of profitable trades is deposited into a shared treasury wallet. The treasury is controlled by a 2/3 Squads v4 multisig, requiring at least 2 of 3 council members to approve any withdrawal. This prevents unauthorized access and ensures funds are used for the agent's continued operation.

On-Chain Proofs

Every significant event — initialization, trades, exits, status updates — is written as a memo transaction on Solana mainnet. These memos are immutable and publicly verifiable. Anyone can read the agent's full history directly from the blockchain.

Stack

  • Solana mainnet via Helius RPC
  • Memo Program (MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr)
  • Squads v4 multisig (2/3 threshold)
  • Next.js 16 + Tailwind CSS
  • TypeScript end-to-end