@dfares/contracts
v7.1.4
Published
This package contains deployed contract addresses, ABIs, and Typechain types for the Dark Forest game.
Downloads
4
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
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.