Skip to content
axiom-solana-trading logo

Axiom Solana Trading Skill

axiom-solana-trading

Interact with Axiom.trade -- a Y Combinator-backed (W25) DEX aggregator and trading platform on Solana with Hyperliquid perpetuals integration. Covers API architecture, multi-wallet management, MEV protection, token discovery, and wallet tracking.

plurigrid/asi0installs67starsSecurity

SKILL.md

Full skill instructions

Axiom Solana Trading Skill

Trit: +1 (PLUS) Category: defi-trading Author: plurigrid/​asi Source: plurigrid/​asi License: MIT

Description

Interact with Axiom.trade -- a Y Combinator-backed (W25) DEX aggregator and trading platform on Solana with Hyperliquid perpetuals integration. Covers API architecture, multi-wallet management, MEV protection, token discovery, and wallet tracking.

When to Use

  • Trading on Axiom.trade (spot swaps, limit orders, Hyperliquid perps)
  • Building bots/​integrations with Axiom REST + WebSocket APIs
  • Analyzing Axiom's DEX aggregation and smart routing
  • Wallet tracking and Twitter-integrated token discovery
  • Understanding Solana DEX aggregator architecture

Protocol Overview

Axiom.trade is a Solana-native DEX aggregator with Hyperliquid perpetuals integration, founded by Henry "Mist" Zhang and Preston "Cal" Ellis (UCSD CS, ex-TikTok/​DoorDash). Y Combinator Winter 2025 batch.

Key differentiators:

  • Smart order routing across Solana DEXs (best-price aggregation)
  • Hyperliquid perps integration (deposit, trade, withdraw)
  • Real-time token discovery (Pulse: new pairs, graduating tokens, migrations)
  • Multi-wallet management under single account
  • MEV-resistant execution paths
  • Twitter/​wallet tracking for alpha signals

NOT to be confused with:

  • axiom-crypto (Axiom V2) -- ZK proof infrastructure for Ethereum historical data access
  • axiom.co -- observability/​logging platform

Architecture

                    ┌──────────────────────┐
                    │   axiom.trade Web UI │
                    └──────────┬───────────┘
                               │
               ┌───────────────┼───────────────┐
               ▼               ▼               ▼
         ┌──────────┐   ┌──────────┐   ┌──────────────┐
         │ REST API │   │WebSocket │   │ Hyperliquid  │
         │ (trading)│   │(pricing) │   │   API proxy  │
         └────┬─────┘   └────┬─────┘   └──────┬───────┘
              │              │                 │
              ▼              ▼                 ▼
     ┌────────────────┐  ┌─────────┐  ┌──────────────────┐
     │ Smart Router   │  │ Market  │  │ api.hyperliquid  │
     │ (DEX aggreg.)  │  │  Data   │  │    .xyz          │
     └───────┬────────┘  └─────────┘  └──────────────────┘
             │
    ┌────────┼────────┐
    ▼        ▼        ▼
 Raydium  Jupiter  Orca  ... (Solana DEXs)

API Endpoints

REST API Servers (load-balanced, auto-rotating)

ServerURL
api2https://api2.axiom.trade
api3https://api3.axiom.trade
api6https://api6.axiom.trade
api7https://api7.axiom.trade
api8https://api8.axiom.trade
api9https://api9.axiom.trade
api10https://api10.axiom.trade
mainhttps://axiom.trade/​api (portfolio ops)

Key REST Endpoints

POST /​login-password-v2     # Auth step 1 (email+password)
POST /​login-otp             # Auth step 2 (OTP code)
POST /​refresh-access-token  # Token refresh

POST /​batched-send-tx-v2    # Execute buy/​sell/​swap orders
POST /​quote                 # Get pricing quote for swap
POST /​simulate              # Simulate tx before execution

POST /​batched-sol-balance   # SOL + token balances (multi-wallet)
POST /​portfolio-v5          # Comprehensive portfolio summary

WebSocket Endpoints (regional)

