Limit Order Book
Off-chain limit order system with on-chain settlement. Gasless EIP-712 signed orders, keeper-executed fills, GTC and FOK support.
Product 9 of the defi-router store. Part of the CryptoForge DeFi toolkit.
Price: $14.99 | License: MIT | Solidity: ^0.8.24 | Framework: Foundry
Overview
LimitOrderSettlement is a production-ready limit order settlement contract that enables gasless off-chain order creation with on-chain execution. Users sign EIP-712 typed limit orders; a keeper/relayer monitors market prices and batch-fills orders when conditions are met.
Key Features
- Gasless order creation -- Makers sign EIP-712 orders off-chain (zero gas cost)
- On-chain settlement -- Keepers execute fills via the settlement contract
- GTC orders -- Good Till Cancelled with partial fill support
- FOK orders -- Fill Or Kill, all-or-nothing execution
- Batch fills -- Fill multiple orders in a single transaction
- Configurable fees -- Protocol fee (0-1%) on each fill, sent to fee recipient
- Nonce-based cancellation -- Cancel individual orders or all orders at once
- Permit2 ready -- Immutable Permit2 address for gasless approval flows
- Emergency controls -- Pause fills + sweep stuck tokens
- Ownable2Step -- Two-step ownership transfer
🔒 Available in full product
Architecture
🔒 Available in full product
Order Flow
You’ve reached the end of the free preview
Get the full Limit Order Book and unlock everything.
All Chapters
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Full Tool Suite
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Source Files
Downloadable source code, configuration files, and working examples from every chapter.
Lifetime Updates
Free updates for life. Every new chapter, tool, and improvement included.
Buy Now — $15 →
📦 Free sample included — download another copy for the full product.
Limit Order Book v1.0.0 — Free Preview