7.1.4 • Published 10 months ago

@dfares/contracts v7.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@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 or yarn by running:

npm install --save @dfares/contracts
yarn add @dfares/contracts

When using this in a plugin, you might want to load it with skypack

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

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.

7.1.4

10 months ago

6.8.14

1 year ago

6.8.13

1 year ago

6.8.12

1 year ago

6.8.11

1 year ago

6.8.10

1 year ago

6.8.9

1 year ago

6.8.7

1 year ago

6.8.6

1 year ago

6.8.5

2 years ago

6.8.4

2 years ago

6.8.3

2 years ago

6.8.2

2 years ago

6.8.1

2 years ago

6.9.4

2 years ago

6.9.3

2 years ago

6.9.2

2 years ago

6.9.1

2 years ago

6.9.0

2 years ago

6.8.0

2 years ago

6.8.0-dev.0

2 years ago