RegionPrimaryCluster
US Westsocket8.axiom.tradecluster-usw2.axiom.trade
US Centralcluster3.axiom.tradecluster-usc2.axiom.trade
US Eastcluster5.axiom.tradecluster-use2.axiom.trade
EU Westcluster6.axiom.tradecluster-euw2.axiom.trade
EU Centralcluster2.axiom.tradecluster-euc2.axiom.trade
EU Eastcluster8.axiom.trade--
Asiacluster4.axiom.trade--
Australiacluster7.axiom.trade--
Globalcluster9.axiom.trade--

Hyperliquid Integration

Axiom proxies Hyperliquid API for perpetuals:

Base URL: https://api.hyperliquid.xyz
Method: POST /​info (public, no auth)

Request types:
  - clearinghouseState   # Account positions + margin
  - meta                 # Market metadata
  - allMids              # All mid prices
  - openOrders           # User open orders
  - userFills            # Trade history
  - l2Book               # L2 orderbook
  - recentTrades         # Recent trades
  - 24hrStats            # 24h statistics
  - userFunding          # Funding payments

Rust SDK (axiomtrade-rs)

Third-party Rust SDK: vibheksoni/​axiomtrade-rs

use axiomtrade_rs::{AuthClient, TradingClient, PortfolioClient, WebSocketClient};

// Architecture:
// AuthClient       -- authentication + session management
// PortfolioClient  -- balance tracking + analytics
// TradingClient    -- order execution + smart routing
// WebSocketClient  -- real-time data streaming
// EnhancedClient   -- unified client wrapper

Features:

  • Auto-OTP via IMAP (inbox.lv)
  • Turnkey hardware wallet support
  • MEV protection
  • Multi-account session management

Token Discovery Features

Pulse Module

  • New Pairs: Latest tokens detected on Solana
  • Final Stretch: Tokens about to graduate to Raydium
  • Migrated: Tokens with liquidity migrated

Discover Module

  • Trending: Market-hot tokens ranked by activity
  • Filters: Market cap, liquidity, honeypot detection
  • Security: Integrated audit flags

Wallet/​Twitter Tracking

  • Monitor any wallet address for trades
  • Twitter feed integration for token mentions
  • Trader Scan for copy-trading signals

Security Considerations

  • No public smart contracts: Axiom is a frontend/​API aggregator, not an on-chain protocol
  • Custody model: Users hold their own Solana wallets; Axiom executes via signed transactions
  • MEV protection: Anti-sandwich, anti-frontrun execution paths
  • API auth: Two-factor (password + OTP), JWT refresh tokens
  • Rate limiting: Auto-rotating across 7+ API servers

Relevant Trail of Bits Skills for Axiom Integration Auditing

  1. insecure-defaults -- Check API key storage, session token handling
  2. constant-time-analysis -- OTP verification timing leaks
  3. property-based-testing -- Smart routing correctness invariants
  4. semgrep -- Scan Rust SDK for unsafe patterns, credential leaks

Comparison with Ostium

AspectOstiumAxiom.trade
ChainArbitrum One (EVM)Solana + Hyperliquid
TypeOn-chain perp DEXDEX aggregator + frontend
AssetsRWA (Forex, Commodities, Stocks) + CryptoSolana tokens + Hyperliquid perps
Contracts15+ verified Solidity contractsNo public on-chain contracts
VaultERC4626 (USDC -> OLP)N/​A (user wallets)
OracleStork Network + ChainlinkDEX prices (aggregated)
TestnetArbitrum Sepolia (full deployment)No separate testnet
SDKPython (ostium-python-sdk)Rust (axiomtrade-rs, third-party)
AuditZellic, ThreeSigma, PashovN/​A
Bug BountyImmunefi ($100K max)N/​A

Related Repositories

  • vibheksoni/​axiomtrade-rs -- Rust SDK (third-party, high-quality)
  • cutupdev/​Solana-Perpetual-Dex-Smart-Contract -- "axiomtrade fork" (community)
  • docs.axiom.trade -- Official documentation (GitBook)

Related Skills

  • ostium-arbitrum-perps
  • aptos-trading
  • solana-vulnerability-scanner
  • insecure-defaults
  • property-based-testing

GF(3) Balanced Triad

axiom-solana-trading (+1) + ostium-arbitrum-perps (0) + secure-workflow-guide (-1) = 0

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View