All you need to do is clone this repo, run the below commands, but swap out yarn start:prod with yarn start:dev
This fork creates src/Backend/Storage/LocalContracts.ts and swaps out the contract addresses to the ones deployed with hardhat.
- Node (v14.15.x)
- Yarn (Javascript Package Manager)
Dark Forest is built and tested using Node.js v14.15.x and might not run properly on other Node.js versions. We recommend using NVM to switch between multiple Node.js version on your machine.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm installAfter the installation is finished, you can run node --version to verify that you are running v14.15.x
Refer to Yarn's official documentation for the installation guide.
After you have Yarn installed, run yarn to install the dependencies:
To connecting to the mainnet client, simply run yarn start:prod. When asked you can use your whitelist key or import your mainnet burner secret and home coordinates.