DeFi Router — CryptoForge

Limit Order Book

Off-chain limit order system with on-chain settlement.
Contract Details
Categoryhybrid
Files20
Price$14.99
Tech Stack
Solidity ^0.8.24 TypeScript Express SQLite Foundry
Chains
Ethereum Arbitrum Base Optimism
Description
Off-chain limit order system with on-chain settlement. Users create signed EIP-712 limit orders off-chain (gasless), a keeper monitors and executes when market price meets the limit. Supports GTC, FOK, and partial fills.
Features
limit-order-book.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title Limit Order Book
/// @notice Off-chain limit order system with on-chain settlement.
contract LimitOrderBook {
    address public immutable owner;
    uint256 public constant VERSION = 1;

    event Initialized(address indexed deployer);

    constructor() {
        owner = msg.sender;
        emit Initialized(msg.sender);
    }

    // ... full implementation in purchased package
}
$14.99
Buy Now — $14.99