Skip to content

Instantly share code, notes, and snippets.

@eriknylund
Last active September 25, 2024 22:22
Show Gist options
  • Save eriknylund/1cef7d03fe0e659f1849683df520bb73 to your computer and use it in GitHub Desktop.
Save eriknylund/1cef7d03fe0e659f1849683df520bb73 to your computer and use it in GitHub Desktop.
Wasabi Wallet v1.1.12 deterministic build for bitcoinbinary.org

This video and guide should give everyone a fairly easy to follow and repeat the reproducible build for the Windows MSI package of Wasabi Wallet.

Since there is currently (2021-09-12) a problem with the automated deterministic build and I was unable to build the last three releases (v1.1.12.7 - v.1.1.12-9) this can act as a baseline to start and bisect the build issues and figure out where it stopped working.

Video (6m 58s)

https://www.youtube.com/watch?v=t88xcZw5PX4

Prerequisites

Commands to run in Git Bash

git clone --depth 1 --branch v1.1.12 https://github.com/zkSNACKs/WalletWasabi.git
cd WalletWasabi/WalletWasabi.Packager
dotnet nuget locals all --clear
dotnet restore
dotnet build
dotnet run -- --onlybinaries
cd "C:\Users\erik\WalletWasabi\WalletWasabi.Gui\bin\dist"
git diff --no-index "win7-x64" "C:\Program Files\WasabiWallet"

Verify SHA256 hash of MSI using PowerShell

PS C:\Users\erik\Downloads> Get-FileHash -Path .\Wasabi-1.1.12.msi
Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          9AEF2CF3F76A479C3D0425FC4E5A42B2CFB30406B1D62FF8CC60E602C4F97E39       C:\Users\erik\Downloads\Wasab...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment