Page cover

5. πŸ” Infrastructure & Security

WhalesX isn't just a slick UI. It's a high-frequency trading engine built like a battle-grade OS. Speed, scalability, and hardcore security are baked into every layer of the stack.

πŸ” Vault HMS β€” Your Wallet, Locked & Loaded

On your first Phantom connection, WhalesX generates an internal wallet β€” encrypted, secure, and vault-protected.

  • Private key is shown once only, never stored in plain text

  • Encrypted via 256-bit GCM

  • 10,000 iterations on Vault Transit engine

  • Powers encryption for:

    • WhalesX wallet

    • User JWTs

    • All backend endpoints and session tokens

This is the same vault-grade tech used in banking and high-security Web3 systems.


πŸ”‘ Backend-Only Auth with Encrypted JWT

Every user session gets a unique JWT, encrypted via Vault and tied to:

  • Your Phantom wallet

  • Your WhalesX wallet

  • Your active session

All API calls go through this token: βœ… No manual signing βœ… No key exposure βœ… Backend-only, airtight authentication

That means fast, secure interactions β€” with zero friction.


πŸ”’ Full TLS Stack β€” Mongo, Redis, Vault

All data is encrypted in transit and at rest:

  • MongoDB for persistent storage

  • Redis for ultra-fast RAM caching

  • Vault HMS for secure secret management

➑️ No plaintext packets. ➑️ Fully TLS/HTTPS from end to end. This is enterprise-grade infrastructure.


⚑ Redis = High-Speed Brain

Redis powers real-time performance:

  • Caches pools as soon as they're discovered

  • Stores live copy-trade configs

  • Handles key requests in under 30 ms

  • New pool: 100–400 ms

  • Cached pool: ~25 ms

Even if you're not first to the trade, you move like you are.


πŸš€ Parallelized Transactions + Solana TPU

WhalesX doesn’t just throw out RPCs and pray.

Every trade is:

  • Parallelized

  • Routed through Solana’s Transaction Processing Unit (TPU)

  • Synced with a custom backend stack:

    • SWQOS threading

    • Dedicated gRPC wallet tracker

    • Load-balanced execution logic

πŸ’‘ Current capacity: 100 RPS πŸ“ˆ Target: 1000 RPS via custom RPC node in the roadmap


🌍 Low-Latency Hosting β€” Right Next to Solana

WhalesX runs on bare-metal servers deployed near the Solana RPC endpoint.

Result: Trader hits β€œBuy”? You're in the same block β€” or the very next. No lag. No delay. No missed trades.


TL;DR β€” Fort Knox, but Make It Fast

  • βœ… Vault HMS encryption (256-bit GCM + Transit)

  • βœ… JWT-only backend auth, no keys exposed

  • βœ… TLS stack across all data layers

  • βœ… Ultra-fast caching with Redis

  • βœ… Parallelized trading via TPU

  • βœ… Scalable from 100 β†’ 1000 RPS

  • βœ… Proximity hosting for real-time execution

WhalesX is built to win blockspace wars. You’re not just copying traders β€” you’re moving with military-grade infrastructure.

Last updated