https://github.com/tangle-network/evm-contract-metadata
https://github.com/tangle-network/evm-contract-metadata
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tangle-network/evm-contract-metadata
- Owner: tangle-network
- Created: 2024-11-04T14:46:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-14T16:52:35.000Z (about 1 year ago)
- Last Synced: 2025-03-25T11:50:18.552Z (12 months ago)
- Language: TypeScript
- Size: 381 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @tangle-network/evm-contract-metadata
This package contains the EVM contract addresses, bridge contracts, and configs, along with token addresses.
## Installation
To install this package, run:
```bash
yarn add @tangle-network/evm-contract-metadata
```
## Usage
You can import the following addresses, types, and configs from this package:
```typescript
import {
HyperlaneAddresses,
HyperlaneAddressesType,
HyperlaneChains,
HyperlaneChainEnum,
HyperlaneWarpRouteConfig,
HyperlaneWarpRouteWhitelist,
EVMTokens,
EVMTokenEnum,
EVMChainEnum
} from '@tangle-network/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:
```bash
git clone https://github.com/tangle-network/evm-contract-metadata.git
```
2. Install dependencies:
```bash
yarn install
```
3. Build the package:
```bash
yarn build
```
4. Run tests:
```bash
yarn test
```
## Follow Tangle Network
- [Website](https://www.tangle.tools/)
- [X (Twitter)](https://x.com/tangle_network)
- [Telegram](https://t.me/tanglenet)
- [Discord](https://discord.gg/cv8EfJu3Tn)