2022-07-27 16:16:41 +00:00
|
|
|
# MMGen Node Tools
|
2017-01-06 12:45:16 +03:00
|
|
|
|
2022-10-17 18:35:55 +00:00
|
|
|
### Terminal-based utilities for Bitcoin and forkcoin full nodes
|
2017-01-06 12:45:16 +03:00
|
|
|
|
2020-10-23 17:13:21 +00:00
|
|
|
Requires modules from the [MMGen online/offline cryptocurrency wallet][6].
|
2017-01-06 12:45:16 +03:00
|
|
|
|
2020-10-23 17:13:21 +00:00
|
|
|
## Install:
|
|
|
|
|
|
2023-11-20 14:45:15 +00:00
|
|
|
If installing as user (without venv), make sure that `~/.local/bin` is in `PATH`.
|
2023-11-09 05:19:01 +00:00
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
#### Windows/MSYS2:
|
2023-11-08 10:31:42 +00:00
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
> Install [MSYS2 and the MMGen Wallet dependencies][8], skipping installation of
|
|
|
|
|
> scrypt, libsecp256k1 and the wallet itself if desired.
|
2023-11-27 09:32:24 +00:00
|
|
|
>
|
2023-11-27 09:18:43 +00:00
|
|
|
> Install some additional dependencies:
|
2023-11-27 09:32:24 +00:00
|
|
|
> ```bash
|
2023-11-30 09:19:10 +00:00
|
|
|
> $ pacman -S mingw-w64-ucrt-x86_64-python-pandas
|
2023-11-27 09:32:24 +00:00
|
|
|
> $ python3 -m pip install requests-futures
|
|
|
|
|
> $ python3 -m pip install --no-deps yahooquery
|
|
|
|
|
> ```
|
2023-11-08 10:31:42 +00:00
|
|
|
|
2024-09-22 16:10:08 +00:00
|
|
|
#### Linux, macOS:
|
2023-11-08 10:31:42 +00:00
|
|
|
|
2024-09-22 16:10:08 +00:00
|
|
|
> Install some [required packages][7] with your package manager and pip.
|
2020-10-23 17:13:21 +00:00
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
### Stable version:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ python3 -m pip install --upgrade mmgen-node-tools
|
|
|
|
|
```
|
2020-10-23 17:13:21 +00:00
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
### Development version:
|
|
|
|
|
|
2025-03-29 12:12:35 +00:00
|
|
|
First install the latest development version of [MMGen Wallet][6] for your
|
|
|
|
|
platform. Then perform the following steps:
|
2023-11-27 09:18:43 +00:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ git clone https://github.com/mmgen/mmgen-node-tools
|
|
|
|
|
$ cd mmgen-node-tools
|
|
|
|
|
$ python3 -m build --no-isolation
|
|
|
|
|
$ python3 -m pip install dist/*.whl
|
|
|
|
|
```
|
2022-02-11 09:48:08 +00:00
|
|
|
|
2022-07-27 16:16:41 +00:00
|
|
|
## Test:
|
|
|
|
|
|
2023-11-20 14:45:15 +00:00
|
|
|
*NOTE: the tests require that the MMGen Wallet and MMGen Node Tools repositories be
|
2022-07-27 16:16:41 +00:00
|
|
|
located in the same directory.*
|
|
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
#### Windows/MSYS2:
|
|
|
|
|
|
|
|
|
|
> *Tested only on NTFS – with ReFS your mileage may vary*
|
2023-11-27 09:32:24 +00:00
|
|
|
>
|
2023-11-27 09:18:43 +00:00
|
|
|
> Turn on Developer Mode to enable symlinks:
|
2023-11-27 09:32:24 +00:00
|
|
|
> ```
|
|
|
|
|
> Settings -> Update & Security -> For developers -> Developer Mode: On
|
|
|
|
|
> ```
|
2023-11-27 09:18:43 +00:00
|
|
|
> and add this to your `~/.bashrc`:
|
2023-11-27 09:32:24 +00:00
|
|
|
> ```bash
|
|
|
|
|
> export MSYS=winsymlinks:nativestrict
|
|
|
|
|
> ```
|
2023-11-27 09:18:43 +00:00
|
|
|
> Close and reopen the MSYS2 terminal to update your environment.
|
|
|
|
|
|
2022-08-06 09:48:48 +00:00
|
|
|
Initialize the test framework (must be run at least once after cloning, and
|
|
|
|
|
possibly again after a pull if tests have been updated):
|
2023-11-30 09:19:10 +00:00
|
|
|
```
|
|
|
|
|
$ test/init.sh
|
|
|
|
|
```
|
2022-08-06 09:48:48 +00:00
|
|
|
BTC-only testing:
|
2023-11-30 09:19:10 +00:00
|
|
|
```
|
|
|
|
|
$ test/test-release.sh -A
|
|
|
|
|
```
|
2022-08-06 09:48:48 +00:00
|
|
|
Full testing:
|
2023-11-30 09:19:10 +00:00
|
|
|
```
|
|
|
|
|
$ test/test-release.sh
|
|
|
|
|
```
|
2022-07-27 16:16:41 +00:00
|
|
|
|
2017-01-06 12:45:16 +03:00
|
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
|
|
2023-11-27 09:18:43 +00:00
|
|
|
Homepage:
|
2023-11-30 09:19:10 +00:00
|
|
|
[Clearnet](https://mmgen.org) |
|
2023-11-27 09:18:43 +00:00
|
|
|
[I2P](http://mmgen-wallet.i2p) |
|
|
|
|
|
[Onion](http://mmgen55rtcahqfp2hn3v7syqv2wqanks5oeezqg3ykwfkebmouzjxlad.onion)
|
|
|
|
|
Code repository:
|
2023-11-30 09:19:10 +00:00
|
|
|
[Clearnet](https://mmgen.org/project/mmgen/mmgen-node-tools) |
|
|
|
|
|
[I2P](http://mmgen-wallet.i2p/project/mmgen/mmgen-node-tools) |
|
|
|
|
|
[Onion](http://mmgen55rtcahqfp2hn3v7syqv2wqanks5oeezqg3ykwfkebmouzjxlad.onion/project/mmgen/mmgen-node-tools)
|
2023-11-27 09:18:43 +00:00
|
|
|
Code repository mirrors:
|
2023-11-30 09:19:10 +00:00
|
|
|
[Github](https://github.com/mmgen/mmgen-node-tools) |
|
|
|
|
|
[Gitlab](https://gitlab.com/mmgen/mmgen-node-tools) |
|
2025-03-15 18:23:16 +00:00
|
|
|
[Codeberg](https://codeberg.org/mmgen/mmgen-node-tools)
|
2023-11-27 09:18:43 +00:00
|
|
|
[Keybase](https://keybase.io/mmgen) |
|
2023-11-30 09:19:10 +00:00
|
|
|
[Twitter](https://twitter.com/TheMMGenProject) |
|
2023-11-27 09:18:43 +00:00
|
|
|
[Reddit](https://www.reddit.com/user/mmgen-py) |
|
|
|
|
|
[Bitcointalk](https://bitcointalk.org/index.php?topic=567069.new#new)
|
|
|
|
|
[PGP Signing Key][5]: 5C84 CB45 AEE2 250F 31A6 A570 3F8B 1861 E32B 7DA2
|
|
|
|
|
Donate:
|
|
|
|
|
⊙ BTC: *bc1qxmymxf8p5ckvlxkmkwgw8ap5t2xuaffmrpexap*
|
|
|
|
|
⊙ BCH: *15TLdmi5NYLdqmtCqczUs5pBPkJDXRs83w*
|
|
|
|
|
⊙ XMR: *8B14zb8wgLuKDdse5p8f3aKpFqRdB4i4xj83b7BHYABHMvHifWxiDXeKRELnaxL5FySfeRRS5girgUvgy8fQKsYMEzPUJ8h*
|
2017-01-06 12:45:16 +03:00
|
|
|
|
2023-11-20 14:45:15 +00:00
|
|
|
[5]: https://github.com/mmgen/mmgen-wallet/wiki/MMGen-Signing-Keys
|
|
|
|
|
[6]: https://github.com/mmgen/mmgen-wallet/
|
2024-09-22 16:10:08 +00:00
|
|
|
[7]: https://github.com/mmgen/mmgen-wallet/wiki/Install-MMGen-Wallet-on-Linux-or-macOS
|
2023-11-27 09:18:43 +00:00
|
|
|
[8]: https://github.com/mmgen/mmgen-wallet/wiki/Install-MMGen-on-Microsoft-Windows#a_m
|