1.3.0 • Published 11 months ago
@webb-tools/evm-contract-metadata v1.3.0
@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-metadataUsage
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:
- Clone the repository:
git clone https://github.com/tangle-network/evm-contract-metadata.git- Install dependencies:
yarn install- Build the package:
yarn build- Run tests:
yarn test