Request: wownero-python / offline address fixes

Hello, the library at lza_menace/wownero-python: Python lib for wow - wownero-python - WowGit! needs some TLC, and im unable to register to make an issue due to some 500 error :frowning:

Specifically the offline backend , used to create sub addresses. If you attempt to generate a subaddress doing the following you’ll get an error: nacl.exceptions.RuntimeError: Unexpected library error

from monero.wallet import Wallet
from monero.backends.offline import OfflineWallet
svk = "secret_view_key"
pa = "primary_address"
w = Wallet(OfflineWallet(pa, view_key=svk))
w.get_address(0,1)

To make sure this was not an ‘out of date issue’ i used the latest monero-python and fixed a few errors to make it work for wownero (ignore length / netbyte values) and again arrive at the same error. Which seems to stem from here:

If anyone knows how to ‘create wownero addresses offline in python, using viewkey + primary address + cryptographic magic’) can you pls help - i am told that you will be tipped for your time and an added benefit will be WOWnero reinstated @ MajesticBank.sc (currently disabled because of this issue)

Thank you for reading :+1:

hi @plowsof thanks for looking in to this.

I am not sure what would trigger the error, but I am planning to rebase Wownero to Monero once v0.19 is tagged some time this month and will keep major changes to a minimum. Hopefully this would help with compatibility.

2 Likes