hypersim-engine

A TypeScript/Node backend that simulates HyperEVM + HyperCore transactions with accurate gas accounting and a two-phase execution model.

  • 210 Raised
  • 514 Views
  • 1 Judges

Categories

  • 01. 🛠️ Public Goods
  • 03. 🧪 Precompiles + CoreWriter Exploration Track
  • 04. HyperEVM Transaction Simulator
  • 18. Best use of Goldsky

Description

🧠 Project Name

Hypersim Engine

🔍 Description

Hypersim Engine simulates HyperEVM + HyperCore transactions with accurate gas accounting and a two‑phase execution model. It enables fast, realistic what‑if analysis for single transactions and bundles, with support for state overrides, access lists, and detailed traces.

🛠️ How It Works

  • Phase A: Execute EVM transaction on a Hardhat fork, resolving precompiles against live API for accurate state reads (e.g., oraclePx, perpAssetInfo, positions)
  • Phase B: Decode CoreWriter actions and apply them as a simulated next HyperCore block.

🚧 Challenges We Faced

- Why This Project is Unique

  • It's easy to use Foundry/Hardhat or Alchemy simulator without precompile implementation but our main challenge was implementing **precompiles against live data** in a HyperEVM environment.
  • Technical challenges

💻 Demo

  • Video: https://youtu.be/T-WnnFpehG0
  • Successful testing of L1Read.sol contract with latest data from main net


📂 Project Links


👥 Team

  • Adarsh Kumar: Rust, Go, and Solidity engineer with experience in DeFi and blockchain backend systems. Distributed systems enthusiast LinkedIn
  • Amit Yadav: Blockchain engineer with deep experience in DeFi architectures(Solidity and Cosmos-SDK) and backend tooling for scalable trading simulations and execution.
    - LinkedIn

Attachments