Hot answers tagged

15 votes
Accepted

Are there any Monero specific programming language "libraries" available?

There are several. Python: https://github.com/tippero/python-monero Node js: https://github.com/ShenNoether/monero-nodejs Php: https://github.com/PsychicCat/monero-php I think the node and php ...
user avatar
  • 4,373
12 votes
Accepted

Any Monero projects in Python?

there is MiniNero and RingCT-Python as simple implementations of the the math behind Monero there is also the GUI lightwallet which is implemented in python.
user avatar
  • 346
3 votes
Accepted

How can I use Monero RPC via Python

The Monero team recently added a tool that makes it easy to integrate Monero RPC with Python. It can connect to running daemon and wallet and exposes their RPC interfaces: The following command will ...
user avatar
  • 34.6k
3 votes
Accepted

Is automated churning of XMR bad for privacy?

Is this bad for privacy? Yes. Performing a churn (or any transaction for that matter) at regular intervals is bad for privacy (for yourself and others to some degree). You are essentially helping to ...
user avatar
  • 17.4k
3 votes
Accepted

What is novault and what is its connection to Monero?

According to its GitHub description: novault is a command-line utility and Python module for generating passwords and cryptocurrency wallets from a combination of a description and a master ...
user avatar
  • 4,546
2 votes

wallet rpc call login parameter format please?

As @kenshi mentioned, --digest needs to be added to the curl command. The default behavior for curl is to attempt basic authentication, then abort. I have personally attempted curl with monero-wallet-...
user avatar
2 votes

Are there any Monero specific programming language "libraries" available?

For python, you can use MoneroPy. It is still pre-beta and under development, but has pure python implementations for wallet account creation, TX Extra parsing, integrated address encoding and ...
user avatar
2 votes
Accepted

Command for returning transactions in json format to external code

https://getmonero.org/resources/developer-guides/daemon-rpc.html Documents all the API methods you would need. You would first use get_block_count then iterate calling get_block, then calling ...
user avatar
  • 17.4k
2 votes
Accepted

What is the best Python library for hashing Cryptonight?

At this time, the best Python library for hashing CryptoNight is still the py-cryptonight, a Python CryptoNight implementation. This library has the crypto stuff in C/C++ (lifted straight from the ...
user avatar
  • 1,611
2 votes

Python lmdb version mismatch

If you delete the lmdb folder and re-sync you will be in the same position. Just use the version (0.9.70) of mdb_stat that's in the Monero source tree (monero/external/db_drivers/liblmdb). Also note, ...
user avatar
  • 17.4k
2 votes
Accepted

How do I connect to the testnet blockchain without downloading it?

You seem to misunderstand. monerod doesn't operate on a remote blockchain (other than syncing of course). You can however use the wallet (or another app, such as a python script) with a remote (or ...
user avatar
  • 17.4k
1 vote
Accepted

Encrypt and decrypt seed algorithms in Python

Which one is the method currently being used in the reference wallet? The current reference is as follows (and what is commented as the "CN Add" method). Once you have the seed bytes from ...
user avatar
  • 17.4k
1 vote
Accepted

How to make monero-powpy compatable with xmrig-proxy running in 'nicehash' mode?

You'd modify def pack_nonce to account for the Nicehash nonce byte. I.e. only pack 3 bytes. E.g. diff --git a/stratum-miner.py b/stratum-miner.py index 486e877..ec3ae5f 100644 --- a/stratum-miner.py +...
user avatar
  • 17.4k
1 vote

Accept payments to subaddresses without local node

I cannot find a way to connect to a monero remote node using python to scan incoming transactions to a subaddress. Run monero-wallet-rpc (which you can connect to a remote node), then use its JSON ...
user avatar
  • 17.4k
1 vote

Multisig MMS usage

monero-python package does not support mms at this time. See discussion here: https://github.com/monero-ecosystem/monero-python/issues/45
user avatar
  • 61
1 vote

monero-python "No module named 'sha3'"

This is more of a generic Python question. And the docs are wrong. The last line should be .venv/bin/pytest. I'll correct that. Also you may just install pysha3 (and other required modules) system-...
user avatar
  • 600
1 vote

Syntax Errors while building jtgrassie/pyrx on Windows [jit_compiler_x86_static.S, program_prologue_linux.inc,program_read_dataset_sshash_init.inc]

This StackExchange is not a general python/code support channel. That said... You did not follow the installation instructions in the repository readme. Quoting: pip install git+https://github.com/...
user avatar
  • 17.4k
1 vote
Accepted

Does the monero-powpy miner check if it has a new job?

The stratum miner processes any jobs sent to it. Although the stratum miner is one file, it is actually two processes: The main process handles the socket messages between itself and the connected ...
user avatar
  • 17.4k
1 vote
Accepted

RPC binary request with Python

To call the binary methods, you have to send raw binary data as an application/octet-stream in the request body and read the binary data sent back in the response body. There's a StackOverflow answer ...
user avatar
  • 17.4k
1 vote
Accepted

Trying to get private view key from hash seed generated from mymonero mnemonic (13 words) in Python

Your sc_reduce32 function was using the wrong value to reduce by, and you had not reversed the endianness of your bytes. Here is working code: import sha3 l = 2 ** 252 + ...
user avatar
  • 8,398
1 vote

Getting "Unauthorized Access" with RPC (using Python Requests)

When digest authentication is activated in the monero-wallet-rpc program (with the rpc-login option), every RPC request must contain the authentication information. So your request should be ...
user avatar
  • 3,304

Only top scored, non community-wiki answers of a minimum length are eligible