2022-06-09 17:40:57 +02:00
|
|
|
# Running Electrum from source on macOS (development version)
|
2022-04-08 11:12:12 -07:00
|
|
|
|
2022-06-09 17:40:57 +02:00
|
|
|
## Prerequisites
|
2022-04-08 11:12:12 -07:00
|
|
|
|
2022-06-09 17:40:57 +02:00
|
|
|
- [brew](https://brew.sh/)
|
|
|
|
|
- python3
|
|
|
|
|
- git
|
2022-04-08 11:12:12 -07:00
|
|
|
|
2022-06-09 17:40:57 +02:00
|
|
|
## Main steps
|
|
|
|
|
|
|
|
|
|
### 1. Check out the code from GitHub:
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
$ git clone https://github.com/spesmilo/electrum.git
|
|
|
|
|
$ cd electrum
|
|
|
|
|
$ git submodule update --init
|
|
|
|
|
```
|
|
|
|
|
|
2022-04-08 20:22:50 +02:00
|
|
|
Run install (this should install most dependencies):
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
2024-09-05 16:20:01 +00:00
|
|
|
$ python3 -m pip install --user -e ".[gui,crypto]"
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
|
2022-06-09 17:40:57 +02:00
|
|
|
### 2. Install libsecp256k1
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
2022-06-09 17:40:57 +02:00
|
|
|
$ brew install autoconf automake libtool coreutils
|
2022-04-08 11:12:12 -07:00
|
|
|
$ contrib/make_libsecp256k1.sh
|
|
|
|
|
```
|
|
|
|
|
|
2024-09-05 16:20:01 +00:00
|
|
|
### 3. Run electrum:
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
$ ./run_electrum
|
|
|
|
|
```
|