hyperlane-cosmos

module
v0.0.0-...-eab7081 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0

README ΒΆ

hyperlane-cosmos

Conforms to README.lint

🌌 Why did we build hyperlane-cosmos?

  • How come IBC gets to have all the Cosmos fun? This repo provides a reference implementation for integrating and maintaining Hyperlane modules in Cosmos blockchains.

🌌🌌 Who benefits from it?

Cosmos-SDK based chain builders and integrators looking to add hyperlane connectivity to their chain.

🌌🌌🌌 What does hyperlane-cosmos do?

This repository provides modules integrated into a reference chain to demonstrate mailboxes, isms, and other hyperlane features.

🌌🌌🌌🌌 How do I use it?

Getting Started

You will need go v1.19 or higher.

See go's documentation on how to download and install

Clone the repository
cd $HOME
git clone https://github.com/strangelove-ventures/hyperlane-cosmos
cd hyperlane-cosmos

Running Interchain Tests

To run interchain tests you will need to install Docker

Additionally, you will need heighliner to build the hyperlane-simd image.

Install Heighliner

To build the hyperlane-simd image for interchain test you will need heighliner:

cd $HOME
git clone https://github.com/strangelove-ventures/heighliner
cd heighliner
go install ./...
Build the hyperlane-simd image:

From within the hyperlane-cosmos directory, heighliner can build a hyperlane-simd:local image:

cd $HOME/hyperlane-cosmos
heighliner build --chain hyperlane-simd --local
Run tests

From within the hyperlane-cosmos directory, the unit tests and interchain tests may be executed:

cd $HOME/hyperlane-cosmos
make test

🌌🌌🌌🌌🌌 Extras

Roadmap
  • Build hyperlane-cosmos to serve as the collaboration space for developing the modules.
  • include a module integration guide for chain maintainers to be able to introduce hyperlane into their chain.

Directories ΒΆ

Path Synopsis
app
params
Package params defines the simulation parameters in the gaia.
Package params defines the simulation parameters in the gaia.
cmd
Package imt provides an Incremental Merkle Tree
Package imt provides an Incremental Merkle Tree
x
announce/testutil
Code generated by MockGen.
Code generated by MockGen.
announce/types
Package types is a reverse proxy.
Package types is a reverse proxy.
igp
igp/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ism
ism/types
Package types is a reverse proxy.
Package types is a reverse proxy.
mailbox/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL