GaiaExGaiaEx
Back to Home
Security & Self-Custody·4 min read·Updated: 2026-11-29

Hardware-Enclave Self-Custody (Split-Key + TEE)

How Privy Split-Key cryptography and AWS Nitro Enclave hardware TEE protect your wallet with scoped canWithdraw=false trading sessions.

1. Zero Intact Private Key Anywhere

GaiaEx never takes custody of your funds and never holds your complete private key. Using Privy's Split-Key + Hardware TEE architecture, your key is split into two encrypted shares—your Auth Share and the Enclave Share. Both are required to sign, and neither GaiaEx nor Privy stores an intact key on disk.

2. Signing Inside an AWS Nitro Enclave

When you authorize a sensitive action with your passkey, both encrypted shares enter a sealed AWS Nitro Enclave—an isolated CPU hardware environment with no persistent storage, no direct internet access, and no SSH/human login:

  1. The enclave cryptographically verifies your passkey / authentication proof.
  2. The signature is computed in isolated RAM in milliseconds.
  3. Key material is wiped from memory immediately after signing.

3. Scoped Trading Session (canWithdraw=false)

To give you sub-second order execution without biometric prompts on every click, your main TEE wallet signs a one-time EIP-712 delegation authorizing a trading-only agent session key with canWithdraw=false. Even if a trading session or API key were ever compromised, it cannot transfer or withdraw your collateral—only your main TEE wallet can authorize withdrawals.

Note: Never share your passkey device, login codes, or API secret with anyone—GaiaEx support will never ask for them.