Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/many-things/cw-hyperlane
https://github.com/many-things/cw-hyperlane
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/many-things/cw-hyperlane
- Owner: many-things
- Created: 2023-05-09T16:10:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T13:49:53.000Z (23 days ago)
- Last Synced: 2024-10-18T14:31:25.774Z (21 days ago)
- Language: Rust
- Size: 24.7 MB
- Stars: 51
- Watchers: 4
- Forks: 25
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ccamel - many-things/cw-hyperlane - (Rust)
README
# CW Hyperlane
[![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)## Table of Contents
- [Architecture](#architecture)
- [Project Structure](#project-structure)
- [Prerequisites](#prerequisites)
- [How to build](#how-to-build)
- [How to test](#how-to-test)
- [How to deploy](#how-to-deploy)## Architecture
![Architecture](./asset/hyperlane-all.png)
## Prerequisites
- rust (wasm32-wasm32-unknown target)
- go 1.20 or higher
- llvm-cov## How to build
```bash
make install-devmake build
```## How to test
```bash
cargo test --workspace --exclude hpl-testscargo llvm-cov --workspace --exclude hpl-tests
```## [How to deploy](./DEPLOYMENT.md)
## Project Structure
```text
├── contracts
│ │
│ ├── core
│ │ ├── mailbox
│ │ └── va
│ │
│ ├── hooks
│ │ ├── aggregate
│ │ ├── fee # protocol fee
│ │ ├── merkle
│ │ ├── pausable
│ │ ├── routing
│ │ ├── routing-custom
│ │ └── routing-fallback
│ │
│ ├── igps # also this is a part of `hook`
│ │ ├── core
│ │ └── oracle
│ │
│ ├── isms
│ │ ├── aggregate
│ │ ├── multisig
│ │ ├── pausable
│ │ └── routing
│ │
│ ├── mocks # for testing
│ │ ├── mock-hook
│ │ ├── mock-ism
│ │ └── mock-msg-receiver
│ │
│ └── warp
│ ├── cw20
│ └── native
│
├── integration-test
│
├── packages
│ │
│ ├── connection # same as `MailboxClient` of evm implementation
│ ├── interface # package for contract interfaces (external)
│ ├── ownable
│ ├── pausable
│ └── router
│
├── scripts # useful scripts for development (e.g. code uploading. contract deployment)
│
└── ts
└── sdk # typescript sdk for contract integration. (auto generated via ts-codegen)
```