https://github.com/many-things/cw-hyperlane
https://github.com/many-things/cw-hyperlane
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/many-things/cw-hyperlane
- Owner: many-things
- Created: 2023-05-09T16:10:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T11:12:07.000Z (6 months ago)
- Last Synced: 2025-03-07T00:47:23.625Z (4 months ago)
- Language: Rust
- Size: 26.3 MB
- Stars: 52
- Watchers: 4
- Forks: 32
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ccamel - many-things/cw-hyperlane - (Rust)
README
# CW Hyperlane
[](https://codecov.io/gh/many-things/cw-hyperlane)
[](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

## 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)
```