This package contains deployed contract addresses, ABIs, and Typechain types for the Dark Forest game.
This package contains useful constants for use when interacting with the Dark Forest smart contracts within JavaScript or TypeScript.
Secure Smart Contract library for Solidity
Secure Smart Contract library for Solidity
This 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.
A debug logger package for other Google libraries
This package contains decoders and types for settings required to prepare and deploy the Dark Forest smart contracts.
Tunnels library for Visual Studio tools
Tunnels library for Visual Studio tools
[Optimism] L1 and L2 smart contracts for Optimism
Contracts for Optimism Specs
This package contains commonly-used data types in the Dark Forest webclient, also accessible in node.js server environments.
This 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.
This 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
Tunnels library for Visual Studio tools
This 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.
A history of deployments of the Delegation Framework
Layer 2 precompiles and rollup for Arbitrum Nitro
This package contains a typed, single pub/sub pattern used in the Dark Forest game. Inspired by https://www.npmjs.com/package/monomitter
Chainlink smart contracts for CCIP
🎛 Core contracts for the UniswapV2 protocol
Secure Smart Contract library for Solidity
Chainlink smart contracts
This package contains functions and classes useful for communicating with the blockchain.