10 releases

0.0.6 Mar 12, 2024
0.0.6-rc8 Feb 14, 2024
0.0.6-rc6 Oct 26, 2023
0.0.6-rc3 Nov 9, 2023
0.0.1 Aug 17, 2023

#1794 in Magic Beans

Download history 153/week @ 2023-12-17 70/week @ 2023-12-24 97/week @ 2023-12-31 119/week @ 2024-01-07 88/week @ 2024-01-14 126/week @ 2024-01-21 169/week @ 2024-01-28 29/week @ 2024-02-04 90/week @ 2024-02-11 8/week @ 2024-02-18 15/week @ 2024-02-25 1/week @ 2024-03-03 123/week @ 2024-03-10 5/week @ 2024-03-17 66/week @ 2024-03-31

194 downloads per month

Apache-2.0

73KB
2.5K SLoC

CW Hyperlane

codecov crates.io

Table of Contents

Architecture

Architecture

Prerequisites

  • rust (wasm32-wasm32-unknown target)
  • go 1.20 or higher
  • llvm-cov

How to build

make install-dev

make build

How to test

cargo test --workspace --exclude hpl-tests

cargo llvm-cov --workspace --exclude hpl-tests

How to deploy

Project Structure

├── 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)

Dependencies

~7.5MB
~144K SLoC