1

What is the best Python library for hashing Cryptonight hashes and building mining software?

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.

  • To be clear, this library is not "fully" Python, the crypto stuff is in C/C++ (lifted straight from the Monero code base) and compiled into the Python library. Also, it is up-to-date, as it has the current CNv2 implemented, so the remark of not being updated for months is misleading. – jtgrassie Jan 30 at 12:43
  • I was waiting for this. Answer updated, thanks. – cialu Jan 30 at 15:34
  • My apologies, it actually doesn't support CNv2. I created a PR for it though. – jtgrassie Feb 8 at 2:33
  • Anyway, the question is about CN and not CNv2. – cialu Feb 8 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.