Skip to content

tangle-network/evm-contract-metadata

Repository files navigation

@webb-tools/evm-contract-metadata

This package contains the EVM contract addresses, bridge contracts, and configs, along with token addresses.

Installation

To install this package, run:

yarn add @webb-tools/evm-contract-metadata

Usage

You can import the following addresses, types, and configs from this package:

import {
  HyperlaneAddresses,
  HyperlaneAddressesType,
  HyperlaneChains,
  HyperlaneChainEnum,
  HyperlaneWarpRouteConfig,
  HyperlaneWarpRouteWhitelist,
  EVMTokens,
  EVMTokenEnum,
  EVMChainEnum
} from '@webb-tools/evm-contract-metadata';
  • HyperlaneAddresses - Hyperlane contract addresses deployed by the Tangle Network. Contains core Hyperlane addresses like mailbox, IGP, router contracts, etc.
  • HyperlaneChains - List of chains on which the Tangle Network has deployed Hyperlane contracts.
  • HyperlaneWarpRouteConfig - Warp routes deployed by the Tangle Network used by the Tangle bridge dApp.
  • HyperlaneWarpRouteWhitelist - List of warp route IDs whitelisted for use by the Tangle bridge dApp.
  • EVMTokens - Object that maps EVM chains to the object containing different token addresses.

Development

To run this package locally:

  1. Clone the repository:
git clone https://github.com/tangle-network/evm-contract-metadata.git
  1. Install dependencies:
yarn install
  1. Build the package:
yarn build
  1. Run tests:
yarn test

Follow Tangle Network