# @dfares/contracts

> This package contains deployed contract addresses, ABIs, and Typechain types for the Dark Forest game.

Latest version **7.1.4** (published 2024-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dfares/contracts
pnpm add @dfares/contracts
yarn add @dfares/contracts
bun add @dfares/contracts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 7.1.4 |
| Published | 2024-08-11 |
| First published | 2023-07-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16 |
| Dependencies | 2 |
| Unpacked size | 7.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 0xPARC |
| Maintainers | cherryblue1024, bitddy |

## Links

- npm: https://www.npmjs.com/package/@dfares/contracts
- npm.io page: https://npm.io/package/@dfares/contracts

## Dependencies (2)

- [ethers](https://npm.io/package/ethers.md) ^5.5.1
- [@ethersproject/providers](https://npm.io/package/@ethersproject/providers.md) ^5.5.1

## Recent versions

- 7.1.4 (latest) — 2024-08-11
- 6.8.14 — 2024-05-06
- 6.8.13 — 2024-04-27
- 6.8.12 — 2024-04-12
- 6.8.11 — 2024-04-12
- 6.8.10 — 2024-03-22
- 6.8.9 — 2024-03-22
- 6.8.7 — 2024-03-19
- 6.8.6 — 2024-01-24
- 6.8.5 — 2023-11-17
- 6.8.4 — 2023-07-19
- 6.8.3 — 2023-07-19
- 6.8.2 — 2023-07-18
- 6.8.1 — 2023-07-15

## README

# @dfares/contracts

This package contains deployed contract addresses, ABIs, and Typechain types
for the Dark Forest game.

## Installation

You can install this package using [`npm`](https://www.npmjs.com) or
[`yarn`](https://classic.yarnpkg.com/lang/en/) by running:

```bash
npm install --save @dfares/contracts
```

```bash
yarn add @dfares/contracts
```

When using this in a plugin, you might want to load it with [skypack](https://www.skypack.dev)

```js
import * as contracts from 'http://cdn.skypack.dev/@dfares/contracts';
```

## Typechain

The Typechain types can be found in the `typechain` directory.

## ABIs

The contract ABIs can be found in the `abis` directory.

## Table of contents

### Variables

- [CONTRACT_ADDRESS](README.md#contract_address)
- [INIT_ADDRESS](README.md#init_address)
- [NETWORK](README.md#network)
- [NETWORK_ID](README.md#network_id)
- [START_BLOCK](README.md#start_block)

## Variables

### CONTRACT_ADDRESS

• `Const` **CONTRACT_ADDRESS**: `"0x962847b239b1103D4C8B4eb67Bc663aC32a6aeb7"`

The address for the DarkForest contract.

---

### INIT_ADDRESS

• `Const` **INIT_ADDRESS**: `"0x8EDbCE1b4a353eF24beFCD9DbD26Fa34e98C0EA3"`

The address for the initalizer contract. Useful for lobbies.

---

### NETWORK

• `Const` **NETWORK**: `"redstone"`

The name of the network where these contracts are deployed.

---

### NETWORK_ID

• `Const` **NETWORK_ID**: `690`

The id of the network where these contracts are deployed.

---

### START_BLOCK

• `Const` **START_BLOCK**: `5592044`

The block in which the DarkForest contract was initialized.

---
_Source: https://npm.io/package/@dfares/contracts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
