Skip to content

Commit

Permalink
project structure & overview
Browse files Browse the repository at this point in the history
  • Loading branch information
byeongsu-hong committed Feb 28, 2024
1 parent cab7199 commit 6cde4c8
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
[![codecov](https://codecov.io/gh/many-things/cw-hyperlane/branch/main/graph/badge.svg?token=SGYE7FBTAO)](https://codecov.io/gh/many-things/cw-hyperlane)
[![crates.io](https://img.shields.io/crates/v/hpl-interface)](https://crates.io/crates/hpl-interface)

## Architecture Overview
## Overview

![Architecture Overview](./asset/hyperlane-all.png)
- [Architecture](#architecture)
- [Project Structure](#project-structure)
- [Prerequisites](#prerequisites)
- [How to build](#how-to-build)
- [How to test](#how-to-test)

### Components
## Architecture

![Architecture](./asset/hyperlane-all.png)

## Project Structure

```
├── contracts
Expand All @@ -18,14 +26,14 @@
│ │
│ ├── hooks
│ │ ├── aggregate
│ │ ├── fee
│ │ ├── fee # protocol fee
│ │ ├── merkle
│ │ ├── pausable
│ │ ├── routing
│ │ ├── routing-custom
│ │ └── routing-fallback
│ │
│ ├── igps
│ ├── igps # also this is a part of `hook`
│ │ ├── core
│ │ └── oracle
│ │
Expand All @@ -35,7 +43,7 @@
│ │ ├── pausable
│ │ └── routing
│ │
│ ├── mocks
│ ├── mocks # for testing
│ │ ├── mock-hook
│ │ ├── mock-ism
│ │ └── mock-msg-receiver
Expand All @@ -48,17 +56,16 @@
├── packages
│ │
│ ├── connection
│ ├── interface
│ ├── connection # same as `MailboxClient` of evm implementation
│ ├── interface # package for contract interfaces (external)
│ ├── ownable
│ ├── pausable
│ ├── router
│ └── schema
│ └── router
├── scripts
├── scripts # useful scripts for development (e.g. code uploading. contract deployment)
└── ts
└── sdk
└── sdk # typescript sdk for contract integration. (auto generated via ts-codegen)
```

## Prerequisites
Expand Down

0 comments on commit 6cde4c8

Please sign in to comment.