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.
Library with base interfaces for LangGraph checkpoint savers.
Serialize and deserialize set-cookie headers
Serialization symbols for custom class serialization in Workflow SDK
simple shapes and procedures for serde with a pit-of-success
This package contains commonly-used data types in the Dark Forest webclient, also accessible in node.js server environments.
This package contains deployed contract addresses, ABIs, and Typechain types for the Dark Forest game.
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
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.
This package contains useful constants for use when interacting with the Dark Forest smart contracts within JavaScript or TypeScript.
Typescript SDK for Restate
This package contains a typed, single pub/sub pattern used in the Dark Forest game. Inspired by https://www.npmjs.com/package/monomitter
This package contains functions and classes useful for communicating with the blockchain.
This is a SerDe library to interact with the AWS Glue Schema Registry. It makes it easy to encode and decode messages with Avro schemas and the AWS' wire format.
A release parser
Framework agnostic JSON:API serialization and deserialization
A WebAssembly-powered library to efficiently update TOML files, based on Rust's `toml_edit` crate.
Client side JSON:API deserialization
A Kafka modules for NestJS
Javascript Smile implementation.
Koa integration for @jsonapi-serde/server
Binary serialization & deserialization API
OpenAPI schema generation for JSON:API serde