Hot answers tagged

15

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 libraries are for interacting more with simplewallet in particular, but the Python library is for both daemon and wallet I believe.


12

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.


3

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 connect to a monerod running on mainnet on default settings: utils/python-rpc/console 18081 You'll get this output: Variable 'daemon' connected to daemon ...


3

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 create a linkage by exposing the likely true output in a ring (thus also exposing the likely decoys), based purely on the timing of the transactions. Also, ...


3

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 password. The description and master password are hashed, generating a pseudo-random seed which is then formatted as a password or wallet keys/address. There is no ...


2

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 decoding, transaction ID generation, and other goodies. Speed improvements and Monero Core library wrappers are planned for offloading calculations to same code at ...


2

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 get_transactions with the returned tx_hashes from get_block.


2

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 Monero code base) and compiled into the Python library.


2

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-rpc, so it should work. The password file is always written to the same directory where monero-wallet-rpc was started. The filename is always monero-wallet-rpc....


1

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, the python module version number (0.98) is not the lmdb version number. The python module you reference actually uses lmdb version 0.9.24. Therefore, if you ...


1

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-wide from packages that come with your OS. Then you may disregard all lines referencing to .venv


1

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/jtgrassie/pyrx I have only tested on *nix platforms though I have had reports from others who have used on Windows also. Your errors are stemming from your ...


1

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 pool. A worker process which mines jobs. Line 88 (which is in the 1st process) has q.put(job), which puts a received job in a queue and line 111 (which is the ...


1

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 that shows making binary requests using Python here. Quoting the requests library example: import requests data = 'test data' res = requests.post(url='http://...


1

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 + 27742317777372353535851937790883648493 def reverse_byte_order(hex): if(len(hex)%2==1): hex = '0' + hex return "".join(reversed([hex[i:i+2] for i in range(0, len(hex), 2)])) def ...


1

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 something like: url = "http://localhost:18082/json_rpc" headers = {'content-type': 'application/json'} rpc_input = { "method": "create_wallet", "params"...


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