Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ test_wallets
.codacy
coverage*
.coverage
.cache
.cache
monero.log
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ find_package(OpenSSL REQUIRED)

set(SOURCES
src/cpp/common/py_monero_common.cpp
src/cpp/daemon/py_monero_daemon_model.cpp
src/cpp/daemon/py_monero_daemon_rpc_model.cpp
src/cpp/daemon/py_monero_daemon_rpc.cpp
src/cpp/wallet/py_monero_wallet_model.cpp
src/cpp/wallet/py_monero_wallet.cpp
src/cpp/wallet/py_monero_wallet_rpc_model.cpp
src/cpp/wallet/py_monero_wallet_rpc.cpp
src/cpp/utils/py_monero_utils.cpp
src/cpp/py_monero.cpp
)
Expand Down
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
> monero-python is currently under maintenance, expect bugs and breaking changes.
> The maintenance of this project has been generously funded by the [Monero CCS](https://ccs.getmonero.org/proposals/everoddandeven-monero-python-maintenance.html).

A Python library for creating Monero applications using RPC and Python bindings to [monero v0.18.4.4 'Fluorine Fermi'](https://github.com/monero-project/monero/tree/v0.18.4.4).
A Python library for creating Monero applications using RPC and Python bindings to [monero v0.18.5.0 'Fluorine Fermi'](https://github.com/monero-project/monero/tree/v0.18.5.0).

* Supports wallet and daemon RPC clients.
* Supports client-side wallets using Python bindings.
Expand Down Expand Up @@ -102,11 +102,6 @@ wallet_full.close(True)

sudo apt install -y python3-all python3-pip python3-pybind11
```
```bash
# Fedora/RedHat

sudo dnf install -y python3-all python3-pip python3-pybind11
```

2. Clone the project repository:
```bash
Expand All @@ -125,7 +120,11 @@ wallet_full.close(True)
cmake ..
make
```
6. Or build and install monero-python with pip: `pip3 install . --break-system-packages`
6. Or build and install monero-python with pip:
```bash
pip3 install . --break-system-packages
```
7. Or run build script: `./bin/build_libmonero_python.sh`

### Linux Docker Build

Expand Down Expand Up @@ -196,7 +195,7 @@ wallet_full.close(True)
3. Start monero-wallet-rpc, e.g.: `./monero-wallet-rpc --daemon-address http://localhost:38081 --stagenet --rpc-bind-port 38083 --rpc-login rpc_user:abc123 --wallet-dir ./`

> [!NOTE]
> On Windows, if you want to use native wallets instead of monero-wallet-rpc, or if you want to process binary data, first install MSYS2:
> On Windows, first install MSYS2:
> 1. Install [MSYS2](https://www.msys2.org/).
> 2. Environment variables > System variables > Path > Edit > New > C:\msys64\mingw64\bin

Expand All @@ -220,11 +219,6 @@ For example: `export LD_PRELOAD=/path/to/libjemalloc.a` then run your app.

sudo apt install -y python3-pytest python3-pytest-rerunfailures
```
```bash
# System-wide installation Fedora/RedHat

sudo dnf install -y python3-pytest python3-pytest-rerunfailures
```
2. Clone the project repository:
```bash
git clone --recurse-submodules https://github.com/everoddandeven/monero-python.git
Expand All @@ -233,7 +227,7 @@ For example: `export LD_PRELOAD=/path/to/libjemalloc.a` then run your app.
```
3. Setup docker test environment
```bash
docker compose -f tests/docker-compose.yml up -d node_1 node_2 xmr_wallet_1 xmr_wallet_2
docker compose -f tests/docker-compose.yml up -d node_1 node_2 xmr_wallet_1 xmr_wallet_2 xmr_wallet_3
```
4. Or start RPC servers locally:
1. Download and install [Monero CLI](https://web.getmonero.org/downloads/).
Expand Down
Loading
Loading