Dark Forest Dev Guides
jacob/community
jacob/community
  • Developing for Dark Forest!
  • Connecting to the blockchain
    • What is an RPC endpoint?
    • Changing your RPC endpoint
    • Running your own xDAI node
  • Plugins
    • What is a plugin?
    • Writing your first plugin
    • Porting v0.5 plugins to v0.6
  • Mining
    • What is mining?
    • Sharing map data
    • Running a headless miner
    • Connecting to a remote (headless) miner
  • Developer resources
    • Running a custom client
    • Developing plugins locally
    • 3rd-party contract development
    • Dark Forest subgraph
    • How to query a subgraph
  • SNARKing
    • Running a remote SNARKer
  • Contributing
    • Contributing to this knowledge base
Powered by GitBook
On this page

Was this helpful?

  1. Mining

What is mining?

PreviousPorting v0.5 plugins to v0.6NextSharing map data

Last updated 3 years ago

Was this helpful?

Dark Forest's key mechanic is its cryptographic fog of war. When you first join the game, you have no information on where other players are located.

Players must compute hashes in order to uncover points of interest in the universe, such as the locations of planets and other players. These hashes are saved to your browser's local storage, and are considered secret data.

By default, the Dark Forest default web client uses a single-threaded Javascript miner to explore the universe, but there are a number of things that you can do to increase your hashrate.

You can set your webclient to use additional cores next to the play pause mining button. The performance of your miner will plateau if you try to set the number of cores to be greater than your computer's actual number of cores.

Community-maintained headless miner implementations, such as (and a ), are available online.

mimc-fast
complimentary client plugin