Mach 2
  • Getting Started
    • What is Mach?
    • Mach 2
      • Optimistic Settlement
      • Intents
      • Order Matching
      • Stables & RWAs
    • Trade Lifecycle
  • Navigation
    • Users
      • FAQ
    • Market Makers
  • Protocol
    • Overview
      • Cross-Chain Swap
      • Challenge Process
    • CCTP
    • LayerZero
    • API
      • Integration
    • Staging
    • Deployed Contracts
    • Supported Assets
    • Security
  • Whitepaper
  • Audits
  • Github
Powered by GitBook
On this page
  1. Protocol

Overview

PreviousMarket MakersNextCross-Chain Swap

Last updated 12 months ago

Welcome to the Mach Protocol documentation. This section provides a comprehensive overview of the protocol's technical aspects, designed to offer insights into its architecture, functionality, and integration points.

Layout

contracts/ Folder

This directory houses all the smart contracts for the Mach protocol. It contains not only the core contract files but also all necessary import and interface files required for deployment and testing.

👉 For Mach Protocol Contracts: Visit

tests/ Folder

This directory includes integration tests for both the single-chain and multi-chain versions of the Hourglass protocol. These tests articulate the expected behavior of the system and serve as useful examples for understanding how the protocol functions.

👉 For Mach Protocol Testing: Visit

Hourglass_Contracts/contracts/hourglass
Hourglass_Contracts/blob/main/testing/MultichainTests/tests2.ipynb