From 520465646a4bde841e294cd6b928e796c5fa8136 Mon Sep 17 00:00:00 2001 From: Yann Bongiovanni Date: Sun, 17 Nov 2024 17:05:44 +0100 Subject: [PATCH] Update installation instructions to resolve libsecp256k1 issue on Windows --- docs/INSTALL.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 9652eae54..ded5e868c 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -166,9 +166,13 @@ Using the command prompt in Administrator mode, go to that directory and run the (replace `services` with `gui` for Joinmarket-Qt). -The final step is to manually add the libsodium dependency, as mentioned. Do the following: +The final step is to manually add the libsecp256k1 dependency, as mentioned. Do the following: -Download the file at `https://www.nuget.org/api/v2/package/libsodium` and rename it to `.zip` so that you can unzip it. Once unzipped, find the `libsodium.dll` file at `runtimes\win-x64\native\libsodium.dll` and copy it into `C:\Windows\System` (note this will require Admin rights). +Install the libsecp256k1-0 package with + +`pip install libsecp256k1-0` + +Find the `libsecp256k1-0.dll` within the `/Lib/site-packages/libsecp256k1_0/compiled/` directory of your Python environment and copy it into the `Scripts` folder of your Python environment. Rename the file to `secp256k1.dll`. At this point Joinmarket should be ready to run both in command line and Joinmarket-Qt form (using `python joinmarket-qt.py` from the `\scripts` subdirectory of `joinmarket-clientserver`).