JSPM

@hyperlane-xyz/sdk

3.8.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2098
  • Score
    100M100P100Q122710F
  • License Apache-2.0

The official SDK for the Hyperlane Network

Package Exports

  • @hyperlane-xyz/sdk
  • @hyperlane-xyz/sdk/dist/consts/chainMetadata
  • @hyperlane-xyz/sdk/dist/consts/chainMetadata.js
  • @hyperlane-xyz/sdk/dist/index.js
  • @hyperlane-xyz/sdk/logos/black/arbitrum.svg
  • @hyperlane-xyz/sdk/logos/black/avalanche.svg
  • @hyperlane-xyz/sdk/logos/black/bsc.svg
  • @hyperlane-xyz/sdk/logos/black/celo.svg
  • @hyperlane-xyz/sdk/logos/black/ethereum.svg
  • @hyperlane-xyz/sdk/logos/black/moonbeam.svg
  • @hyperlane-xyz/sdk/logos/black/optimism.svg
  • @hyperlane-xyz/sdk/logos/black/polygon.svg
  • @hyperlane-xyz/sdk/logos/color/arbitrum.svg
  • @hyperlane-xyz/sdk/logos/color/avalanche.svg
  • @hyperlane-xyz/sdk/logos/color/bsc.svg
  • @hyperlane-xyz/sdk/logos/color/celo.svg
  • @hyperlane-xyz/sdk/logos/color/ethereum.svg
  • @hyperlane-xyz/sdk/logos/color/moonbeam.svg
  • @hyperlane-xyz/sdk/logos/color/optimism.svg
  • @hyperlane-xyz/sdk/logos/color/polygon.svg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hyperlane-xyz/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hyperlane SDK

The Hyperlane SDK helps developers create and manage interchain applications.

For details on how to use the various abstractions and utilities, see the documentation

Install

# Install with NPM
npm install @hyperlane-xyz/sdk

# Or with Yarn
yarn add @hyperlane-xyz/sdk

Contents

Constants

The names and relevant metadata for all Hyperlane-supported chains are included in this SDK, including public RPC and Explorer urls. It also includes the addresses for all Hyperlane core contracts and middleware.

Deployment, testing, and development classes

Classes for deploying, testing, and building applications using Hyperlane are included in the SDK. See the docs for details.

Chain Logos

The SDK contains SVG files for all Hyperlane-supported chains. They can be imported from the /logos folder.

import ArbitrumBlack from '@hyperlane-xyz/sdk/logos/black/arbitrum.svg';
import ArbitrumColor from '@hyperlane-xyz/sdk/logos/color/arbitrum.svg';

License

Apache 2.0