1.2 KiB
Building for Use
To build the tool locally and run it, you must:
-
Install the Go toolchain.
-
Clone the repository:
git clone https://github.com/muun/recovery cd recovery
-
Run the tool with:
go run -mod=vendor . -- <path to your Emergency Kit PDF>
This will take some time, as all dependencies must be compiled.
Reproducible Building for Verification
Our builds can be reproduced using Docker. To build all variants and verify the checksums for the binaries we provide, you need to:
-
Install the Docker toolchain and start the daemon.
-
Run this command:
make build-checksum-all
-
Verify that the printed checksums match those of the downloaded versions, using
sha256sum
as in theMakefile
.
We use Docker for these builds to ensure they are reproducible.
Note on MacOS
For the 2.2 release, we had to disable reproducible builds for MacOS. The inclusion of C code for the musig implementation made building the tool inside a Linux container extremely difficult. We'll be moving the process to GitHub actions soon, which can be easily audited and can build natively on MacOS.