This package contains commonly-used data types in the Dark Forest webclient, also accessible in node.js server environments.
published version 6.7.29, 3 years agoThis package contains MiMC hashing utilities for use with Dark Forest. The MiMC algorithm is used for both finding planet hashes and calculating the perlin in-game. Among other things, these values are often needed for generating Snarks.
published version 6.7.29, 3 years agoThis package contains deployed contract addresses, ABIs, and Typechain types for the Dark Forest game.
published version 6.7.29, 3 years agoThis package contains useful constants for use when interacting with the Dark Forest smart contracts within JavaScript or TypeScript.
published version 6.7.29, 3 years agoThis package contains serializers and deserializers for converting between various representations of Dark Forest data, for example between raw data received from blockchain calls to Dark Forest contracts and the typescript types used across the client.
published version 6.7.29, 3 years agoThis package contains functions for determining various properties of Dark Forest objects based on their ID in hex. You could think of this package like procedural generation for Ethereum addresses.
published version 6.7.29, 3 years agoThis package contains `.wasm` compiled SNARK circuits and `.zkey` proving/verifier keys for the Dark Forest SNARKs. It also contains typescript types for inputs and outputs to the SnarkJS functions we use to calculate Dark Forest SNARK proofs, as well as
published version 6.7.29, 3 years agoThis package contains a typed, single pub/sub pattern used in the Dark Forest game. Inspired by https://www.npmjs.com/package/monomitter
published version 6.7.29, 3 years agoThis package contains functions and classes useful for communicating with the blockchain.
published version 6.7.29, 3 years agoThis package contains decoders and types for settings required to prepare and deploy the Dark Forest smart contracts.
published version 6.7.29, 3 years agoThis package contains utilities for working with DarkForest whitelist keys.
published version 6.7.29, 3 years ago