> git clone https://github.com/spesmilo/electrum.git
> cd electrum
> git submodule update --init
Run install (this should install most dependencies):
> python3 -m pip install --user -e ".[gui,crypto]"
libsecp256k1
libsecp256k1 is a required dependency.
This is a C library, which you need to compile yourself.
Electrum needs a dll, named libsecp256k1-0.dll
(or newer libsecp256k1-*.dll
),
placed into the inner electrum/
folder.
For Unix-like systems, the (contrib/make_libsecp256k1.sh
) script does this for you,
however it does not work on Windows.
If you have access to a Linux machine (e.g. VM) or perhaps even using
WSL (Windows Subsystem for Linux), you can cross-compile from there to Windows,
and build this dll:
$ GCC_TRIPLET_HOST="x86_64-w64-mingw32" ./contrib/make_libsecp256k1.sh
Alternatively, MSYS2 and MinGW-w64 can be used directly on Windows, as follows.
$ pacman -Syu
$ pacman -S --needed git base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-autotools
$ export PATH="$PATH:/mingw64/bin"
cd
into the git clone, e.g. C:\wspace\electrum
(auto-mounted at /c/wspace/electrum
)
$ cd /c/wspace/electrum
$ GCC_TRIPLET_HOST="x86_64-w64-mingw32" ./contrib/make_libsecp256k1.sh
(note: this is a bit cumbersome, see issue #5976 for discussion)
> python3 ./run_electrum
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。