Inspiration

Prediction markets like Polymarket have exploded in popularity — over $3.6B traded during the 2024 U.S. election — but automation tools remain insecure. Existing “copy-trading” bots force users to upload their private keys to cloud servers or Telegram bots, exposing them to the same key-theft vectors responsible for $2B+ in crypto losses last year.

We asked a simple question:

What if you could trade like a whale — without ever exposing your private keys?

That question became Free Money — a TEE-secured, non-custodial copy-trading agent that runs on EigenCloud and executes trades on Polymarket safely, verifiably, and automatically.

What it does

Free Money lets users:

  • Mirror top-performing whale wallets on Polymarket automatically.
  • Backtest performance across historical prediction market data.
  • Build category-wise portfolios (politics, sports, crypto, etc.) based on whale behavior.
  • Execute trades securely — all signatures are generated inside EigenCompute’s Trusted Execution Environment (TEE), ensuring private keys never leave hardware.

Security and transparency are the core features:

  • Hardware-level isolation (Intel TDX/AMD SEV) protects keys from server compromise.
  • Each trade is accompanied by TEE attestation, verifiable on-chain.

How we built it

We deployed Free Money on EigenCloud, leveraging EigenCompute’s TEE infrastructure for secure off-chain computation.

Architecture:

  1. Frontend: React dashboard where users configure whale tracking, trading limits, and backtesting parameters.
  2. Data Layer: Uses Polymarket’s public API + on-chain event logs for whale position detection.
  • Monitors whale addresses via Polymarket’s APIs.
  • Manages user portfolios and backtesting analytics.
  • Submits copy-trades to the EigenCompute TEE.

    1. Backend (EigenCompute job):
  • Executes copy-trades inside a hardware-isolated enclave.

  • Submits mirrored trades securely — signed by a key stored within the enclave.

All trading logic and signing operations occur inside the enclave. Even we, as developers, can’t access user keys or trading instructions — that’s the security guarantee.

Challenges we ran into

  • Polymarket APIs: We had to pre-query and cache on-chain data to make the backend performant. The raw Polymarket endpoints were too slow for real-time whale tracking, so we built an intermediate data layer to speed up execution inside EigenCompute.
  • EigenCloud Deployment: Initially ran into deployment and configuration issues when setting up EigenCloud jobs — getting the enclave environment and permissions to sync correctly took several iterations.
  • Module Integration: We faced integration issues when connecting frontend, backend, and EigenCompute modules. Each part worked independently, but combining them (especially handling attestation proofs and key management between components) required careful debugging and interface redesign.

Accomplishments that we're proud of

  • First working copy-trading prototype on Polymarket with TEE-backed private key isolation.
  • Fully functional frontend dashboard for whale selection, backtesting, and live portfolio view.
  • Successful EigenCompute execution, securely hosting private keys and transactions.
  • Designed a modular architecture that can extend to other DeFi or prediction-market platforms.

What we learned

  • TEE security (Intel TDX / AMD SEV) is production-ready for consumer DeFi — but developer tooling is still a little tricky.
  • Verifiability beats trust: Combining hardware attestation with EigenLayer’s economic security creates a transparent, unstoppable architecture.
  • Prediction markets ≠ gambling: Whale strategies encode genuine informational value — and secure automation unlocks that alpha for everyday users.
  • Building on EigenCloud means developers can run complex off-chain logic (like trade simulation or AI-based whale scoring) without sacrificing decentralization or privacy.

What’s next for Free Money

  1. Multi-Whale Support: Allow users to follow weight positions dynamically.
  2. Cross-Market Expansion: Integrate Kalshi and other prediction markets for a unified interface.
  3. AI-Driven Whale Scoring: Rank whales by accuracy and ROI using historical data.
  4. Strategy Marketplace: Let users publish, rent, and remix profitable trading strategies.
  5. Mobile App: One-tap configuration and push notifications for trade activity.

Built With

Share this project:

Updates