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
|
|
|
|
|
```
|
|
|
|
|
|
2024-10-07 17:04:14 +00:00
|
|
|
### 2. Prepare for compiling libsecp256k1
|
|
|
|
|
|
|
|
|
|
To be able to build the `electrum-ecc` package from source
|
|
|
|
|
(which is pulled in when installing Electrum in the next step),
|
|
|
|
|
you need:
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
2024-10-07 17:04:14 +00:00
|
|
|
$ brew install autoconf automake libtool coreutils
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
|
2024-10-07 17:04:14 +00:00
|
|
|
### 3. Install Electrum
|
|
|
|
|
|
|
|
|
|
Run install (this should install the dependencies):
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
2024-10-07 17:04:14 +00:00
|
|
|
$ python3 -m pip install --user -e ".[gui,crypto]"
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
|
2024-10-07 17:04:14 +00:00
|
|
|
### 4. Run electrum:
|
2022-04-08 11:12:12 -07:00
|
|
|
```
|
|
|
|
|
$ ./run_electrum
|
|
|
|
|
```
|