mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
By defining our own build script, we gain complete clarity and control over how the WASM is built. This also removes the need to patch the upstream due to it allowing pollution of the environment variables from the host. Notable appreciation is given to https://github.com/rust-lang/rust/issues/145491 for identifying an issue encountered here, with the associated PR clarifying the necessary flags for the linker to fix this.
Orchestration
This folder contains the tool which generates various dockerfiles and manage deployments of Serai.
To start, run:
cargo run -p serai-orchestrator
to generate all of the dockerfiles needed for development.