🧠 Project Name
HypurrStudio | illusio
🔍 Description
Illusio is a powerful transaction simulator specifically designed for HyperEVM, enabling developers to test, analyze, and debug smart contract interactions before deploying them to the network. It provides detailed insights into transaction execution, state changes, and potential vulnerabilities.
🛠️ How It Works
Illusio is a powerful transaction simulator for HyperEVM that helps developers test, analyze, and debug smart contract interactions before pushing them to mainnet.
Here’s how it works under the hood:
1. Local Hardfork Environment
- Illusio spins up a local fork of the HyperEVM using an archive node at a chosen block number.
- This fork mirrors the exact chain state at that block (balances, contracts, storage).
- Developers can then test transactions in this fork without risking real funds or contracts.
- Essentially, it’s like having a sandboxed clone of mainnet, where you can run “what if” scenarios.
2. Transaction Simulation
- When a developer submits a transaction (e.g., a swap, a liquidity add, an NFT mint), Illusio executes it locally on the forked chain.
- No transaction is broadcasted to the real network.
- This allows safe testing of whether the transaction will succeed, how much gas it will cost, and what state changes will occur.
3. HyperEVM Trace Calls
- Illusio leverages debug trace APIs provided by HyperEVM (debug_traceTransaction, debug_traceCall, debug_traceCallMany) with callTracer, prestateTracer and custom tracers.
- These traces give low-level execution details:
- Function calls and return values
- Internal contract calls
- Event logs (ERC20/721 transfers, etc.)
- Gas usage at each step
- State changes (storage diffs, balance updates)
4. Developer Power Tools
- On top of traces, Illusio adds advanced simulation controls:
- Impersonation: Run a transaction as if you were any address (test whales, multisigs, bots).
- State Overrides: Override balances, storage, or contract code to test extreme scenarios.
- Balance Overrides: Pretend you have more/less tokens to simulate edge cases.
- Historical Replay: Fork from any past block to replay and debug historical transactions.
- Bundle Simulation
5. Debugging & Insights
- Illusio turns trace data into a developer-friendly view:
- ERC20/ERC721 asset flow detection (who received/sent what).
- Gas breakdown across internal calls.
- Error surfacing (why a tx reverts, with detailed reason).
- State diff viewer (before vs after storage changes).
- We also provide a light-weight SDK for integration in the application, that could easily be used in the wallets to simulate the tx and show the exact error before broadcasting the tx
📂 Project Links
Website: https://illusio.vercel.app/
Documentation: https://hypurrstudio.github.io/illusio-docs/intro/
Github: https://github.com/HypurrStudio
X/Twitter: https://x.com/hypurrstudio
Swagger UI: https://hypurrstudio.onrender.com/swagger
👥 Team
- Nilesh Gupta [ X/Twitter | Discord | Github ]
- Sumith Prabhu [ X/Twitter | Discord | Github ]