šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@hyperlane-xyz/cosmos-types

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperlane-xyz/cosmos-types

Hyperlane TypeScript SDK types for the Cosmos Hyperlane SDK module

12.6.0-permissable-mint.0
latest
Source
npm
Version published
Weekly downloads
280
-8.2%
Maintainers
3
Weekly downloads
Ā 
Created
Source

Hyperlane Cosmos Module SDK Types

The Hyperlane Cosmos SDK Types contains autogenerated TypeScript types and proto encoders/decoders for the Cosmos Hyperlane Module Implementation. It can be used inside an SDK for type support and for encoding and decoding the Hyperlane specific Cosmos transactions as well as other projects which might benefit from the Hyperlane Cosmos types.

Install

# Install with NPM
npm install @hyperlane-xyz/cosmos-types

# Or with Yarn
yarn add @hyperlane-xyz/cosmos-types

Setup

Before contributing make sure docker is installed and running which is needed for the type generation. Furthermore Node 18 or newer is required.

Contribute

First you need to install the dependencies by running yarn install.

Generating TS Types

You can automatically generate the TypeScript types from the proto files of the Cosmos Hyperlane Module by executing the following commands. Note that this only needs to be done if the proto files change in the Cosmos Hyperlane Module project.

cd typescript/cosmos-types
docker compose up

After this command has finished the newly generated types can be found under src/types.

Building the project

You can build the project with yarn build, the build output can be found under dist.

Keywords

hyperlane

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts