TEE-based private order book DEX, preventing MEV and executing trades privately.
SoloPatty is a trust-minimized, intent-based DEX that eliminates MEV attacks, frontrunning, and sandwich attacks using Trusted Execution Environments (TEE).
Most DeFi trading platforms suffer from transaction manipulation, where bots exploit pending orders. SoloPatty prevents this by keeping all trade intents private and executing them securely.
SoloPatty integrates secure computing, encrypted trading, and blockchain smart contracts to create a decentralized trading experience without MEV risks.
πΉ Marlin TEE + NestJS β The backend runs inside a Trusted Execution Environment (TEE) using NestJS, ensuring private and tamper-proof order matching.
πΉ Solidity on Ethereum/Aptos β Smart contracts manage:
πΉ OpenZeppelin Libraries β Used ERC20, ECDSA, and MessageHashUtils for secure token interactions and cryptographic verification.
πΉ Next.js + Wagmi + Viem + ShadCN + TailwindCSS β A modern frontend stack for fast and seamless Web3 interactions.
1οΈβ£ Users deposit tokens β Smart contract locks funds and emits a deposit event.
2οΈβ£ TEE listens for deposit events and updates the off-chain balance state.
3οΈβ£ Users submit encrypted trade intents (signed & encrypted with the TEEβs public key).
4οΈβ£ Every minute, the TEE:
5οΈβ£ Users withdraw tokens β TEE generates an attestation signature, which the smart contract verifies before executing the transfer.
π Encrypted Trade Intents β No mempool exposure; bots cannot see pending orders.
π Batch Matching in a TEE β Ensures fair execution without sandwich attacks.
π Attested Execution β The TEE provides a cryptographic proof that orders were matched correctly.
β
Merkle Tree for Balance Compression β Efficient off-chain balance management reduces gas fees.
β
TEE-Based Order Matching β Ensures privacy & tamper-proof execution without trust assumptions.
β
Optimized Smart Contract Design β Reduces unnecessary on-chain transactions, improving scalability.
With SoloPatty, decentralized trading is finally fair, private, and efficientβno more MEV, no more frontrunning. π
Marlin configurations:
The Job ID 0x0000000000000000000000000000000000000000000000000000000000000baa
IP address: 43.204.7.164