ROFL Swap

ROFLSwap is a privacy-preserving darkpool exchange built for the ETHDam hackathon, showcasing the power of Oasis Sapphire's confidential EVM and ROFL (Runtime Off-chain Logic) framework.

Websitegithub
  • 0 Raised
  • 706 Views
  • 0 Judges

Categories

  • ETHDam - Best Privacy
  • ETH Dam - Best Security
  • Oasis - Build a ROFL app
  • Oasis - Build on Sapphire

Gallery

Description

GitHub: https://github.com/tricodex/ethdam-2025/tree/master

Key Components:

  • ROFLSwapV4 Smart Contract: Stores encrypted orders and handles final settlement on the Oasis Sapphire confidential EVM.
  • ROFL App: Runs in a Trusted Execution Environment (TEE), providing hardware-level security and confidentiality for order matching.
  • Order Matching Engine: Matches buy and sell orders based on price and quantity, operating entirely within the secure TEE.
  • Settlement Engine: Executes matched trades on-chain while preserving privacy.
  • Confidentiality: Orders remain encrypted, with matching logic protected inside the TEE, preventing front-running and MEV attacks.

Attachments