open-index/open-npm huggingface dataset:
npm package: @polyswapai/contract-addresses
Description: A tiny utility library for getting known deployed contract addresses for a particular network.
Author: Polyswap
Latest version: 1.0.1

## @polyswapai/contract-addresses

A tiny utility library for getting known deployed contract addresses for a
particular network.

## Installation

```bash
yarn add @polyswapai/contract-addresses
```

**Import**

```typescript
import { getContractAddressesForChainOrThrow } from '@polyswapai/contract-addresses';
```

or

```javascript
var getContractAddressesForChainOrThrow = require('@polyswapai/contract-addresses').getContractAddressesForChainOrThrow;
```

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

```bash
PKG=@polyswapai/contract-addresses yarn build
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```