1 unstable release

0.0.6-rc6 Feb 2, 2024

#2978 in Magic Beans

Download history 19/week @ 2024-02-04 210/week @ 2024-02-11 128/week @ 2024-02-18 91/week @ 2024-02-25 55/week @ 2024-03-03 72/week @ 2024-03-10 98/week @ 2024-03-17 90/week @ 2024-03-24 96/week @ 2024-03-31 35/week @ 2024-04-07 93/week @ 2024-04-14 137/week @ 2024-04-21

364 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

~5–7MB
~130K SLoC