hi @pallas, could you take some time to looking this source, https://github.com/piratelinux/cwalle
and make it work for Cryptonite?
Currently, it can write out the priv key but i'm not sure it's correct, and also the procedure to convert from public key to address look like wrong too since it ontly work for bitcoin.
i can offer 10k XCN for this.
Thanks.
Did you use the right prefixes?
from chainparams.cpp:
base58Prefixes[PUBKEY_ADDRESS] = (list_of(28))....
base58Prefixes[SCRIPT_ADDRESS] = (list_of(5))....
base58Prefixes[SECRET_KEY] = (list_of(128))....
i'm not writing this code and also not i'm not an c++ dev, so i;m have no idea about this.
I might 60% understand what it trying to do from my c# dev exp.