@dfares/contracts v6.8.14
@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: "0xA0e198CBD1B5f8749F57Aa8d60a8660d23B96957"
The address for the DarkForest contract.
INIT_ADDRESS
• Const
INIT_ADDRESS: "0x5139dCd33BA3f8F0a59c04dAe683934eCc508aC1"
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: 1406478
The block in which the DarkForest contract was initialized.
6 days ago
15 days ago
30 days ago
30 days ago
2 months ago
2 months ago
2 months ago
4 months ago
6 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago